#ifndef PHP_PSI_H
#define PHP_PSI_H
+#include "php.h"
+
extern zend_module_entry psi_module_entry;
#define phpext_psi_ptr &psi_module_entry
if (zv) {
zo = Z_OBJ_P(zv);
}
+ if (!zo) {
+ return NULL;
+ }
return (void *) (((char *) zo) - zo->handlers->offset);
}
ZEND_BEGIN_MODULE_GLOBALS(psi)
char *engine;
char *directory;
+ char *search_path;
+ struct psi_context_ops *ops;
struct psi_context *context;
+ struct {
+ struct psi_plist *decls;
+ struct psi_plist *vars;
+ } blacklist;
ZEND_END_MODULE_GLOBALS(psi);
ZEND_EXTERN_MODULE_GLOBALS(psi);