Last Updated: February 25, 2016
·
3.953K
· 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 :)

Have a fresh tip? Share with Coderwall community!

Post
Post a tip
Did you know?

PHP applications still send a browser full of JavaScript. Hardening the server does not inventory the payment, analytics, and plugin scripts that run after the HTML is delivered.

Security insights from Cside