Last Updated: February 25, 2016
·
3.349K
· filipekiss

PHP - Interactive Shell

Do you know PHP, just as ruby and python, have an interactive shell?

Just type in on your console:

php -a

And you're set. Just type in some commands and see they being evaluated

php -a
echo md5("some-string");
7e99c70638e08303f2de53eee744a371

I use it to generate some hashs or passwords :)