Getting The Bugs Out of PHP Web Applications
The way to get around the limitations of PHP is through the use of specialized debugging tools for each task. For PHP itself, a debugger extension does all the work. Xdebug is a free PHP debugger that works for both Windows and Linux versions of PHP, along with practically any web server. It has all the features that are needed, including stack traces, breakpoints, etc. and utilizes functions that are called from within the PHP application itself. It also has the ability to be used to track HTTP sessions through the use of parameters, which allows the developer to debug the application through multiple HTTP sessions.