A PHP MCrypt Script that Allows you to See the Decoded String - Eureka

I searched the web for around 30 minutes looking for a script that allowed me to use MCrypt with PHP and actually see the decoded string.
Check out this very thorough (well-written and commented) script. Works like a charm.