Introduction to Debugging and Error Checking
Tutorials Shared by the Internet Community
Total Hits - 31592
Total Votes - 96 votes
Vote Up - 41 votes
Vote Down - 55 votes
Domain - www.talkphp.com
Category - PHP/Development
Submitted By - Devesh Khanna
Submitted on - 2008-03-16 05:03:03
Debugging essentially means to track down an error in your code. Found a "bug" in your code? Then you need to "de-bug" it! This article will introduce you to some basic concepts such as error checking and built-in functions like var_dump() that will aid you in tracking down errors in your PHP applications.
There are also many fully-fledged debugging tools for PHP that lets you set breakpoints, watch variables, and such like, but we won't be using them in this article. More detail...