diff options
Diffstat (limited to 'src/sp_utils.c')
| -rw-r--r-- | src/sp_utils.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/sp_utils.c b/src/sp_utils.c index acac310..1231bee 100644 --- a/src/sp_utils.c +++ b/src/sp_utils.c | |||
| @@ -344,7 +344,9 @@ int hook_function(const char* original_name, HashTable* hook_table, | |||
| 344 | } | 344 | } |
| 345 | } | 345 | } |
| 346 | 346 | ||
| 347 | #if PHP_VERSION_ID < 80000 | ||
| 347 | CG(compiler_options) |= ZEND_COMPILE_NO_BUILTIN_STRLEN; | 348 | CG(compiler_options) |= ZEND_COMPILE_NO_BUILTIN_STRLEN; |
| 349 | #endif | ||
| 348 | 350 | ||
| 349 | if (0 == strncmp(original_name, "mb_", 3) && !CG(multibyte)) { | 351 | if (0 == strncmp(original_name, "mb_", 3) && !CG(multibyte)) { |
| 350 | if (zend_hash_str_find(CG(function_table), | 352 | if (zend_hash_str_find(CG(function_table), |
