Re:PHPPHP: a PHP VM in PHP
by bananashake on Sunday December 30, 2012 @10:34AM
(#4985937)
PHPPHP is well on its way to being a simple PHP command line debugger. To my knowledge there currently isn't a good tool for command line debugging on PHP.
[ Parent
| on HN ]
phpsh[1] by Facebook is good. Ironically, it's written in Python.
phpsh is probably the best, but I also use Boris https://github.com/d11wtq/boris - "A tiny REPL for PHP"
Re:PHPPHP: a PHP VM in PHP
by PommeDeTerre on Sunday December 30, 2012 @06:58PM
(#4987623)
It seems like a case of sensibility, rather than irony, to me. Using Python, even when developing PHP-related software, just seems like the intelligent thing to do.
xdebug exposes a gdbp interface which supports breakpoints, stepping, inspecting variables, etc. And you can use it with gdb or any GUI that supports gdbp, such as macgdbp.
EDIT: It does not expose a REPL though, which I suppose is what you meant?