phpshell 0.1
Fri Jul 17, 2009 · 161 words

This is kind of weird, but maybe somewhat useful some day. Looking for a quick way to test out PHP code, I ended up writing a small PHP “shell” (i.e. like IRB):

It comes with some useful shortcuts:

There are some limitations - it requires PHP with readline support (which MAMP doesn't have, not to mention Apple's stock PHP) and links to render the HTML pages. Both can be installed through MacPorts (PHP would just need the +readline variant).

If nothing else, it's pretty interesting little experiment. Normal people would probably be better off using PHP Console instead. ;-)

back · essays · credits ·