php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #19255 true / false constants not properly defined
Submitted: 2002-09-05 14:54 UTC Modified: 2002-09-06 03:43 UTC
Votes:1
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: phpsurf at ifrance dot com Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 4CVS-2002-09-05 OS: windows
Private report: No CVE-ID: None
 [2002-09-05 14:54 UTC] phpsurf at ifrance dot com
This bug is still open !

When you try the following script with the last windows binaries from http://snaps.php.net/win32/ze2

<?php
  
var_dump(True);
var_dump(TrUe);
var_dump(False);
var_dump(FaLse);

?>

It outputs:

string(4) "True"
string(4) "TrUe"
string(5) "False"
string(5) "FaLse"

maybe it's a problem with the build rather than with the engine ... don't know, but the bug is still here on Windows !

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-09-05 14:55 UTC] derick@php.net
Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the original bug instead.

Thank you for your interest in PHP.
 [2002-09-06 03:42 UTC] phpsurf at ifrance dot com
ok, sorry for writing twice the same bug !
but the problem is that the other bug I saw about that has been CLOSED by sniper@php.net saying that there was no bug !!!!
 [2002-09-06 03:43 UTC] derick@php.net
Leave this one alone, change the first one.
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Tue Oct 06 21:00:01 2026 UTC