note 61713 deleted from function.isset by sobak
| From: | sobak@php.net | Date: | Tue, 22 Nov 2016 08:33:40 +0000 |
| Subject: | note 61713 deleted from function.isset by sobak | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-207494@lists.php.net to get a copy of this message | ||
Note Submitter: red at iklanumum dot com
----
This could be viewed as a philosophy. I wonder why a NULL variabel is being considered FALSE rather
than TRUE while in isset, because if the variable has been unset it becomes undefined but a NULL
variabel is still defined although it has no value. Or, perhaps, it's based on the memory
usage, if it is how about $x="" ? Is empty value use memory too? This leads me to another
thinking that the isset isn't have family relationship with unset although both of it are a
language construct and have 'set' word :)