This post is archived and probably outdated.
You might know the great PHP shell mode we introduced with PHP 5.1. Fedora users can know profit from it using
php-cli-5.1.6-3.3.fc6 which is the current stable release. For more information on that great shell mode read
my blog post in the other blog. Or, if you have that release or built PHP yourself using --with-readline, just try
php -a.