PHP 4.0 Bug #2364: ! and & operators works differently from php3 to php4
| From: | bago at datasail dot net | Date: | Thu, 23 Sep 1999 10:40:45 +0000 |
| Subject: | PHP 4.0 Bug #2364: ! and & operators works differently from php3 to php4 | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-11227@lists.php.net to get a copy of this message | ||
From: bago@datasail.net
Operating system: FreeBSD 3.2
PHP version: 4.0 Latest CVS (23/09/1999)
PHP Bug Type: Other
Bug description: ! and & operators works differently from php3 to php4
try this with php3 and php4
print(!0 & !0);
php3 print 1
php4 print -272666496
with && it works fine... it should be documented in incompatibilities..