Is there any way I can get a list of the files that I have included in a php script.
We have a large and complex number of PHP pages which we use, what I need is some way to print out a list of the pages which I have included during the execution of a php script. So lets say I have a main page which then includes another page which then includes 2 other pages, what I need is to be able to call a command and get a list of all the files that were included.
Obviosuly I could just add some sort of array to hold the values as I go along but that would mean changing literally thousands of pages of code.
Any ideas?
Another thing I'd like to add to that would be to get the run time of when the page was included.
List of Include files?
Moderator: General Moderators
Re: List of Include files?
Thanks for that.
The Timing was the cherry on top but the list of includes will help a lot.
The Timing was the cherry on top but the list of includes will help a lot.
Re: List of Include files?
OK me again.....
Any idea how I could get a list of the objects a PHP page has created? So similar to the above but for objects, doesn't seem to be a standard on but I would imagine there could be a more techincal way to get the information.
Thanks in advance
Any idea how I could get a list of the objects a PHP page has created? So similar to the above but for objects, doesn't seem to be a standard on but I would imagine there could be a more techincal way to get the information.
Thanks in advance