Mathijs wrote:
Hello,
i want to use debug_backtrace() in the function called by
register_shutdown_function but it only displays the function we are currently in
(the shutdown function)
Is there any way to trace what class, methode or line caused php to call the
shutdown function ??

the engine calls the shutdown function(s) - so the stack will be
empty apart from the function currently being called.

this happens _after_ your script finishes (regardless of how it finishes)
- I don't think there is a way to know on what file/line your script exited.


Thx in advanced


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to