PHP 4.0 Bug #8414: set_time_out() and max_execution_time description is not clear

From: Date: Mon, 25 Dec 2000 10:55:38 +0000
Subject: PHP 4.0 Bug #8414: set_time_out() and max_execution_time description is not clear
Groups: php.dev 
Request: Send a blank email to php-dev+get-42244@lists.php.net to get a copy of this message
From: omakarenko@cyberplat.ru Operating system: linux PHP version: 4.0.4 PHP Bug Type: Documentation problem Bug description: set_time_out() and max_execution_time description is not clear documentation is not clear enough on what "excecution time" the max_execution_parameter does limit. try the following: <?php set_time_limit(1); while(1) sleep(1); ?> on my machine that runs much more then one second, while: <?php set_time_limit(1); while(1); ?> stops after 1 second as expected. That difference is never mentioned in documentaion. While the usage of PROF timer make sence sometimes the parameter name "max_execution_time" suggests the "real" time limit so that <?php set_time_limit(30); sleep(3600); ?> should be terminated on timeout after 30 seconds. oleg -- Edit Bug report at: http://bugs.php.net/?id=8414&edit=1

« previous php.dev (#42244) next »