On Fri, 16 Apr 2004, Marcus Boerger wrote:

> [RFC] ifsetor operator
>
> Hello List,
>
>   i also agrre that an internal function is much better. And here is
> it as such an internal function (that does not result in an expensive
> function call).
>
> Synopsis: "ifsetor" "(" value "," default ")"

<snip>

I don't like this name though, the rest sounds ok.

Other possibilities:

        ifset
        default

I don't like a new short-cut operator either; it doesn't fit in the
spirit of PHP IMO.

regards,
Derick

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

Reply via email to