PERL Caller equivalent function

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux