3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $source = '5c7Zms7hW3y4e4gOCOjzfg=='; $pass = 'glop'; $method = openssl_get_cipher_methods(); echo "method: $method\n"; //$decrypted = openssl_decrypt($source, $method[ea], $pass); //echo "decrypted : $decrypted\n"; ?>
based on 086R4
Output for 5.4.15 - 5.4.19, 5.4.21 - 7.2.0
Notice: Array to string conversion in /in/96T33 on line 6 method: Array
Output for 5.0.0 - 5.4.14, 5.4.20
Fatal error: Call to undefined function openssl_get_cipher_methods() in /in/96T33 on line 5
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: openssl_get_cipher_methods() in /in/96T33 on line 5
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: openssl_get_cipher_methods() in /in/96T33 on line 5
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: openssl_get_cipher_methods() in /in/96T33 on line 5