Is that possible to get whole body of function as a string when you find specific function in this function?
Example:
function(){
$var = "not important";
notme();
}
function2(){
$var = "important";
imhere();
}
Command: phpgrep find only imhere();
Output:
$var = "important";
imhere();