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'; $iv = 'SinigangNaBaboy'; //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)); echo 'output'. openssl_decrypt ($encrypted , 'aes-192-cfb8' , $key); ?>
based on Zitnf
Output for 7.0.28 - 7.3.0rc3
Fatal error: Uncaught Error: Call to undefined function openssl_decrypt() in /in/J5Q1g:16 Stack trace: #0 {main} thrown in /in/J5Q1g on line 16
Process exited with code 255.
Output for 5.6.38
Fatal error: Call to undefined function openssl_decrypt() in /in/J5Q1g on line 16
Process exited with code 255.