Hello,

On Wed, Mar 6, 2013 at 11:31 PM, Bob Weinand <bobw...@hotmail.com> wrote:
> false. It's like unset($setValue) && unset($undefined).
>
> I've clarified this in the RFC; thank you.
>
> Bob Weinand
>
> Am 06.03.2013 um 22:24 schrieb "Steve Clay" <st...@mrclay.org>:
>
>> On 3/6/13 4:10 PM, Bob Weinand wrote:
>>> https://wiki.php.net/rfc/unset_bool
>>
>> What's the return value of unset($setValue, $undefined) ?
>>
>>
>> Steve Clay
>> --
>> http://www.mrclay.org/
>>

Would it make more sense to return an array with keys the name of the
variables that were unset and the result for each of them? This way
one could better handle 'false' being returned.

I'm not sure if it's possible or not, I didn't had the time to check
out the patch.


Thanks
----
Florin Patan
https://github.com/dlsniper

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

Reply via email to