com php-src: Fixed ext/opcache/tests/bug70207.phpt: ext/opcache/Optimizer/zend_optimizer.c
| From: | Dmitry Stogov | Date: | Thu, 30 Jun 2016 18:50:57 +0000 |
| Subject: | com php-src: Fixed ext/opcache/tests/bug70207.phpt: ext/opcache/Optimizer/zend_optimizer.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-92724@lists.php.net to get a copy of this message | ||
Commit: f2e4fc307b64ec7a3ef6cfa6bf3b49176277bd5f
Author: Dmitry Stogov <dmitry@zend.com> Thu, 30 Jun 2016 21:50:57 +0300
Parents: 1a14533806aba1eed7cd2eeb85f4d3f10c41cd96
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=f2e4fc307b64ec7a3ef6cfa6bf3b49176277bd5f
Log:
Fixed ext/opcache/tests/bug70207.phpt
Bugs:
https://bugs.php.net/70207
Changed paths:
M ext/opcache/Optimizer/zend_optimizer.c
Diff:
diff --git a/ext/opcache/Optimizer/zend_optimizer.c b/ext/opcache/Optimizer/zend_optimizer.c
index f1c62dd..113a1a5 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: