Re: Re: variable_exists() patch
| From: | Derick Rethans | Date: | Thu, 14 Aug 2003 19:41:50 +0000 |
| Subject: | Re: Re: variable_exists() patch | ||
| References: | 1 2 3 4 5 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-3958@lists.php.net to get a copy of this message | ||
On Thu, 14 Aug 2003, walt boring wrote:
> Then please explain the logic of why
> $var = null
>
> isset($var) returns false.
>
> In your words "it will see if a variable is set (has a value)".
>
> $var IS set and DOES have a value, it just happens to be a value of null.
I've done a fair deal of PHP programming and I never had the need to do
this... What use do you have for a variable with the value NULL?
Derick
--
"Interpreting what the GPL actually means is a job best left to those
that read the future by examining animal entrails."
-------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
International PHP Magazine http://php-mag.net/
-------------------------------------------------------------------------