Re: [RFC] unset(): return bool if the variable has existed
On Wed, Mar 6, 2013 at 10:10 PM, Bob Weinand <[email protected]> wrote:
> Hi!
>
> As this seem to require a RFC, here is it:
>
> https://wiki.php.net/rfc/unset_bool
>
> Please feedback,
>
> Bob Weinand
>
> --
> PHP Internals - PHP Runtime Development Mailing List
> To unsubscribe, visit: http://www.php.net/unsub.php
>
>
unset is not a function, but a language construct, and there is at least
one similar construct which doesn't return anything (eg. not returning
NULL, but syntax error when used in a return context): echo
--
Ferenc Kovács
@Tyr43l - http://tyrael.hu
Thread (21 messages)