|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2000-06-12 17:53 UTC] lwillis at plus dot net dot uk
[2000-06-12 18:02 UTC] stas at cvs dot php dot net
[2000-06-12 18:04 UTC] stas at cvs dot php dot net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Tue Oct 28 16:00:01 2025 UTC |
The following script produces unexpected results: <? $tmp = 0; if ($tmp != "JBIJI") { echo "is true"; } else { echo "is false"; } ?> This produces "is false" as output where I would have thought that since the value of $tmp isn't "JBIJI" the expression "$tmp != 'JBIJI'" should evaluate true??