> 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(); > } > ?>
I don't believe there is anything setup to pass the name of a parent function to a child function. However you could always pass the parent function's name to the child function as a normal parameter. Sincerely, Craig Vincent -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php