|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #354 TRUE and FALSE are being redefined
Submitted: 1998-05-06 16:57 UTC Modified: 1998-05-06 17:03 UTC
From: jfreeman at wwa dot com Assigned:
Status: Closed Package: Compile Warning
PHP Version: 3.0 Release Candidate 4 OS: WIN32
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: jfreeman at wwa dot com
New email:
PHP Version: OS:


 [1998-05-06 16:57 UTC] jfreeman at wwa dot com
Probably a pretty bad idea to define TRUE as 261 and 
FALSE as 262 especially in Windows.  Someone might want to
pick better names for those defines.  Its kinda important
the TRUE = !FALSE.


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [1998-05-06 17:03 UTC] zeev
It's actually not a problem since we don't use TRUE nor FALSE as truth    
values anywhere in the code.  Just to be on the safer side, the current   
CVS has them redefined as PHP_TRUE and PHP_FALSE.

PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Feb 29 08:01:32 2024 UTC