3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string = "5c7Zms7hW3y4e4gOCOjzfg=="; $password = "glop"; $method = "aes-192-cfb8"; $decrypted = openssl_decrypt($encrypted, $method, $password); echo "$decrypted"; // Outputs: OeOiTWcgIPC1xIZaDJ3XTEaY/D4m1sQmxgPbzjxxlRA= => This is a readable string. ?>
based on 8basv
Output for 7.2.5 - 7.3.0alpha1
Fatal error: Uncaught Error: Call to undefined function openssl_decrypt() in /in/QB2vT:6 Stack trace: #0 {main} thrown in /in/QB2vT on line 6
Process exited with code 255.
Output for 5.6.0 - 7.1.7
Notice: Undefined variable: encrypted in /in/QB2vT on line 6