PHP 4.0 Bug #5275 Updated: behaviour inconsistency of the `&' operator
| From: | Bug Database | Date: | Tue, 01 Aug 2000 21:25:46 +0000 |
| Subject: | PHP 4.0 Bug #5275 Updated: behaviour inconsistency of the `&' operator | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-27316@lists.php.net to get a copy of this message | ||
ID: 5275
Updated by: waldschrott
Reported By: teo@digiro.net
Status: Closed
Bug Type: Scripting Engine problem
Assigned To:
Comments:
the expected result would have been 0 1 1 1, just because $HTTP_SESSION_VARS equal NULL: echo
array()==NULL, will print out 1, thus
echo (int)(array()!=NULL);
prints out 0
Full Bug description available at: http://bugs.php.net/?id=5275