I'm wondering if it's possible to use PHP's parser to parse files and search/find a given function call.
For example, I want to know from which files the function eval is called. I could use find with -exec and some regex, but that returns a lot of false positives, and it also returns commented code.
My question is: can I use somehow PHP's own parser to search in files and say if a given function/reserved word is used in that file?
fopen()and do a search for your keyword ?$functionin PHP.call_user_funcor$function()are most easiest from them