3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function decrypt($str, $key) { $iv = substr( md5("hacker",true), 0, 8 ); return mcrypt_decrypt(MCRYPT_RIJNDAEL_128, $key, $str, MCRYPT_MODE_CBC, $iv ); } $Validation = "4/lOF/4ZMmdPxlFjZD63nA=="; $key = "E79C4DA4F94B86CBA5A81BA39FED083DBAF8BCE5"; $msg = decrypt(base64_decode($Validation),base64_encode($key)); echo "RrtCCwaNeKHrNK2CE8LKnOziIRdDZlRRITLFWRXl+vdZZUTFsxFhkemeT4f1epUY".$msg; ?>
based on bZV1K
Output for 7.0.0 - 7.3.1
Fatal error: Uncaught Error: Call to undefined function mcrypt_decrypt() in /in/84426:4 Stack trace: #0 /in/84426(9): decrypt('\xE3\xF9N\x17\xFE\x192gO\xC6Qcd>\xB7...', 'RTc5QzREQTRGOTR...') #1 {main} thrown in /in/84426 on line 4
Process exited with code 255.
Output for 5.6.0 - 5.6.27
Fatal error: Call to undefined function mcrypt_decrypt() in /in/84426 on line 4
Process exited with code 255.