note 30335 rejected from control-structures.for by rioter
| From: | rioter@php.net | Date: | Fri, 14 Mar 2003 10:21:50 +0000 |
| Subject: | note 30335 rejected from control-structures.for by rioter | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-45296@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"...