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_BLOWFISH, $key, $str, MCRYPT_MODE_CBC, $iv ); } $Validation = "ZMmdPxlFjZD63nA=="; $key = "e79c4da4f94b86cba5a81ba39fed083dbaf8bcd5"; $msg = decrypt(base64_decode($Validation),base64_encode($key)); echo $msg; ?>
based on 30Hm4
Output for 7.0.0 - 7.3.1
Fatal error: Uncaught Error: Call to undefined function mcrypt_decrypt() in /in/XOZsa:4 Stack trace: #0 /in/XOZsa(9): decrypt('d\xC9\x9D?\x19E\x8D\x90\xFA\xDEp', 'ZTc5YzRkYTRmOTR...') #1 {main} thrown in /in/XOZsa on line 4
Process exited with code 255.
Output for hhvm-3.10.1 - 3.22.0
�(X�d5�;٧Jc
Output for 5.0.0 - 5.6.38
Fatal error: Call to undefined function mcrypt_decrypt() in /in/XOZsa on line 4
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Warning: Wrong parameter count for md5() in /in/XOZsa on line 3 Fatal error: Call to undefined function: mcrypt_decrypt() in /in/XOZsa on line 4
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Warning: Wrong parameter count for md5() in /in/XOZsa on line 3 Fatal error: Call to undefined function: mcrypt_decrypt() in /in/XOZsa on line 4
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Warning: Wrong parameter count for md5() in /in/XOZsa on line 3 Fatal error: Call to undefined function: mcrypt_decrypt() in /in/XOZsa on line 4