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="4/lOF/4ZMmdPxlFjZD63nA=="; $data="e79c4da4f94b86cba5a81ba39fed083dbaf8bce5"; $key=base64_encode($data); $msg='felicitation'.decrypt(base64_decode($Validation),$key); echo $msg;
Output for 7.0.0 - 7.2.0
Fatal error: Uncaught Error: Call to undefined function mcrypt_decrypt() in /in/I5h1A:5 Stack trace: #0 /in/I5h1A(12): decrypt('\xE3\xF9N\x17\xFE\x192gO\xC6Qcd>\xB7...', 'ZTc5YzRkYTRmOTR...') #1 {main} thrown in /in/I5h1A on line 5
Process exited with code 255.
Output for 5.5.0 - 5.5.34, hhvm-3.10.1 - 3.21.0
felicitationmxYXd4hz5WAjTe1
Output for 5.5.35 - 5.6.30
Fatal error: Call to undefined function mcrypt_decrypt() in /in/I5h1A on line 5
Process exited with code 255.