you're looking for phpsh , like irb for ruby. php-cli allows you to run scripts for the command line, for example
myserver> php -r "echo 'hola mundo';"
so you ask and all answers to php-cli are different. also php-cli has its own php.ini, which allows you to have different configurations, depends on running php through httpd (e.g. apache) or in bash
Saludos
Gabriel Sosa Jan 18 '09 at 3:28 2009-01-18 03:28
source share