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 = "4lOF4ZMmdPxlFjZD63nA=="; $key = "e79c4da4f94b86cba5a81ba39fed083dbaf8bce"; $msg = $text['felicitation'].decrypt(base64_decode($Validation),base64_encode($key)); echo "Le flag est: ".($msg); ?>
based on qBIWS
Output for 7.0.0 - 7.3.0beta1
Notice: Undefined variable: text in /in/3t552 on line 9 Fatal error: Uncaught Error: Call to undefined function mcrypt_decrypt() in /in/3t552:4 Stack trace: #0 /in/3t552(9): decrypt('\xE2S\x85\xE1\x93&t\xFCe\x166C\xEBy\xC0', 'ZTc5YzRkYTRmOTR...') #1 {main} thrown in /in/3t552 on line 4
Process exited with code 255.
Output for hhvm-3.22.0
Notice: Undefined variable: text in /in/3t552 on line -1 Le flag est: ���Z�* y�szo�r�
Output for hhvm-3.18.5 - 3.21.3
Notice: Undefined variable: text in /in/3t552 on line 9 Le flag est: ���Z�* y�szo�r�
Output for 5.6.0 - 5.6.30
Notice: Undefined variable: text in /in/3t552 on line 9 Fatal error: Call to undefined function mcrypt_decrypt() in /in/3t552 on line 4
Process exited with code 255.