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

ID: 12983
Updated by: sniper
Reported By: admin <email protected>
Old Status: Open
Status: Bogus
Bug Type: Reproducible crash
Operating System: linux
PHP Version: 4.0.4
New Comment:

Like you said, not really a bug.
You can also shoot yourself in your foot but is it wise? :)

This is very common problem, and to keep PHP as fast as
it is there won't be any changes in this in the near
future.

Previous Comments:
------------------------------------------------------------------------

[2001-08-27 14:46:27] admin <email protected>

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 this 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>