Hacker News new | past | comments | ask | show | jobs | submit login

To those who, like me, thought PHP already has this:

> PHP's interactive mode does not print the result of evaluating expressions and more importantly, it exits if you type something that produces a fatal error, such as invoking a function/method that does not exist, or an uncaught exception. Boris is designed to be robust, like other REPLs, so you can experiment with things that you know may error, without losing everything.




It looks like a great replacement for Facebook's unmaintained phpsh [1] (written ironically in Python).

In a similar vein to @gingerlime, anyone know a PHP mode for IPython [2]? It'd be great to prototype my code in a notebook.

1. http://phpsh.org/ 2. http://ipython.org/


I was wondering the exact same thing. Sounds cool.

Anybody knows of a debugger equivalent to ipdb (python) / pry (ruby) for php to allow live debugging stuff on the server?


You can live-debug with xdebug. Have been using it with vim and it worked.


Seconded. xdebug and the vim plugin "vdebug" ( https://github.com/joonty/vdebug ) work like a charm.


I'll take a look. Thanks.




Consider applying for YC's Spring batch! Applications are open till Feb 11.

Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: