Hi,

Perl has a function named caller with the following signature and return values:

   ($package, $filename, $line, $subroutine,
    $hasargs, $wantarray, $evaltext, $is_require) = caller($i);

This function returns information pertaining to the calling routine, such as the name of the function and package that called this function. Is there such a function for PHP?

Please let me know.

thanks,
sgs.

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to