|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2014-08-21 05:19 UTC] requinix@php.net
-Status: Open
+Status: Not a bug
[2014-08-21 05:19 UTC] requinix@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 22:00:02 2025 UTC |
Description: ------------ here is my simple code : <?php $a=07; $b=08; if ($a>$b) { echo $a; } else { echo $b; } ?> this should output 8 but shows me 7 I don't know why but in other languages(java vb) answer is always 8 Test script: --------------- <?php $a=07; $b=08; if ($a>$b) { echo $a; } else { echo $b; } ?> Expected result: ---------------- should be 8 in output Actual result: -------------- 7