Re: Get name of current function

From: Date: Tue, 20 Feb 2001 22:58:00 +0000
Subject: Re: Get name of current function
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-40844@lists.php.net to get a copy of this message
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" <jide@lgb-inc.com> 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: php-general-unsubscribe@lists.php.net > For additional commands, e-mail: php-general-help@lists.php.net > To contact the list administrators, e-mail: php-list-admin@lists.php.net >

« previous php.general (#40844) next »