Re: Re: variable_exists() patch
| From: | walt boring | Date: | Thu, 14 Aug 2003 19:35:22 +0000 |
| Subject: | Re: Re: variable_exists() patch | ||
| References: | 1 2 3 4 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-3957@lists.php.net to get a copy of this message | ||
Ilia Alshanetsky wrote:
On August 14, 2003 03:11 pm, walt boring wrote:$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. Wexactly why isset() is either 1) a bad name for the function or 2) 'broken'Wrong. isset() has a very proper name "is-set", which to me and other people says that it will see if a variable is set (has a value). It does this job admirably and it certainly not broken. Documentation specifies how this function will perform perfectly. Ilia Then please explain the logic of why