Find function declaration in PHP

Fri Aug 31 2018 02:00:00 GMT+0000 (Coordinated Universal Time)

This is a simple way to find where the function is defined on your script

<?php
$reflFunc = new ReflectionFunction('function_name');
print $reflFunc->getFileName() . ':' . $reflFunc->getStartLine();