|
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-2026 The PHP GroupAll rights reserved. |
Last updated: Tue Feb 03 16:00:01 2026 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"