note 30335 added to control-structures.for

From: Date: Fri, 14 Mar 2003 10:05:12 +0000
Subject: note 30335 added to control-structures.for
Groups: php.notes 
Request: Send a blank email to php-notes+get-45295@lists.php.net to get a copy of this message
Il semble y avoir un bogue dans la version 4.1.1 : for($i=0,$lettre="A";$lettre<="Z";$lettre++,$i++) { [ ... ] } la structure de controle for ne s'arrete pas correctement, pour cela, il faut remplacer la valeur "Z" par "Y", et traiter séparemment le cas du "Y". ------------------------------------------------------- ------------------------------------------------------- It seems, there's a bug, in PHP version 4.1.1, about the "for" structure, when using the example written top. solution : replace "Z" by "Y", and try separatly "Z"... -- http://www.php.net/manual/en/control-structures.for.php http://master.php.net/manage/user-notes.php?action=edit+30335 http://master.php.net/manage/user-notes.php?action=delete+30335 http://master.php.net/manage/user-notes.php?action=reject+30335

« previous php.notes (#45295) next »