Bug #1460 Updated: empty() != !isset()
| From: | Bug Database | Date: | Thu, 27 May 1999 14:36:28 +0000 |
| Subject: | Bug #1460 Updated: empty() != !isset() | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-6076@lists.php.net to get a copy of this message | ||
ID: 1460
Updated by: andrey
Reported By: aulbach@unter.franken.de
Status: Open
Bug Type: Misbehaving function
Assigned To:
Comments:
isset() returns true if the variable is set, which it is in this case, so !isset()
will result in "NOT EMPTY" in your case. Basically, empty() and !isset() are not
equivalent.
Full Bug description available at: http://bugs.php.net/?id=1460
--
PHP Development Mailing List http://www.php.net/
To unsubscribe send an empty message to php-dev-unsubscribe@lists.php.net
For help: php-dev-help@lists.php.net