|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2011-07-16 10:48 UTC] johannes@php.net
-Status: Open
+Status: Bogus
[2011-07-16 10:48 UTC] johannes@php.net
[2011-07-16 12:00 UTC] zeloras at gmail dot com
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Nov 28 11:00:02 2025 UTC |
Description: ------------ code execution, which is described below, causes misunderstanding of the principle of comparison that can cause a lot of mistakes. Test script: --------------- $i = 0; if ($i == "good"){ $ololo = 'fail'; }else{ $ololo = 'good'; } echo $ololo; Expected result: ---------------- i expect result "good" but he "fail"