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 get user input ?

Leave a Reply

Your email address will not be published. Required fields are marked *

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