Re: Wired constant expression syntax and bug
| From: | Dmitry Stogov | Date: | Wed, 02 Jul 2014 13:43:20 +0000 |
| Subject: | Re: Wired constant expression syntax and bug | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-75165@lists.php.net to get a copy of this message | ||
I don't have good ideas out of the box and I probably won't be able to look
into this before next week.
I afraid this feature might be a big problem later, because in last minute
we may miss some cases...
Thanks. Dmitry.
On Wed, Jul 2, 2014 at 2:43 PM, Bob Weinand <bobwei9@hotmail.com> wrote:
> 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
>