Last Updated: February 25, 2016
·
1.985K
· jasdeepkhalsa

Running PHP inline on the command-line

Sometimes I find it useful to test out PHP inline on the command-line. You can too:

php -r 'echo "Hello World";'