I don't think you can do that yet.

-- 
Visit the Zend Store at http://www.zend.com/store/
Wanna help me out?  Like Music?  Buy a CD: http://l-i-e.com/artists.htm
Volunteer a little time: http://chatmusic.com/volunteer.htm
----- Original Message ----- 
From: "Ide, Jim" <[EMAIL PROTECTED]>
Newsgroups: php.general
Sent: Tuesday, February 20, 2001 12:19 PM
Subject: [PHP] Get name of current function


> 
> Hi -
> 
> Is there some way I can get the name of the currently executing function?
> 
> For example:
> 
> <?php
> 
> function MyFunction () {
> echo "The currently executing function is: " . <here>  ;
> }
> 
> MyFunction();
> 
> ?>
> 
> I want this to produce:
> The currently executing function is: MyFunction()
> 
> Is there some way to do this in PHP?
> 
> Thanks -
> Jim
> 
> 
> -- 
> PHP General Mailing List (http://www.php.net/)
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
> To contact the list administrators, e-mail: [EMAIL PROTECTED]
> 


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to