File and line that called a function?

From: Date: Mon, 18 Oct 2004 19:56:33 +0000
Subject: File and line that called a function?
Groups: php.general 
Request: Send a blank email to php-general+get-199764@lists.php.net to get a copy of this message
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

« previous php.general (#199764) next »