note 19881 added to function.empty
| From: | zbot at php2 dot chek dot com | Date: | Thu, 14 Mar 2002 01:13:46 +0000 |
| Subject: | note 19881 added to function.empty | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-27769@lists.php.net to get a copy of this message | ||
Note that using strlen() does NOT absolve you of having to do an isset() check. A high enough
error_reporting() level will quickly reveal this.
Just put this at the top of a script and test: error_reporting(E_ALL);
--
http://www.php.net/manual/en/function.empty.php
http://master.php.net/manage/user-notes.php?action=edit+19881
http://master.php.net/manage/user-notes.php?action=delete+19881
http://master.php.net/manage/user-notes.php?action=reject+19881