#23518 [Opn->Bgs]: with wrong for loop unexpected behavior
ID: 23518
Updated by: magnus@php.net
Reported By: beyerlin at magic-garden dot de
-Status: Open
+Status: Bogus
Bug Type: Scripting Engine problem
Operating System: openbsd3.2
PHP Version: 4.3.1
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
Nothing is echoed because you don't have error reporting turned on and
there is a syntax error in your code.
Previous Comments:
------------------------------------------------------------------------
[2003-05-06 19:31:25] beyerlin at magic-garden dot de
when using a comma instead of a semicolon, nothing is echoed, also when
the loop is uncommented and/or in an uncalled function.
echo "start":
for( $x=0;$x<100,$x++)
{
echo $x;
}
echo "end";
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=23518&edit=1
Thread (2 messages)