3v4l.org

run code in 300+ PHP versions simultaneously
<?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; ?>
Output for 7.0.0 - 7.0.33, 7.1.0 - 7.1.33, 7.2.0 - 7.2.34, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.30, 8.2.0 - 8.2.24, 8.3.0 - 8.3.12
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.40
Fatal error: Call to undefined function mcrypt_decrypt() in /in/84426 on line 4
Process exited with code 255.

preferences:
82.49 ms | 407 KiB | 5 Q