3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $res = "5c7Zms7hW3y4e4gOCOjzfg=="; $clefSecrete = "glop"; $method = "aes-192-cfb8"; $decrypted = openssl_decrypt($encrypted, $methods[62], $clefSecrete); $bla = openssl_decrypt($res, $methods, $clefSecrete); echo $bla; ?>
based on rdKFs
Output for 7.0.30 - 7.3.0beta1
Fatal error: Uncaught Error: Call to undefined function openssl_decrypt() in /in/4pFTD:5 Stack trace: #0 {main} thrown in /in/4pFTD on line 5
Process exited with code 255.
Output for hhvm-3.22.0
Notice: Undefined variable: encrypted in /in/4pFTD on line -1 Notice: Undefined variable: methods in /in/4pFTD on line -1 Warning: Unknown cipher algorithm in /in/4pFTD on line -1 Notice: Undefined variable: methods in /in/4pFTD on line -1 Warning: Unknown cipher algorithm in /in/4pFTD on line -1
Output for hhvm-3.21.3
Notice: Undefined variable: encrypted in /in/4pFTD on line 5 Notice: Undefined variable: methods in /in/4pFTD on line 5 Warning: Unknown cipher algorithm in /in/4pFTD on line 5 Notice: Undefined variable: methods in /in/4pFTD on line 6 Warning: Unknown cipher algorithm in /in/4pFTD on line 6
Output for hhvm-3.18.5
Notice: Undefined variable: encrypted in /in/4pFTD on line 5 Notice: Undefined variable: methods in /in/4pFTD on line 5 Warning: openssl_decrypt() expects parameter 1 to be string, null given in /in/4pFTD on line 5 Notice: Undefined variable: methods in /in/4pFTD on line 6 Warning: openssl_decrypt() expects parameter 2 to be string, null given in /in/4pFTD on line 6
Output for 5.6.30
Fatal error: Call to undefined function openssl_decrypt() in /in/4pFTD on line 5
Process exited with code 255.