Re: Re: PHP 5.1 (Or How to break tousands of apps out there)

From: Date: Sat, 26 Nov 2005 04:27:54 +0000
Subject: Re: Re: PHP 5.1 (Or How to break tousands of apps out there)
References: 1 2 3 4 5 6 7 8 9 10  Groups: php.internals 
Request: Send a blank email to internals+get-20484@lists.php.net to get a copy of this message
Marcus Boerger schrieb: > Hello Jessie, > > that's only one case,go with consts. now try > $x = $y ? foo:bar:baz:stupid; That's nonsense. If I as a programmer cannot comprehend what it should mean by looking at it then I shouldn't expect that from the language. To me, this looks like the constant stupid in the class baz of the subnamespace (?) bar of the namespace foo and the statement lacks the third parameter. Or well, should it...? The heck, let's put brackets. Ah! Now it's clear. And this is the moment where I would expect the language to understand it, too. OLLi

« previous php.internals (#20484) next »