Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
dreamsxin committed Nov 6, 2019
1 parent cbd38e8 commit b9015ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion kernels/ZendEngine3/fcall.c
Expand Up @@ -474,7 +474,7 @@ int zephir_call_zval_func_aparams(zval *return_value_ptr, zval *func_name,
status = zephir_call_user_function(NULL, NULL, zephir_fcall_function, func_name, rvp, cache_entry, cache_slot, param_count, params);

if (status == FAILURE && !EG(exception)) {
zephir_throw_exception_format(spl_ce_RuntimeException, "Call to undefined function %s()", Z_TYPE_P(func_name) ? Z_STRVAL_P(func_name) : "undefined");
zephir_throw_exception_format(spl_ce_RuntimeException, "Call to undefined function %s()", Z_TYPE_P(func_name) == IS_STRING ? Z_STRVAL_P(func_name) : "undefined");
} else if (EG(exception)) {
status = FAILURE;
}
Expand Down

0 comments on commit b9015ab

Please sign in to comment.