Re: what happened to that new isset() like language
| From: | Arpad Ray | Date: | Sat, 29 Oct 2005 23:33:23 +0000 |
| Subject: | Re: what happened to that new isset() like language | ||
| References: | 1 2 3 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-19838@lists.php.net to get a copy of this message | ||
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().