3v4l.org

run code in 300+ PHP versions simultaneously
<?php echo '<pre>'; var_dump(openssl_get_md_methods()); echo '</pre>';
Output for 7.1.20 - 7.1.33, 7.2.6 - 7.2.33, 7.3.0 - 7.3.33, 7.4.0 - 7.4.33, 8.0.0 - 8.0.30, 8.1.0 - 8.1.27, 8.2.0 - 8.2.17, 8.3.0 - 8.3.4
<pre> Fatal error: Uncaught Error: Call to undefined function openssl_get_md_methods() in /in/jDY35:3 Stack trace: #0 {main} thrown in /in/jDY35 on line 3
Process exited with code 255.
Output for 7.0.20, 7.1.5 - 7.1.10, 7.2.0
<pre>array(25) { [0]=> string(10) "BLAKE2b512" [1]=> string(10) "BLAKE2s256" [2]=> string(3) "MD4" [3]=> string(3) "MD5" [4]=> string(8) "MD5-SHA1" [5]=> string(4) "MDC2" [6]=> string(9) "RIPEMD160" [7]=> string(4) "SHA1" [8]=> string(6) "SHA224" [9]=> string(6) "SHA256" [10]=> string(6) "SHA384" [11]=> string(6) "SHA512" [12]=> string(10) "blake2b512" [13]=> string(10) "blake2s256" [14]=> string(3) "md4" [15]=> string(3) "md5" [16]=> string(8) "md5-sha1" [17]=> string(4) "mdc2" [18]=> string(9) "ripemd160" [19]=> string(4) "sha1" [20]=> string(6) "sha224" [21]=> string(6) "sha256" [22]=> string(6) "sha384" [23]=> string(6) "sha512" [24]=> string(9) "whirlpool" } </pre>
Output for 5.4.34 - 5.4.45, 5.5.24 - 5.5.35, 5.6.8 - 5.6.28, 7.0.0 - 7.0.14, 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.0.5, 5.1.0 - 5.1.6, 5.2.0 - 5.2.17, 5.3.0 - 5.3.29, 5.4.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.3.11, 4.4.0 - 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

preferences:
233.9 ms | 401 KiB | 338 Q