summaryrefslogtreecommitdiff
path: root/src/php_snuffleupagus.h
diff options
context:
space:
mode:
authorjvoisin2022-06-27 20:55:20 +0200
committerjvoisin2022-06-27 20:55:20 +0200
commita5f070cd7d982ae96ad72fb79420407574e7682a (patch)
tree998d2eb8483bc15930e023e467b235cbb7eb7340 /src/php_snuffleupagus.h
parent30f1270c26edb6ced469eb302de2fa27befbdbec (diff)
Dump the eval'ed code
Diffstat (limited to 'src/php_snuffleupagus.h')
-rw-r--r--src/php_snuffleupagus.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/php_snuffleupagus.h b/src/php_snuffleupagus.h
index 97fa0e4..a4a0ed4 100644
--- a/src/php_snuffleupagus.h
+++ b/src/php_snuffleupagus.h
@@ -148,6 +148,13 @@ u_long execution_depth;
148HashTable *disabled_functions_hook; 148HashTable *disabled_functions_hook;
149HashTable *sp_internal_functions_hook; 149HashTable *sp_internal_functions_hook;
150HashTable *sp_eval_blacklist_functions_hook; 150HashTable *sp_eval_blacklist_functions_hook;
151
152#if PHP_VERSION_ID >= 80000
153zend_string* eval_source_string;
154#else
155zval* eval_source_string;
156#endif
157
151ZEND_END_MODULE_GLOBALS(snuffleupagus) 158ZEND_END_MODULE_GLOBALS(snuffleupagus)
152 159
153ZEND_EXTERN_MODULE_GLOBALS(snuffleupagus) 160ZEND_EXTERN_MODULE_GLOBALS(snuffleupagus)