ID: 3830
Updated by: yohgaki
Reported By: [EMAIL PROTECTED]
Old Status: Analyzed
Status: Closed
Bug Type: Feature/Change Request
Operating System: linux
PHP Version: 4.0 Beta 4 Patch Level 1
New Comment:

register_tick_function() can be used.


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

[2000-07-31 22:49:52] [EMAIL PROTECTED]

well, could be quite nice

------------------------------------------------------------------------

[2000-03-14 11:27:16] [EMAIL PROTECTED]

Hiya,

i did like to see a function wich breaks into another when it take to
long:

<?

funtion Hour () {
        sleep 3600;
}

// break after say 2 secs
$timeout = Timeout_function(hour(), 2);
if ($timeout) {
        // function took to long
} else {
        // function compledet normal
}

?>

------------------------------------------------------------------------



Edit this bug report at http://bugs.php.net/?id=3830&edit=1


-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to