note 101930 added to function.unset
| From: | JoshKupershmidt at osu1 dot php dot net | Date: | Tue, 18 Jan 2011 22:37:40 +0000 |
| Subject: | note 101930 added to function.unset | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-175876@lists.php.net to get a copy of this message | ||
edouard dot berge:
See the doc. page for isset, which states "Returns TRUE if var exists and has value other than
NULL, FALSE otherwise.". Your array $tab is empty, but does have a non-NULL value, so
isset($tab) properly returns true.
----
Server IP: 69.147.83.197
Probable Submitter: 165.212.186.27
----
Manual Page -- http://www.php.net/manual/en/function.unset.php
Edit -- https://master.php.net/note/edit/101930
Del: integrated -- https://master.php.net/note/delete/101930/integrated
Del: useless -- https://master.php.net/note/delete/101930/useless
Del: bad code -- https://master.php.net/note/delete/101930/bad+code
Del: spam -- https://master.php.net/note/delete/101930/spam
Del: non-english -- https://master.php.net/note/delete/101930/non-english
Del: in docs -- https://master.php.net/note/delete/101930/in+docs
Del: other reasons-- https://master.php.net/note/delete/101930
Reject -- https://master.php.net/note/reject/101930
Search -- https://master.php.net/manage/user-notes.php