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 -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php