I've considered myself somewhat of a procedural PHP expert, there is nothing I can't solve...Except this.
You know when you try to declare a function that already exists and in the error you get a reference to where the function is located, the file and line number?
Well, I am building a website where, as the Web Master, I have my own little special section. In that section, I have a page that lists all the user delcared functions.
For each function, I would like to get the file and line it is declared, so that when I need to work on the site - a function in particular - I can find it by looking at this page.
Since PHP tells me the file and line a function is declared on error (when you redeclare a function for instance) that surely there must be a way to do this manually.
I've had use for this many times in the past when working on large projects and had trouble locating functions...redeclaring them seams to work, but there has to be a better way.