diff options
Diffstat (limited to 'ext/spl/spl_engine.h')
-rw-r--r-- | ext/spl/spl_engine.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/spl/spl_engine.h b/ext/spl/spl_engine.h index 5666033d75..d4f30e007b 100644 --- a/ext/spl/spl_engine.h +++ b/ext/spl/spl_engine.h @@ -34,7 +34,7 @@ static inline int spl_instantiate_arg_ex1(zend_class_entry *pce, zval *retval, z { zend_function *func = pce->constructor; spl_instantiate(pce, retval); - + zend_call_method(retval, pce, &func, func->common.function_name->val, func->common.function_name->len, NULL, 1, arg1, NULL); return 0; } @@ -45,7 +45,7 @@ static inline int spl_instantiate_arg_ex2(zend_class_entry *pce, zval *retval, z { zend_function *func = pce->constructor; spl_instantiate(pce, retval); - + zend_call_method(retval, pce, &func, func->common.function_name->val, func->common.function_name->len, NULL, 2, arg1, arg2); return 0; } |