]> granicus.if.org Git - php/commitdiff
Need to use ELS_FETCH() here.
authorAndrei Zmievski <andrei@php.net>
Mon, 14 May 2001 14:16:44 +0000 (14:16 +0000)
committerAndrei Zmievski <andrei@php.net>
Mon, 14 May 2001 14:16:44 +0000 (14:16 +0000)
ext/standard/basic_functions.c

index 9c827fbf21706a6b3eeb57c876e52d6806af68f5..2d25c944e00763a8683079220da95d8949a133c9 100644 (file)
@@ -1783,6 +1783,7 @@ void user_tick_function_dtor(user_tick_function_entry *tick_function_entry)
 static int user_shutdown_function_call(php_shutdown_function_entry *shutdown_function_entry)
 {
        zval retval;
+       ELS_FETCH();
 
        if (call_user_function(EG(function_table), NULL, shutdown_function_entry->arguments[0], &retval, shutdown_function_entry->arg_count-1, shutdown_function_entry->arguments+1)==SUCCESS) {
                zval_dtor(&retval);
@@ -1797,6 +1798,7 @@ static void user_tick_function_call(user_tick_function_entry *tick_fe)
 {
        zval retval;
        zval *function = tick_fe->arguments[0];
+       ELS_FETCH();
 
        if (call_user_function(EG(function_table), NULL, function, &retval,
                                                   tick_fe->arg_count - 1, tick_fe->arguments + 1) == SUCCESS) {