[PHP-DEV] Bug #12983: crash due to infinite loop From: admin <email protected>
Date: 08/27/01

From: admin <email protected>
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

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>