note 24558 rejected from function.register-shutdown-function by jmcastagnetto
| From: | jmcastagnetto@php.net | Date: | Wed, 21 Aug 2002 21:44:54 +0000 |
| Subject: | note 24558 rejected from function.register-shutdown-function by jmcastagnetto | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-35324@lists.php.net to get a copy of this message | ||
I've question is possible make something like this? How can I chech that script exceed time
limit?
<?php
set_time_limit("1");
function bye(){
set_time_limit("2");
echo "bye";
}
register_shutdown_function('bye');
$count=100000000000000;
for($i=0; $i<$count; $i++)
echo " \n";
echo "end";
?