Justin Hannus wrote:
Whats wrong with defining a user-level function?

actualy in this special case i have been whishing for an operator for ages, maybe a modification of the good old ternary:

$foo = ?$bar : "default";

or

$foo ?= "default";

;)

--
Hartmut Holzgraefe  <[EMAIL PROTECTED]>

--
PHP Internals - PHP Runtime Development Mailing List
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to