php.net |  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.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
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.

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

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-2017 The PHP Group
All rights reserved.
Last updated: Sun Nov 19 01:31:42 2017 UTC