Re: Wired constant expression syntax and bug
| From: | Bob Weinand | Date: | Wed, 02 Jul 2014 10:43:01 +0000 |
| Subject: | Re: Wired constant expression syntax and bug | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-75164@lists.php.net to get a copy of this message | ||
Am 30.6.2014 um 21:32 schrieb Dmitry Stogov <dmitry@zend.com>:
> In case you like to keep this new syntax in PHP-5.6 at least please cover
> it with tests.
I added two tests now,
one of them is failing: the bug with the self-referencing constants Nikita showed here.
I still have no idea how to fix it in a way to satisfy opcache and the self-references detector,
except copying everything again (at every subnode)... Which is not the way to go… I hope?
Any idea?
Bob