3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo '<pre>'; var_dump(openssl_get_md_methods()); echo '</pre>';
Output for 5.4.34 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
<pre>array(26) { [0]=> string(3) "DSA" [1]=> string(7) "DSA-SHA" [2]=> string(3) "MD4" [3]=> string(3) "MD5" [4]=> string(4) "MDC2" [5]=> string(9) "RIPEMD160" [6]=> string(3) "SHA" [7]=> string(4) "SHA1" [8]=> string(6) "SHA224" [9]=> string(6) "SHA256" [10]=> string(6) "SHA384" [11]=> string(6) "SHA512" [12]=> string(13) "dsaEncryption" [13]=> string(10) "dsaWithSHA" [14]=> string(15) "ecdsa-with-SHA1" [15]=> string(3) "md4" [16]=> string(3) "md5" [17]=> string(4) "mdc2" [18]=> string(9) "ripemd160" [19]=> string(3) "sha" [20]=> string(4) "sha1" [21]=> string(6) "sha224" [22]=> string(6) "sha256" [23]=> string(6) "sha384" [24]=> string(6) "sha512" [25]=> string(9) "whirlpool" } </pre>
Output for 5.0.0 - 5.4.32
<pre> Fatal error: Call to undefined function openssl_get_md_methods() in /in/jDY35 on line 3
Process exited with code 255.
Output for 4.4.5 - 4.4.9
<pre> Fatal error: Call to undefined function: openssl_get_md_methods() in /in/jDY35 on line 3
Process exited with code 255.
Output for 4.3.2 - 4.4.4
<pre> Fatal error: Call to undefined function: openssl_get_md_methods() in /in/jDY35 on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
<pre> Fatal error: Call to undefined function: openssl_get_md_methods() in /in/jDY35 on line 3