|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2003-09-07 11:30 UTC] derick@php.net
[2003-09-07 11:39 UTC] webmaster at demomusic dot nu
[2003-09-07 11:46 UTC] webmaster at demomusic dot nu
[2003-09-07 11:48 UTC] derick@php.net
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 14:00:01 2025 UTC |
Description: ------------ Every variable, uninitiated or == "", returns true when compared with 00, 08 or 09. Standard compilation + gd2 library. phpver 4.3.3, bug tested on both WinXP using apache and Unix using apache. On WinXP: no changes to php.ini-dist than different includepath. Reproduce code: --------------- if ($foo == 00) {echo "Allthough this should not show, it shows<br>";} if ($foo == 08) {echo "Allthough this should not show, it shows<br>";} if ($foo == 09) {echo "Allthough this should not show, it shows<br>";} Actual result: -------------- Allthough this should not show, it shows Allthough this should not show, it shows Allthough this should not show, it shows