phpsh is a free PHP script by facebook. phpsh is a read-eval-print-loop for php that features readline history, tab completion, and quick access to documentation. It was developed at Facebook and ironically, is written mostly in python. It is open source and released under a modified BSD license.,.
phpsh PHP Scripts Details / Download Page