Marc Richards wrote: > They won't. Not until they hear about it or read about it. But that is > true whether it is a function or and operator. Making it a function > won't make everyone magically cogniscent of it. Of course it will be > important to make it easy to search for information about it on PHP.net, > which includes allowing people to search for ?: and providing a courtesy > link from the ternary operator section.
And if they read about it they start searching. And many people know how to search for http://php.net/functionname, which works well, but searching for http://php.net/?: would result in the index.php. So the user needs to search through the manual and without knowing the name of the operator it's hard for to seperate between "? :" and "?:". I'd like the ?:-Syntax very much but I'm not sure wether it realy fits into PHP - PHP is not Perl ;-) johannes -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php