|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2013-07-26 00:03 UTC] cmbecker69 at gmx dot de
[2013-07-26 01:25 UTC] felipe@php.net
-Status: Open
+Status: Not a bug
[2013-07-26 01:25 UTC] felipe@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Thu Oct 30 21:00:01 2025 UTC |
Description: ------------ $x = 07; if($x == 7){ echo 'correct'; }else{ echo 'they are not the same'; } $x = 08; if($x == 8){ echo 'correct'; }else{ echo 'they are not the same'; } $x = 09; if($x == 9){ echo 'correct'; }else{ echo 'they are not the same'; } Test script: --------------- $x = 07; if($x == 7){ echo 'correct'; }else{ echo 'they are not the same'; } $x = 08; if($x == 8){ echo 'correct'; }else{ echo 'they are not the same'; } $x = 09; if($x == 9){ echo 'correct'; }else{ echo 'they are not the same'; } Expected result: ---------------- $x = 08; if($x == 8){ echo 'correct'; }else{ echo 'they are not the same'; } $x = 09; if($x == 9){ echo 'correct'; }else{ echo 'they are not the same'; } the results should be correct.