Re: what happened to that new isset() like language
| From: | Marcus Boerger | Date: | Fri, 09 Jul 2004 23:54:50 +0000 |
| Subject: | Re: what happened to that new isset() like language | ||
| References: | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-11051@lists.php.net to get a copy of this message | ||
Hello Robert,
coalesce would be:
"coalesce" "(" <var> ( "," <var> )* [ ","
<expr> ] ")"
and would also require heay engine patching. I am speaking of a
really major change here, i already looked into what it would
need month's ago. Since the operator i proposed is different from
the coalesce functionality many sql developers know i see that as
a definitive no. But again if you give the engine a try :-)
mfG
marcus
Friday, July 9, 2004, 5:25:22 PM, you wrote:
> On Fri, 2004-07-09 at 02:49, Marcus Boerger wrote:
>> Hello Daniel,
>>
>> Friday, July 9, 2004, 4:33:42 AM, you wrote:
>>
>> > Why not just call it the issetor, or the setor operator?
>>
>> That's the point here. How shall we call the new operator.
> I'm +1 on the "coalesce" name since I even think having the funciton
> support multiple parameters and return the first set/not null value
> would provide more utility to developers.
> Cheers,
> Rob.
--
Best regards,
Marcus mailto:helly@php.net