This commit is contained in:
hailin 2025-07-31 15:29:08 +08:00
parent 3a6ea14a56
commit 667219526f
1 changed files with 4 additions and 2 deletions

View File

@ -11,11 +11,13 @@ extern zend_module_entry dec_interceptor_module_entry;
#define phpext_dec_interceptor_ptr &dec_interceptor_module_entry
extern zend_op_array *(*prev_compile_file)(zend_file_handle *file_handle, int type);
extern zend_op_array *(*prev_compile_string)(zval *source_string, const char *filename);
extern zend_op_array *(*prev_compile_string)(zend_string *source_string, const char *filename);
extern void (*prev_execute_ex)(zend_execute_data *execute_data);
extern zend_op_array *(*prev_eval_stringl)(zend_string *code, const char *filename, int handle);
zend_op_array *hook_compile_file(zend_file_handle *file_handle, int type);
zend_op_array *hook_compile_string(zval *source_string, const char *filename);
zend_op_array *hook_compile_string(zend_string *source_string, const char *filename);
zend_op_array *hook_eval_stringl(zend_string *code, const char *filename, int handle);
void hook_execute_ex(zend_execute_data *execute_data);
PHP_RINIT_FUNCTION(dec_interceptor);