diff options
Diffstat (limited to 'src/sp_sloppy.c')
| -rw-r--r-- | src/sp_sloppy.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/sp_sloppy.c b/src/sp_sloppy.c index ff2d644..fca4be5 100644 --- a/src/sp_sloppy.c +++ b/src/sp_sloppy.c | |||
| @@ -48,7 +48,7 @@ static void array_handler(INTERNAL_FUNCTION_PARAMETERS, const char* name, | |||
| 48 | const char* spec) { | 48 | const char* spec) { |
| 49 | zif_handler handler; | 49 | zif_handler handler; |
| 50 | zval func_name; | 50 | zval func_name; |
| 51 | zval params[3]; | 51 | zval params[3] = {0}; |
| 52 | zval *value, *array = NULL; | 52 | zval *value, *array = NULL; |
| 53 | zend_bool strict = 0; | 53 | zend_bool strict = 0; |
| 54 | uint32_t nb_params = ZEND_NUM_ARGS(); | 54 | uint32_t nb_params = ZEND_NUM_ARGS(); |
| @@ -69,7 +69,7 @@ static void array_handler(INTERNAL_FUNCTION_PARAMETERS, const char* name, | |||
| 69 | 69 | ||
| 70 | ZVAL_STRING(&func_name, name); | 70 | ZVAL_STRING(&func_name, name); |
| 71 | 71 | ||
| 72 | handler = zend_hash_str_find_ptr(SNUFFLEUPAGUS_G(sp_internal_functions_hook), | 72 | handler = zend_hash_str_find_ptr(SPG(sp_internal_functions_hook), |
| 73 | name, size); | 73 | name, size); |
| 74 | zend_internal_function* func = | 74 | zend_internal_function* func = |
| 75 | zend_hash_str_find_ptr(CG(function_table), name, size); | 75 | zend_hash_str_find_ptr(CG(function_table), name, size); |
