Sebastian wrote:
> But what about the use of ? as an infix operator? that wouldn't work
> out so well because of the ternary ?:
>

Right, which is why I didn't suggest that.

I think Greg's idea of first-existing: is an interesting one (and by the sound 
of it the most robust).

Personally I'd like coalesce() because of the SQL link, but firstset() also 
appeals to me, being pretty self-explanatory and strongly reminiscent of 
isset().

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

Reply via email to