com php-src: Updated NEWS: NEWS ext/opcache/Optimizer/zend_in ference.c
| From: | Xinchen Hui | Date: | Sun, 17 Dec 2017 01:42:01 +0000 |
| Subject: | com php-src: Updated NEWS: NEWS ext/opcache/Optimizer/zend_in ference.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-100624@lists.php.net to get a copy of this message | ||
Commit: a3b5b93ba9228c140c82828d7ea2204eb494adf4
Author: Xinchen Hui <laruence@gmail.com> Sun, 17 Dec 2017 09:42:01 +0800
Parents: 340255a69433d6af44ce484af7ba686528f2b9e1
Branches: PHP-7.2 master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=a3b5b93ba9228c140c82828d7ea2204eb494adf4
Log:
Updated NEWS
Changed paths:
M NEWS
M ext/opcache/Optimizer/zend_inference.c
Diff:
diff --git a/NEWS b/NEWS
index 28439fb..2a8a393 100644
--- a/NEWS
+++ b/NEWS
@@ -8,7 +8,7 @@ PHP NEWS
- Opcache:
. Fixed bug #75687 (var 8 (TMP) has array key type but not value type).
- (Laruence)
+ (Nikita, Laruence)
. Fixed bug #75698 (Using @ crashes php7.2-fpm).. (Nikita)
- PGSQL:
diff --git a/ext/opcache/Optimizer/zend_inference.c b/ext/opcache/Optimizer/zend_inference.c
index c049ca3..010d608 100644
--- a/ext/opcache/Optimizer/zend_inference.c
+++ b/ext/opcache/Optimizer/zend_inference.c
@@ -2158,7 +2158,7 @@ static int zend_update_type_info(const zend_op_array *op_array,
* unreachable code. Propagate the empty result early, so that that the following
* code may assume that operands have at least one type. */
if (!(t1 & (MAY_BE_ANY|MAY_BE_UNDEF|MAY_BE_CLASS|MAY_BE_ERROR))
- || !(t2 & (MAY_BE_ANY|MAY_BE_UNDEF|MAY_BE_CLASS|MAY_BE_ERROR))) {
+ || !(t2 & (MAY_BE_ANY|MAY_BE_UNDEF|MAY_BE_CLASS|MAY_BE_ERROR))) {
tmp = 0;
if (ssa_ops[i].result_def >= 0) {
UPDATE_SSA_TYPE(tmp, ssa_ops[i].result_def);