#45009 [Opn->Bgs]: crash
| From: | pajoye@php.net | Date: | Thu, 15 May 2008 15:56:57 +0000 |
| Subject: | #45009 [Opn->Bgs]: crash | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-125025@lists.php.net to get a copy of this message | ||
ID: 45009
Updated by: pajoye@php.net
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