mirror of
https://github.com/php/php-src.git
synced 2026-04-28 10:43:30 +02:00
- MFH Fix bug in example code found by Surf Chen
This commit is contained in:
@@ -857,6 +857,7 @@ int spl_dual_it_call_method(char *method, INTERNAL_FUNCTION_PARAMETERS)
|
||||
func_params[current] = (zval **) p - (arg_count-current);
|
||||
current++;
|
||||
}
|
||||
arg_count = current; /* restore */
|
||||
|
||||
if (call_user_function_ex(EG(function_table), NULL, &func, &retval_ptr, arg_count, func_params, 0, NULL TSRMLS_CC) == SUCCESS && retval_ptr) {
|
||||
RETURN_ZVAL(retval_ptr, 0, 1);
|
||||
|
||||
Reference in New Issue
Block a user