com php-src: Fix compound assign to static property: Zend/zend_compile.c
| From: | Nikita Popov | Date: | Sat, 19 Jul 2014 11:03:58 +0000 |
| Subject: | com php-src: Fix compound assign to static property: Zend/zend_compile.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-80988@lists.php.net to get a copy of this message | ||
Commit: 446cf29ab792b7f884a366b419f7f5cb7611acfe
Author: Nikita Popov <nikic@php.net> Sat, 19 Jul 2014 13:03:58 +0200
Parents: 09309a543f154dd1c755b4e8fe692fe0dbf4a843
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=446cf29ab792b7f884a366b419f7f5cb7611acfe
Log:
Fix compound assign to static property
Changed paths:
M Zend/zend_compile.c
Diff:
diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c
index d54ee6e..f634eb7 100644
--- a/Zend/zend_compile.c
+++ b/Zend/zend_compile.c
@@ -4999,6 +4999,7 @@ void zend_compile_compound_assign(znode *result, zend_ast *ast TSRMLS_DC) {
switch (var_ast->kind) {
case ZEND_AST_VAR:
+ case ZEND_AST_STATIC_PROP:
zend_compile_var(&var_node, var_ast, BP_VAR_RW TSRMLS_CC);
emit_op(result, opcode, &var_node, &expr_node TSRMLS_CC);
return;