I work with PHP and sometimes I want to find where the function in use is located. How can I do this easily without tracking everything?
I usually just do quick
'grep -d recurse "function\ function_name" *
from the root of the project.
Use a constant __FILE__.
__FILE__
See here: http://php.net/manual/en/language.constants.predefined.php
notepad ++ find , .
Ctrl + IDE (NetBeans, PhpStorm)
: : http://llihp.blogspot.com/2011/05/php-logger-class.html
dev-null-dweller . .