Re: what happened to that new isset() like language
| From: | Greg Beaver | Date: | Sat, 29 Oct 2005 23:22:00 +0000 |
| Subject: | Re: what happened to that new isset() like language | ||
| References: | 1 2 3 4 5 6 7 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-19837@lists.php.net to get a copy of this message | ||
Sebastian wrote:
> Given that // is not acceptable, as others sarcastically reminded me,
> and that this introduces new sytax, I think it might be best just to
> add more functions. I don't think something like
>
>
>>$d = first-existing: $a, $b, $c;
>
>
> is any better than first_existing($a, $b, $c), and the former happens
> at the expensive of inconsistency and a higher learning curve.
au contraire. The first happens without a name collision with any
user-space functions.
Greg