Re: PHP 7.1 - Address PHPSadness #28?

From: Date: Sat, 19 Sep 2015 12:15:41 +0000
Subject: Re: PHP 7.1 - Address PHPSadness #28?
References: 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20  Groups: php.internals 
Request: Send a blank email to internals+get-88372@lists.php.net to get a copy of this message
On 18 September 2015 23:16:51 BST, Lester Caine <lester@lsces.co.uk> wrote: > I don't >see any 'completely new type of code' ... only a different frame in >which the variables are held. It's "completely new" because you can't do it right now, that's all. I'm just trying to separate two different justifications for requesting this feature: some people are saying their current code is buggy because of some lack in the language, and that "thousands and millions of devs" encounter this; others, such as yourself, are saying that they would like to write code in a certain style, which the language doesn't currently allow. I have still seen absolutely no evidence of the former, most bugs apparently being due to poor adoption of array_key_exists; I am reasonably convinced by your use case being valid, even if it's not a style I'd choose. Every time you start talking about avoiding notices, and existing code, I therefore get confused - there is no code using exists() in order for it to be buggy! Regards, -- Rowan Collins [IMSoP]

« previous php.internals (#88372) next »