ID: 45009
Updated by: [EMAIL PROTECTED]
Reported By: sam dot newhouse at hotmail dot net
-Status: Open
+Status: Bogus
Bug Type: Reproducible crash
Operating System: ALL
PHP Version: 4.4.8
New Comment:
Syntax error is not a crash. A foreach does not use the same syntax as
a for loop, see the manual for more info. Not a bug > bogus.
Previous Comments:
------------------------------------------------------------------------
[2008-05-15 15:41:07] sam dot newhouse at hotmail dot net
Description:
------------
crashes when I run the following code
Reproduce code:
---------------
<?
foreach($i=0;$>-100;$i++){
print "something";
}
?>
Expected result:
----------------
print sometimg 100 timez
Actual result:
--------------
CRASH :(!
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=45009&edit=1