"Ide, Jim" wrote:
>
> Hi -
>
> Is there some way I can get the name of the currently executing function?
>
> For example:
>
>
> function MyFunction () {
> echo "The currently executing function is: " . ;
> }
Solution:>
function MyFunction () {
echo "The currently execu
t;[EMAIL PROTECTED]>
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:
>
>
> function MyFunction
Hi -
Is there some way I can get the name of the currently executing function?
For example:
;
}
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
3 matches
Mail list logo