This article details various methods for debugging PHP applications, including turning on error reporting in Apache and PHP, and by placing strategic print statements to locate the source of more difficult bugs through a simple example PHP script. The PHPEclipse plug-in for Eclipse, a slick development environment with real-time syntax parsing abilities, will also be covered, as well as the DBG debugger extension for PHPEclipse.
step you through the installation, how to turn on the error reporting correctly, and how to use the real-time features in Eclipse to make your life easier. Throw in the internal debugger, and you just about have a match made in heaven...











It encourages to make error_reporting hide notices such as uninitialized variables in order to better see bad coding pratices !? How silly is that ? Uninitialized variables IS bad coding practice.
Moreover, it says nothing about var_dump() or debug_backtrace() which are far more useful than print().