RE: [PHP] WHILE LOOP PROBLEM
| From: | Arno Kuhl | Date: | Fri, 27 Mar 2009 10:24:28 +0000 |
| Subject: | RE: [PHP] WHILE LOOP PROBLEM | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-290742@lists.php.net to get a copy of this message | ||
-----Original Message-----
From: Andrew Williams [mailto:andrew4williams@gmail.com]
Sent: 27 March 2009 10:12 AM
To: PHP LIST
Subject: [PHP] WHILE LOOP PROBLEM
can some tell why the below loop stop running after some time.
$start=10;
const run=0;
while($start >run){
//do somthing
}
--
The webserver or php environment is probably terminating the script. It will
only run for the max number of seconds set in your php.ini file.
Arno