To do: Test apd, the advanced PHP debugger.
Here's a nice article on using APD: PHP Freaks: Profiling PHP's Performance