Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations derfloh on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

object and vars trace

Status
Not open for further replies.

letimati

Technical User
Feb 3, 2006
36
GB
Hi I am wondering if it is possible to output the objects used at the end of a page?

SO id somehwere i declared $newsObj = new news;

I could say print objects_used();

and it would print out

'news'


Also is there other debug functions that would let me see what files are were included or things like this.

thanks in advance for any help

 
Thanks I think from looking quickly I can use the get_defined_vars() then check if its an object and out put it that way.

Also going to look into the other link cause i am wanting to try and run tests to see how long pages take to load and find if there is any way i could speed them up.

thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top