Re: Undefined variables undefined order

From: Date: Tue, 12 May 2015 05:44:43 +0000
Subject: Re: Undefined variables undefined order
References: 1 2 3 4  Groups: php.internals 
Request: Send a blank email to internals+get-86165@lists.php.net to get a copy of this message
> On May 11, 2015, at 9:05 PM, Sara Golemon <pollita@php.net> wrote: > >> On Mon, May 11, 2015 at 5:12 PM, Matt Wilmas <php_lists@realplain.com> wrote: >> ----- Original Message ----- >> From: "Stanislav Malyshev" <smalyshev@gmail.com> >> Sent: Monday, May 11, 2015 >> >>>> argument. I'd like to propose making the order of evaluation defined >>>> by splitting this into separate statements: >>> >>> What is the purpose of this? I.e. why is it important that these notices >>> would be produced in certain order? >> >> Logic, consistency, "polish," etc. :-) > Exactly this. :) > > It's just my CDO kicking in. It's not necessary for the language to > function. Heck, HHVM already matches PHP 5.1-7.0's out-of-order > behavior, so fixing PHP only creates double work for me. I just look > at these error messages and twitch uncomfortably. 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. Andi > > -Sara > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php >

« previous php.internals (#86165) next »