But what about the use of ? as an infix operator? that wouldn't work out so well because of the ternary ?:
On 10/29/05, Arpad Ray <[EMAIL PROTECTED]> wrote: > For the assign-if-not-set operator, I like the idea of: > > $foo ?= 'bar'; > > ? implies a condition, and the = immediately following will raise a parse > error in older versions. > > There's admittedly potential for confusion with the ternary operator, but > since that's most commonly used for conditional assignment I think the > association isn't all negative. > > Arpad > > -- > PHP Internals - PHP Runtime Development Mailing List > To unsubscribe, visit: http://www.php.net/unsub.php > > -- ------------- [EMAIL PROTECTED] -- PHP Internals - PHP Runtime Development Mailing List To unsubscribe, visit: http://www.php.net/unsub.php