Re: looking for function (pre 4.3.x)
| From: | Robert Cummings | Date: | Sat, 24 May 2003 23:35:21 +0000 |
| Subject: | Re: looking for function (pre 4.3.x) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-148883@lists.php.net to get a copy of this message | ||
I wrote the extension at the following link some time ago for exactly
the purpose you are requesting:
http://www.wocmud.org/Carnage/download/ftrace.tar.gz
Cheers,
Rob.
"Carl P. Corliss" wrote:
>
> Is there a known function that will give you the name of the calling function,
> something like this:
>
> $callee = who_the_heck_called_me();
>
> where $callee would then be an array with the following indices:
>
> calling_function
> calling_file
> calling_line
>
> or, if not, does anyone have any idea how to go about creating this?
>
> TIA :)
>
> cheers,
>
> --
> Carl P. Corliss
> System Administrator / Developer
> Xaraya Web Application Framework Project
> www.xaraya.com
>
> --
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, visit: http://www.php.net/unsub.php
--
.---------------------------------------------.
| Worlds of Carnage - http://www.wocmud.org |
:---------------------------------------------:
| Come visit a world of myth and legend where |
| fantastical creatures come to life and the |
| stuff of nightmares grasp for your soul. |
`---------------------------------------------'