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 dejwt token in PHP?

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.