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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 02 16:01:37 2025 UTC