Bug #12983: crash due to infinite loop
| From: | admin at odyssey dot co dot in | Date: | Mon, 27 Aug 2001 18:46:27 +0000 |
| Subject: | Bug #12983: crash due to infinite loop | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-64429@lists.php.net to get a copy of this message | ||
From: admin@odyssey.co.in
Operating system: linux
PHP version: 4.0.4
PHP Bug Type: Reproducible crash
Bug description: crash due to infinite loop
if you run a loop with a typing error such as the following where $j is not
defined the system goes into a infinite loop and causes the shutdown of all
running services.
for ($i = 0; $i < $numrows; ++$j){
# something
}
Not really a bug but shouldn't we get a timeout error here ?
Alfred Tuinman
--
Edit bug report at: http://bugs.php.net/?id=12983&edit=1