Monday, February 6, 2012

PHP Debugging Techniques – Part III

November 17, 2009 by · Leave a Comment 

Use an IDE and Debugger Most developers use some Integrated Development Environment (IDE) for the majority of their development, and I highly recommend that you do the same. Many PHP developer use Zend Studio and you only have to look at the feature list to see why they find it completely indispensible, especially for debugging. If you have [...]

PHP Debugging Techniques – Part II

November 17, 2009 by · Leave a Comment 

 2. Error Logging Despite out best efforts, errors can (and do) occur in production environments. When these hiccups do arise we have to ensure that they are dealt with quickly, otherwise users (or even, gasp, clients) get angry. A logging system can be very useful in tracking down bugs, especially when they happen in a [...]

PHP Debugging Techniques – Part I

November 12, 2009 by · 1 Comment 

There are many PHP debugging techniques that can save you countless hours when coding as error reporting, using print statements etc. Let’s go through a little detail of these techniques. Error Messages Error messages are your first line of defense as a developer. You don’t want to be developing code in PHP on a server [...]