com php-src: Fixed wrong type used: Zend/zend_compile.c
| From: | Xinchen Hui | Date: | Wed, 04 Mar 2015 02:55:14 +0000 |
| Subject: | com php-src: Fixed wrong type used: Zend/zend_compile.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-85189@lists.php.net to get a copy of this message | ||
Commit: 2fa4d1d88bfdf0186cf448294cfaa45636edfdb3
Author: Xinchen Hui <laruence@php.net> Wed, 4 Mar 2015 10:55:14 +0800
Parents: c7b7cc4c168cbf196a665745e4faa596225353cf
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=2fa4d1d88bfdf0186cf448294cfaa45636edfdb3
Log:
Fixed wrong type used
Changed paths:
M Zend/zend_compile.c
Diff:
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c
index ae23d83..bb0ab25 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);
}