register_shutdown_function and timeouts
Available news archives: comp.lang.tcl - comp.lang.python - comp.security.firewalls - sci.crypt - comp.lang.php - comp.lang.javascript
Google
 
Web news.hping.org


comp.lang.php archive

register_shutdown_function and timeouts

From: alex bazan <me@privacy.net>
Date: Thu Oct 06 2005 - 17:47:13 CEST

I came across this function as i got a problem with very long-running
scripts which use transactions...

in the php manual i do not see clearly stated if the function defined
will be executed if a timeout is reached.

It states:
"Registers the function named by function to be executed when script
processing is complete."

So what happens when the script processing is uncomplete because of a
timeout?

In case the function does not get executed, is there a way to execute a
function on timeout??

alex.
Received on Tue Oct 18 02:32:45 2005