Re: File and line that called a function?

From: Date: Mon, 18 Oct 2004 20:02:45 +0000
Subject: Re: File and line that called a function?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-199765@lists.php.net to get a copy of this message
Sorry accidently replied off-list I basicly said to check out debug_backtrace() at http://www.php.net/debug-backtrace On Mon, 18 Oct 2004 13:56:33 -0600, Adrian Madrid <aemadrid@hyperxmedia.com> wrote: > Is there a way to know which file and line called a function youo are > in? I want to create an error function that can tell me which file and > line called it. I know __FILE__ and __LINE__ but they will return the > file and line that my error function is in, and not the originators. > > Thanks in advance, > > -- > Adrian Madrid > HyperX Inc. > Mobile: 801.815.1870 > Office: 801.566.0670 > aemadrid@hyperxmedia.com > www.hyperxmedia.com > > 9000 S. 45 W. > Sandy, UT 84070 > > -- > PHP General Mailing List (http://www.php.net/) > To unsubscribe, visit: http://www.php.net/unsub.php > >

« previous php.general (#199765) next »