I don't know if there is a tool like this for PHP, but I've been using gdb for C lately with great success. I want to be able to set breakpoints and execute a PHP script, then stepping through my functions to check what's going on.
Can this be done with PHP?
If so I'd love some links to tutorials or other resources. I found nothing while Googling.