diff options
Diffstat (limited to 'src/php_snuffleupagus.h')
| -rw-r--r-- | src/php_snuffleupagus.h | 17 |
1 files changed, 16 insertions, 1 deletions
diff --git a/src/php_snuffleupagus.h b/src/php_snuffleupagus.h index 8dc7ccb..3eeb9db 100644 --- a/src/php_snuffleupagus.h +++ b/src/php_snuffleupagus.h | |||
| @@ -1,7 +1,7 @@ | |||
| 1 | #ifndef PHP_SNUFFLEUPAGUS_H | 1 | #ifndef PHP_SNUFFLEUPAGUS_H |
| 2 | #define PHP_SNUFFLEUPAGUS_H | 2 | #define PHP_SNUFFLEUPAGUS_H |
| 3 | 3 | ||
| 4 | #define PHP_SNUFFLEUPAGUS_VERSION "0.8.0" | 4 | #define PHP_SNUFFLEUPAGUS_VERSION "0.8.2" |
| 5 | #define PHP_SNUFFLEUPAGUS_EXTNAME "snuffleupagus" | 5 | #define PHP_SNUFFLEUPAGUS_EXTNAME "snuffleupagus" |
| 6 | #define PHP_SNUFFLEUPAGUS_AUTHOR "NBS System & Julien (jvoisin) Voisin & SektionEins GmbH" | 6 | #define PHP_SNUFFLEUPAGUS_AUTHOR "NBS System & Julien (jvoisin) Voisin & SektionEins GmbH" |
| 7 | #define PHP_SNUFFLEUPAGUS_URL "https://github.com/jvoisin/snuffleupagus" | 7 | #define PHP_SNUFFLEUPAGUS_URL "https://github.com/jvoisin/snuffleupagus" |
| @@ -11,6 +11,12 @@ | |||
| 11 | #include "config.h" | 11 | #include "config.h" |
| 12 | #endif | 12 | #endif |
| 13 | 13 | ||
| 14 | #ifdef PHP_WIN32 | ||
| 15 | #include "win32/glob.h" | ||
| 16 | #else | ||
| 17 | #include <glob.h> | ||
| 18 | #endif | ||
| 19 | |||
| 14 | #include <errno.h> | 20 | #include <errno.h> |
| 15 | #include <fcntl.h> | 21 | #include <fcntl.h> |
| 16 | #include <inttypes.h> | 22 | #include <inttypes.h> |
| @@ -32,6 +38,7 @@ | |||
| 32 | #include "ext/standard/head.h" | 38 | #include "ext/standard/head.h" |
| 33 | #include "ext/standard/info.h" | 39 | #include "ext/standard/info.h" |
| 34 | #include "ext/standard/url.h" | 40 | #include "ext/standard/url.h" |
| 41 | #include "ext/standard/php_string.h" | ||
| 35 | #include "ext/standard/php_var.h" | 42 | #include "ext/standard/php_var.h" |
| 36 | #include "ext/session/php_session.h" | 43 | #include "ext/session/php_session.h" |
| 37 | #include "php.h" | 44 | #include "php.h" |
| @@ -41,6 +48,7 @@ | |||
| 41 | #include "zend_extensions.h" | 48 | #include "zend_extensions.h" |
| 42 | #include "zend_hash.h" | 49 | #include "zend_hash.h" |
| 43 | #include "zend_string.h" | 50 | #include "zend_string.h" |
| 51 | #include "zend_smart_str.h" | ||
| 44 | #include "zend_types.h" | 52 | #include "zend_types.h" |
| 45 | #include "zend_vm.h" | 53 | #include "zend_vm.h" |
| 46 | 54 | ||
| @@ -148,6 +156,13 @@ u_long execution_depth; | |||
| 148 | HashTable *disabled_functions_hook; | 156 | HashTable *disabled_functions_hook; |
| 149 | HashTable *sp_internal_functions_hook; | 157 | HashTable *sp_internal_functions_hook; |
| 150 | HashTable *sp_eval_blacklist_functions_hook; | 158 | HashTable *sp_eval_blacklist_functions_hook; |
| 159 | |||
| 160 | #if PHP_VERSION_ID >= 80000 | ||
| 161 | const zend_string* eval_source_string; | ||
| 162 | #else | ||
| 163 | const zval* eval_source_string; | ||
| 164 | #endif | ||
| 165 | |||
| 151 | ZEND_END_MODULE_GLOBALS(snuffleupagus) | 166 | ZEND_END_MODULE_GLOBALS(snuffleupagus) |
| 152 | 167 | ||
| 153 | ZEND_EXTERN_MODULE_GLOBALS(snuffleupagus) | 168 | ZEND_EXTERN_MODULE_GLOBALS(snuffleupagus) |
