How to know the name of a function ?
| From: | Jean-Philippe Battu | Date: | Sun, 09 Nov 2008 21:41:05 +0000 |
| Subject: | How to know the name of a function ? | ||
| Groups: | php.db | ||
| Request: | Send a blank email to php-db+get-45610@lists.php.net to get a copy of this message | ||
Hello
In a function, what is the best way to know the name
of this function ?
I read the documentation and found only func_num_args(),
func_get_arg() and func_get_args which are relative to the
arguments given to the function.
What is the equivalent to $0 (bash) in php ?
Thanks for your help
Cheers
--
Jean-Philippe Battu