|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-10-14 19:36 UTC] johannes@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sun Oct 26 17:00:01 2025 UTC |
Description: ------------ See the code is very simple...the casting for 0 is wrong Reproduce code: --------------- <?php $pino = 0; if($pino == "uno") { echo "sono uguali"; } else { echo "non sono uguali"; } ?> Expected result: ---------------- non sono uguali Actual result: -------------- sono uguali