Get name of current function

From: Date: Tue, 20 Feb 2001 18:22:20 +0000
Subject: Get name of current function
Groups: php.general 
Request: Send a blank email to php-general+get-40781@lists.php.net to get a copy of this message
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

« previous php.general (#40781) next »