Monthly Archives: July 2015

How to get file name where function defined in php ?

$reflFunc = new ReflectionFunction(‘function_name’); print $reflFunc->getFileName() . ‘:’ . $reflFunc->getStartLine(); Advertisements

Posted in PHP | Leave a comment