#37973 [Opn->Bgs]: This code can bring a server down

From: Date: Fri, 30 Jun 2006 08:22:56 +0000
Subject: #37973 [Opn->Bgs]: This code can bring a server down
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-98979@lists.php.net to get a copy of this message
ID: 37973 Updated by: tony2001@php.net Reported By: pcpbslack at gmail dot com -Status: Open +Status: Bogus Bug Type: Program Execution Operating System: Windows/Linux PHP Version: 4.4.2 New Comment: Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php Previous Comments: ------------------------------------------------------------------------ [2006-06-30 08:20:25] pcpbslack at gmail dot com Description: ------------ This code can bring a server down. $arr_test = array(); for ($i = 500; $i >= 100; $i-25) { array_push($arr_test, $i); } Obviously $i-25 should be $i-=25, but in hurry I forgot to put the = sign and the server went down. Actual result: -------------- The server went down in Windows and Linux environment. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=37973&edit=1

« previous php.bugs (#98979) next »