Skip to content

How to check where function defined in PHP?

$details = new ReflectionFunction('currency_format_number');
print $details->getFileName() . ':' . $details->getStartLine();
See also  Python code snippet - How to redirect where requests library downloads file ?

Leave a Reply

Your email address will not be published.

This site uses Akismet to reduce spam. Learn how your comment data is processed.