From: Dmitry Stogov Date: Thu, 30 Jun 2016 18:50:57 +0000 (+0300) Subject: Fixed ext/opcache/tests/bug70207.phpt X-Git-Tag: php-7.1.0alpha3~49 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f2e4fc307b64ec7a3ef6cfa6bf3b49176277bd5f;p=php Fixed ext/opcache/tests/bug70207.phpt --- diff --git a/ext/opcache/Optimizer/zend_optimizer.c b/ext/opcache/Optimizer/zend_optimizer.c index f1c62ddd65..113a1a5f83 100644 --- a/ext/opcache/Optimizer/zend_optimizer.c +++ b/ext/opcache/Optimizer/zend_optimizer.c @@ -228,6 +228,7 @@ int zend_optimizer_update_op2_const(zend_op_array *op_array, { switch (opline->opcode) { case ZEND_ASSIGN_REF: + case ZEND_FAST_CALL: zval_dtor(val); return 0; case ZEND_FETCH_CLASS: