Re: [PHP] Detect calling function with debug_backtrace()

2006-03-16 Thread Jochem Maas
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 engi

[PHP] Detect calling function with debug_backtrace()

2006-03-16 Thread Mathijs
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 ?? Thx in advanced -- PHP Gen