From: Xinchen Hui Date: Wed, 4 Mar 2015 02:55:14 +0000 (+0800) Subject: Fixed wrong type used X-Git-Tag: PRE_PHP7_EREG_MYSQL_REMOVALS~15 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2fa4d1d88bfdf0186cf448294cfaa45636edfdb3;p=php Fixed wrong type used --- 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); }