From: Nikita Popov Date: Sat, 19 Jul 2014 11:03:58 +0000 (+0200) Subject: Fix compound assign to static property X-Git-Tag: POST_AST_MERGE^2~123 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=446cf29ab792b7f884a366b419f7f5cb7611acfe;p=php Fix compound assign to static property --- diff --git a/Zend/zend_compile.c b/Zend/zend_compile.c index d54ee6e26b..f634eb7b37 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;