diff options
-rw-r--r-- | Zend/zend_compile.c | 2 |
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); } |