Tuesday, June 7, 2011

Running php from the commandline

if you want to run a short snibit of code from the command line use this syntax:
php -r "echo 'test';"

No comments: