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 = "AWPNfurpnp67Mge0WInMxw=="; $key =pkcs7_pad('SinigangNaManokMayHalongBaboy',32); $iv = pkcs7_pad('SinigangNaBaboy',24); echo mcrypt_decrypt(MCRYPT_RIJNDAEL_192, $key, base64_decode($encrypted), MCRYPT_MODE_CBC, $iv) ?>
based on TvEeM
Output for 7.0.6 - 7.3.0alpha1
Fatal error: Uncaught Error: Call to undefined function mcrypt_decrypt() in /in/qCDZT:12 Stack trace: #0 {main} thrown in /in/qCDZT on line 12
Process exited with code 255.
Output for 5.5.0 - 5.5.34, 5.6.0 - 5.6.20, 7.0.0 - 7.0.5
� �^�x�I+,h45�_�rbh8
Output for 5.5.35 - 5.5.36, 5.6.21 - 5.6.28
Fatal error: Call to undefined function mcrypt_decrypt() in /in/qCDZT on line 12
Process exited with code 255.