Php – Debugging PHP

debuggingphpxdebug

I've been using xdebug to debug and understand code in php projects for a while now, and have sometimes come into situations where it's been unclear what's going on inside of PHP.

Is it possible to set xdebug or gdb up so that i can trace into actual php builtin functions?

Best Solution

If you are using a macosx, solaris or recent freebsd system you can throw a little dtrace at it. It can come in handy for those all too numerous "WTF is PHP doing?" moments.