bib_errors can be used to intercept runtime errors of PHP scripts. It registers a PHP error handler function that outputs the details about the errors to a given log file. The errors can be displayed as part of the current script output or sent to a given email address to let the site administration or developer react promptly.
PHP Profiler Class performs code profiling and aids performance optimisation by locating the areas of code that consume most processing time. The reports it produces provide information on the number of calls to a code section, as well as the percentage and total of time spent on a section. Timing of multiple nested code sections is possible. It requires function calls to be manually inserted in the code being profiled.
The PHP Assertion Unit Framework (phpAssertUnit) is a unit testing framework based on assertions which helps PHP developers test their code. Failing assertions about the program state are tracked in a Reporter window of a DOM-compliant browser such as IE5+, Mozilla, Netscape 6+, etc. The reporting of failures or warning messages does not disturb the running script, allowing easy Web GUI testing.