|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #2364 ! and & operators works differently from php3 to php4
Submitted: 1999-09-23 06:40 UTC Modified: 1999-09-23 12:17 UTC
From: bago at datasail dot net Assigned:
Status: Closed Package: Other
PHP Version: 4.0 Latest CVS (23/09/1999) OS: FreeBSD 3.2
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
Block user comment
Status: Assign to:
Bug Type:
From: bago at datasail dot net
New email:
PHP Version: OS:


 [1999-09-23 06:40 UTC] bago at datasail dot net
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..


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [1999-09-23 12:17 UTC] andi at cvs dot php dot net
It was a bug not an incompatibility.
I've fixed it in the latest CVS version
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 18 08:02:42 2024 UTC