getting a function name of the calling function
| From: | Joshua E Minnie | Date: | Wed, 01 May 2002 20:04:57 +0000 |
| Subject: | getting a function name of the calling function | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-95587@lists.php.net to get a copy of this message | ||
Does anybody know of any constants or predefined functions that will
retrieve the calling functions name? For example:
<?
function new_func($somedata) {
echo "I am function ".get_func_name();
}
?>
-josh