On Fri, 16 Apr 2004, Edin Kadribasic wrote:

>
>On Friday, Apr 16, 2004, at 22:25 Europe/Copenhagen, Rasmus Lerdorf 
>wrote:
>
>> On Fri, 16 Apr 2004, Derick Rethans wrote:
>>
>>> On Fri, 16 Apr 2004, Rasmus Lerdorf wrote:
>>>
>>>>> This would lead to
>>>>> $a = isset($b, 'default');
>>>>
>>>> I think this is the sanest suggestion yet.
>>>
>>> But it's already in use... (isset accepts multiple parameters and does
>>> an AND on those).
>>
>> Ah, that won't work then.
>
>How about ifexists()? Someone mentioned this on irc and I think it 
>would work here.

      _  __      _           ____  
     (_)/ _| ___| |___  ___ / /\ \ 
     | | |_ / _ \ / __|/ _ \ |  | |
     | |  _|  __/ \__ \  __/ |  | |
     |_|_|  \___|_|___/\___| |  | |
                            \_\/_/ 
    
    
     ifelse()
     
     
     --Jani
                             

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

Reply via email to