Re: Undefined variables undefined order
| From: | Sara Golemon | Date: | Tue, 12 May 2015 15:59:43 +0000 |
| Subject: | Re: Undefined variables undefined order | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-86169@lists.php.net to get a copy of this message | ||
On Mon, May 11, 2015 at 10:44 PM, Andi Gutmans <andi@zend.com> wrote:
> I don't think it is worth the change. I actually prefer to leave code path
> optimization up to gcc here vs. trying to tell it what to do.
>
This isn't about optimizing code paths, it's about changing undefined
behavior into defined behavior. Either way the compiler is left to
optimize and organize code according to its preferences.
But whatever, this is so not something worth arguing over. If you
like PHP being clowny in this minor edge case, I'm not going to get in
your way.
Cheers,
-Sara