3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $clefSecrete = "glop"; $str = '5c7Zms7hW3y4e4gOCOjzfg=='; $bla = openssl_decrypt($str['password'], $method[62], $clefSecrete); print "SSH Credentials:<br>username: root:<br>password: <b>" . $bla . "</b>"; ?>
based on Jqbuh
Output for 5.4.15 - 5.4.19, 5.4.21 - 7.2.0
Warning: Illegal string offset 'password' in /in/kGUK2 on line 4 Notice: Undefined variable: method in /in/kGUK2 on line 4 Warning: openssl_decrypt(): Unknown cipher algorithm in /in/kGUK2 on line 4 SSH Credentials:<br>username: root:<br>password: <b></b>
Output for 5.0.0 - 5.4.14, 5.4.20
Fatal error: Call to undefined function openssl_decrypt() in /in/kGUK2 on line 4
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: openssl_decrypt() in /in/kGUK2 on line 4
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: openssl_decrypt() in /in/kGUK2 on line 4
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: openssl_decrypt() in /in/kGUK2 on line 4