Is it possible to get the name of the top most calling script?

From: Date: Sun, 10 Jun 2007 00:18:41 +0000
Subject: Is it possible to get the name of the top most calling script?
Groups: php.general 
Request: Send a blank email to php-general+get-256519@lists.php.net to get a copy of this message
Hello, I know that __FILE__ and __LINE__ report on the file and line that they occur in. What I want is to be able to get the file name and line of the calling script. The only way I can do this so far is by passing the values through function arguments. Is there any way around this? Thanks, Chris.

« previous php.general (#256519) next »