debugg(tracing) php code

PHP programming forum. Ask questions or help people concerning PHP code. Don't understand a function? Need help implementing a class? Don't understand a class? Here is where to ask. Remember to do your homework!

Moderator: General Moderators

Post Reply
harishreddy
Forum Newbie
Posts: 5
Joined: Sun Mar 08, 2009 12:22 am

debugg(tracing) php code

Post by harishreddy »

hi iam new in php ,can any body know how to trace the php code at runtime with out using print or echo
User avatar
pickle
Briney Mod
Posts: 6445
Joined: Mon Jan 19, 2004 6:11 pm
Location: 53.01N x 112.48W
Contact:

Re: debugg(tracing) php code

Post by pickle »

Code: Select all

print_r(debug_backtrace())
Real programmers don't comment their code. If it was hard to write, it should be hard to understand.
Post Reply