diff options
Diffstat (limited to 'src/sp_utils.c')
| -rw-r--r-- | src/sp_utils.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sp_utils.c b/src/sp_utils.c index eeebcc4..82714c5 100644 --- a/src/sp_utils.c +++ b/src/sp_utils.c | |||
| @@ -395,7 +395,7 @@ bool sp_match_array_value(const zval* arr, const zend_string* to_match, const sp | |||
| 395 | return false; | 395 | return false; |
| 396 | } | 396 | } |
| 397 | 397 | ||
| 398 | bool /* success */ _hook_function(const char* original_name, HashTable* hook_table, zif_handler new_function) { | 398 | static bool /* success */ _hook_function(const char* original_name, HashTable* hook_table, zif_handler new_function) { |
| 399 | zend_function* func; | 399 | zend_function* func; |
| 400 | if ((func = zend_hash_str_find_ptr(CG(function_table), VAR_AND_LEN(original_name)))) { | 400 | if ((func = zend_hash_str_find_ptr(CG(function_table), VAR_AND_LEN(original_name)))) { |
| 401 | if (func->type != ZEND_INTERNAL_FUNCTION) { | 401 | if (func->type != ZEND_INTERNAL_FUNCTION) { |
