How can i get the location of an exit()/die() from within register_shutdown_function()?
- From: mathijs.van.veluw@xxxxxxxxxxx (Mathijs van Veluw)
- Date: Wed, 16 Jul 2008 09:23:23 +0200
Hello there,
I have an shutdown function to catch fatal-errors etc..
Now when there is an exit() somewhere i get an empty message from get_last_error().
I want to know the location of this exit() or die().
Is there a way to get the file and line-number from where the exit/die originated?
Thx in advance.
.
- Follow-Ups:
- Re: [PHP] How can i get the location of an exit()/die() from within register_shutdown_function()?
- From: "Eric Butera"
- Re: [PHP] How can i get the location of an exit()/die() from within register_shutdown_function()?
- From: tedd
- Re: [PHP] How can i get the location of an exit()/die() from within register_shutdown_function()?
- From: Thijs Lensselink
- Re: [PHP] How can i get the location of an exit()/die() from within register_shutdown_function()?
- From: Chris
- Re: [PHP] How can i get the location of an exit()/die() from within register_shutdown_function()?
- Prev by Date: Re: [PHP] Lookimg for a script....
- Next by Date: Re: [PHP] How can i get the location of an exit()/die() from within register_shutdown_function()?
- Previous by thread: Re: [PHP] Lookimg for a script....
- Next by thread: Re: [PHP] How can i get the location of an exit()/die() from within register_shutdown_function()?
- Index(es):
Relevant Pages
|