3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(openssl_get_md_methods());
Output for 7.0.0 - 7.3.0
Fatal error: Uncaught Error: Call to undefined function openssl_get_md_methods() in /in/6RXs5:2 Stack trace: #0 {main} thrown in /in/6RXs5 on line 2
Process exited with code 255.
Output for hhvm-3.10.1 - 3.22.0
array(24) { [0]=> string(3) "DSA" [1]=> string(7) "DSA-SHA" [2]=> string(3) "MD4" [3]=> string(3) "MD5" [4]=> string(9) "RIPEMD160" [5]=> string(3) "SHA" [6]=> string(4) "SHA1" [7]=> string(6) "SHA224" [8]=> string(6) "SHA256" [9]=> string(6) "SHA384" [10]=> string(6) "SHA512" [11]=> string(13) "dsaEncryption" [12]=> string(10) "dsaWithSHA" [13]=> string(15) "ecdsa-with-SHA1" [14]=> string(3) "md4" [15]=> string(3) "md5" [16]=> string(9) "ripemd160" [17]=> string(3) "sha" [18]=> string(4) "sha1" [19]=> string(6) "sha224" [20]=> string(6) "sha256" [21]=> string(6) "sha384" [22]=> string(6) "sha512" [23]=> string(9) "whirlpool" }
Output for 5.2.17 - 5.6.38
Fatal error: Call to undefined function openssl_get_md_methods() in /in/6RXs5 on line 2
Process exited with code 255.