We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d977a7e commit 2e07b63Copy full SHA for 2e07b63
Zend/zend_system_id.c
@@ -55,15 +55,19 @@ void zend_startup_system_id(void)
55
zend_system_id[0] = '\0';
56
}
57
58
-#define ZEND_HOOK_COMPILE_FILE (1 << 0)
59
-#define ZEND_HOOK_EXECUTE_EX (1 << 1)
60
-#define ZEND_HOOK_EXECUTE_INTERNAL (1 << 2)
+#define ZEND_HOOK_AST_PROCESS (1 << 0)
+#define ZEND_HOOK_COMPILE_FILE (1 << 1)
+#define ZEND_HOOK_EXECUTE_EX (1 << 2)
61
+#define ZEND_HOOK_EXECUTE_INTERNAL (1 << 3)
62
63
void zend_finalize_system_id(void)
64
{
65
unsigned char digest[16];
66
zend_long hooks = 0;
67
68
+ if (zend_ast_process) {
69
+ hooks |= ZEND_HOOK_AST_PROCESS;
70
+ }
71
if (zend_compile_file != compile_file) {
72
hooks |= ZEND_HOOK_COMPILE_FILE;
73
0 commit comments