Re: OPcache optimizer improvement in PHP-5.5?
| From: | Johannes Schlüter | Date: | Wed, 10 Apr 2013 13:32:58 +0000 |
| Subject: | Re: OPcache optimizer improvement in PHP-5.5? | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-67031@lists.php.net to get a copy of this message | ||
On Wed, 2013-04-10 at 15:57 +0400, Dmitry Stogov wrote:
> The attached patch demonstrates it and adds per script constants
> substitution explained in the following script
>
Will this case work properly:
a.php:
<?php
$flag = true;
include('c.php');
?>
b.php:
<?php
$flag = false;
include('c.php');
?>
c.php:
<?php
if ($flag) {
define('C', 1);
} else {
define('C', 2);
}
echo C;
?>
and then request #1 to a.php and request #2 to b.php?
johannes