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
 [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-2024 The PHP Group
All rights reserved.
Last updated: Thu Oct 31 23:01:28 2024 UTC