Do you know PHP, just as ruby and python, have an interactive shell?
Just type in on your console:
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 :)