From 2fa4d1d88bfdf0186cf448294cfaa45636edfdb3 Mon Sep 17 00:00:00 2001 From: Xinchen Hui Date: Wed, 4 Mar 2015 10:55:14 +0800 Subject: [PATCH] Fixed wrong type used --- Zend/zend_compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index ae23d83f2a..bb0ab25b59 100644 --- a/Zend/zend_compile.c +++ b/Zend/zend_compile.c @@ -3003,7 +3003,7 @@ void zend_compile_call(znode *result, zend_ast *ast, uint32_t type) /* {{{ */ zend_bool runtime_resolution = zend_compile_function_name(&name_node, name_ast); if (runtime_resolution) { if (zend_string_equals_literal_ci(zend_ast_get_str(name_ast), "assert")) { - zend_compile_assert(result, args_ast, Z_STR(name_node.u.constant), NULL); + zend_compile_assert(result, zend_ast_get_list(args_ast), Z_STR(name_node.u.constant), NULL); } else { zend_compile_ns_call(result, &name_node, args_ast); } -- 2.40.0