Skip to content

How to check where function defined in PHP?

$details = new ReflectionFunction('currency_format_number');
print $details->getFileName() . ':' . $details->getStartLine();
See also  How to get key value from json object in Java?

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.