PHP 4.0 Bug #4807 Updated: !1 could return 0 instead of false
| From: | Bug Database | Date: | Mon, 12 Jun 2000 18:45:21 +0000 |
| Subject: | PHP 4.0 Bug #4807 Updated: !1 could return 0 instead of false | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-21144@lists.php.net to get a copy of this message | ||
ID: 4807
Updated by: zeev
Reported By: fuf@fuf.sh.cvut.cz
Status: Closed
Bug Type: Feature/Change Request
Assigned To:
Comments:
It's indeed a sort of an incompatibility problem, but having made the introduction of the
boolean type, !1 is definitely a boolean false and not a numeric 0...
Full Bug description available at: http://bugs.php.net/version4/?id=4807