[prev in list] [next in list] [prev in thread] [next in thread] 

List:       php-cvs
Subject:    [PHP-CVS] com php-src: Fixed wrong condition: =?UTF-8?Q?ext/opcache/Optimizer/pass?= =?UTF-8?Q?=31=5
From:       Dmitry Stogov <dmitry () php ! net>
Date:       2017-05-30 21:40:33
Message-ID: php-mail-4ab8b26ebea5e3b03e6fd40f3ad9f9461038277255 () git ! php ! net
[Download RAW message or body]

Commit:    77cbf8a6578c8de42a236337ee1d3071a6178f5e
Author:    Dmitry Stogov <dmitry@zend.com>         Wed, 31 May 2017 00:40:33 +0300
Parents:   dc7e53690faf7cc694f1278e43314414080d75f6
Branches:  PHP-7.0 PHP-7.1 master

Link:       http://git.php.net/?p=php-src.git;a=commitdiff;h=77cbf8a6578c8de42a236337ee1d3071a6178f5e

Log:
Fixed wrong condition

Changed paths:
  M  ext/opcache/Optimizer/pass1_5.c


Diff:
diff --git a/ext/opcache/Optimizer/pass1_5.c b/ext/opcache/Optimizer/pass1_5.c
index bf721c2..b29e90c 100644
--- a/ext/opcache/Optimizer/pass1_5.c
+++ b/ext/opcache/Optimizer/pass1_5.c
@@ -485,7 +485,7 @@ void zend_optimizer_pass1(zend_op_array *op_array, zend_optimizer_ctx *ctx)
 
 					zend_string_release(lc_name);
 					if (!m) {
-						if (!PG(enable_dl)) {
+						if (PG(enable_dl)) {
 							break;
 						} else {
 							ZVAL_FALSE(&t);


--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic