Monday 29 September 2008 18:35:45 Stefan Walk napisał(a): > On Monday 29 September 2008 18:05:48 Arvids Godjuks wrote: > > So as prevoius speaker suggested, and I personaly got to conclusion in > > other thread that ":" is ideal. Short, isn't taken. > > $a = $b?A:B:C:D;
Will _you_ write such code? No. Will anybody from this list write such code? No. Will any good PHP developer write such code? No. So why do you think that's a problem? It would be a problem only for people writing such code, and I think that such people will be able to do something stupid with every syntax. PS. Somebody might also write $a = $b ? $c ? true : false ? true : false : true; Does it mean, that ternary is bad? Of course not. PS2. *I* *personally* like :: much more than : and I think, that conflicting namespaced functions and class functions should just result in an error, as has Vesselin Kenashkov suggested. -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php