I need a script that extracts function names from php files together with their location (path and file in which they are defined).
The php files are located in several directories under a base directory.
Ideally the output should be something like:
"Path/FileName/FunctionName" for a function "FunctionName" which is defined in file "FileName.php" and FileName.php is located in Path.
Should be pretty simple, but I haven't done any scripting for years, so hopefully somebody can help. Any scripting language is fine.