|
Posted by Peter van Schie on 10/06/05 19:19
alex bazan wrote:
> 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?
>
The function you specify with register_shutdown_function gets executed
on timeout or exit. Just note you cannot echo or print anything anymore
after a timeout occured.
Peter.
--
http://www.phpforums.nl
Navigation:
[Reply to this message]
|