3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php function pkcs7_pad($data, $size) { $length = $size - strlen($data) % $size; return $data . str_repeat(chr($length), $length); } $encrypted = "5c7Zms7hW3y4e4gOCOjzfg=="; $key ='glop'; //echo mcrypt_decrypt(MCRYPT_RIJNDAEL_128, $key, base64_decode($encrypted), MCRYPT_MODE_CFB, $iv); //echo mcrypt_decrypt(MCRYPT_RIJNDAEL_128, str_pad($key, 32, chr(0), STR_PAD_RIGHT), base64_decode($encrypted), MCRYPT_MODE_CBC, str_pad($iv, 16, chr(0), STR_PAD_RIGHT)); $bla= openssl_decrypt($encrypted , 'aes-192-cfb8' , $key); echo $bla ?>
based on vtJo0
Output for 7.0.28 - 7.3.0rc3
Fatal error: Uncaught Error: Call to undefined function openssl_decrypt() in /in/I59K2:16 Stack trace: #0 {main} thrown in /in/I59K2 on line 16
Process exited with code 255.
Output for 5.6.38
Fatal error: Call to undefined function openssl_decrypt() in /in/I59K2 on line 16
Process exited with code 255.