$details = new ReflectionFunction('currency_format_number'); print $details->getFileName() . ':' . $details->getStartLine();

Read more of this post