summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2015-03-04 10:55:14 +0800
committerXinchen Hui <laruence@php.net>2015-03-04 10:55:14 +0800
commit2fa4d1d88bfdf0186cf448294cfaa45636edfdb3 (patch)
treebc22eaed8daa71defd7dd5c9ec57c5b5ab333c15
parentc7b7cc4c168cbf196a665745e4faa596225353cf (diff)
downloadphp-git-2fa4d1d88bfdf0186cf448294cfaa45636edfdb3.tar.gz
Fixed wrong type used
-rw-r--r--Zend/zend_compile.c2
1 files changed, 1 insertions, 1 deletions
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);
}