A better interactive php shell is made by facebook, to get it, just do:
git clone git://github.com/facebook/phpsh.git cd phpsh python setup.py build sudo python setup.py install
It's fast, cool and doesn't break when you misprint variable name of function:
