3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php var_dump(get_extension_funcs('openssl'));
based on GafUZ
Output for 7.1.20 - 7.3.0beta1
bool(false)
Output for 7.1.0 - 7.1.10
array(55) { [0]=> string(26) "openssl_get_cert_locations" [1]=> string(16) "openssl_spki_new" [2]=> string(19) "openssl_spki_verify" [3]=> string(19) "openssl_spki_export" [4]=> string(29) "openssl_spki_export_challenge" [5]=> string(17) "openssl_pkey_free" [6]=> string(16) "openssl_pkey_new" [7]=> string(19) "openssl_pkey_export" [8]=> string(27) "openssl_pkey_export_to_file" [9]=> string(24) "openssl_pkey_get_private" [10]=> string(23) "openssl_pkey_get_public" [11]=> string(24) "openssl_pkey_get_details" [12]=> string(16) "openssl_free_key" [13]=> string(22) "openssl_get_privatekey" [14]=> string(21) "openssl_get_publickey" [15]=> string(17) "openssl_x509_read" [16]=> string(17) "openssl_x509_free" [17]=> string(18) "openssl_x509_parse" [18]=> string(25) "openssl_x509_checkpurpose" [19]=> string(30) "openssl_x509_check_private_key" [20]=> string(19) "openssl_x509_export" [21]=> string(24) "openssl_x509_fingerprint" [22]=> string(27) "openssl_x509_export_to_file" [23]=> string(21) "openssl_pkcs12_export" [24]=> string(29) "openssl_pkcs12_export_to_file" [25]=> string(19) "openssl_pkcs12_read" [26]=> string(15) "openssl_csr_new" [27]=> string(18) "openssl_csr_export" [28]=> string(26) "openssl_csr_export_to_file" [29]=> string(16) "openssl_csr_sign" [30]=> string(23) "openssl_csr_get_subject" [31]=> string(26) "openssl_csr_get_public_key" [32]=> string(14) "openssl_digest" [33]=> string(15) "openssl_encrypt" [34]=> string(15) "openssl_decrypt" [35]=> string(24) "openssl_cipher_iv_length" [36]=> string(12) "openssl_sign" [37]=> string(14) "openssl_verify" [38]=> string(12) "openssl_seal" [39]=> string(12) "openssl_open" [40]=> string(14) "openssl_pbkdf2" [41]=> string(20) "openssl_pkcs7_verify" [42]=> string(21) "openssl_pkcs7_decrypt" [43]=> string(18) "openssl_pkcs7_sign" [44]=> string(21) "openssl_pkcs7_encrypt" [45]=> string(23) "openssl_private_encrypt" [46]=> string(23) "openssl_private_decrypt" [47]=> string(22) "openssl_public_encrypt" [48]=> string(22) "openssl_public_decrypt" [49]=> string(22) "openssl_get_md_methods" [50]=> string(26) "openssl_get_cipher_methods" [51]=> string(23) "openssl_get_curve_names" [52]=> string(22) "openssl_dh_compute_key" [53]=> string(27) "openssl_random_pseudo_bytes" [54]=> string(20) "openssl_error_string" }
Output for 5.6.0 - 5.6.30, 7.0.0 - 7.0.24
array(54) { [0]=> string(26) "openssl_get_cert_locations" [1]=> string(16) "openssl_spki_new" [2]=> string(19) "openssl_spki_verify" [3]=> string(19) "openssl_spki_export" [4]=> string(29) "openssl_spki_export_challenge" [5]=> string(17) "openssl_pkey_free" [6]=> string(16) "openssl_pkey_new" [7]=> string(19) "openssl_pkey_export" [8]=> string(27) "openssl_pkey_export_to_file" [9]=> string(24) "openssl_pkey_get_private" [10]=> string(23) "openssl_pkey_get_public" [11]=> string(24) "openssl_pkey_get_details" [12]=> string(16) "openssl_free_key" [13]=> string(22) "openssl_get_privatekey" [14]=> string(21) "openssl_get_publickey" [15]=> string(17) "openssl_x509_read" [16]=> string(17) "openssl_x509_free" [17]=> string(18) "openssl_x509_parse" [18]=> string(25) "openssl_x509_checkpurpose" [19]=> string(30) "openssl_x509_check_private_key" [20]=> string(19) "openssl_x509_export" [21]=> string(24) "openssl_x509_fingerprint" [22]=> string(27) "openssl_x509_export_to_file" [23]=> string(21) "openssl_pkcs12_export" [24]=> string(29) "openssl_pkcs12_export_to_file" [25]=> string(19) "openssl_pkcs12_read" [26]=> string(15) "openssl_csr_new" [27]=> string(18) "openssl_csr_export" [28]=> string(26) "openssl_csr_export_to_file" [29]=> string(16) "openssl_csr_sign" [30]=> string(23) "openssl_csr_get_subject" [31]=> string(26) "openssl_csr_get_public_key" [32]=> string(14) "openssl_digest" [33]=> string(15) "openssl_encrypt" [34]=> string(15) "openssl_decrypt" [35]=> string(24) "openssl_cipher_iv_length" [36]=> string(12) "openssl_sign" [37]=> string(14) "openssl_verify" [38]=> string(12) "openssl_seal" [39]=> string(12) "openssl_open" [40]=> string(14) "openssl_pbkdf2" [41]=> string(20) "openssl_pkcs7_verify" [42]=> string(21) "openssl_pkcs7_decrypt" [43]=> string(18) "openssl_pkcs7_sign" [44]=> string(21) "openssl_pkcs7_encrypt" [45]=> string(23) "openssl_private_encrypt" [46]=> string(23) "openssl_private_decrypt" [47]=> string(22) "openssl_public_encrypt" [48]=> string(22) "openssl_public_decrypt" [49]=> string(22) "openssl_get_md_methods" [50]=> string(26) "openssl_get_cipher_methods" [51]=> string(22) "openssl_dh_compute_key" [52]=> string(27) "openssl_random_pseudo_bytes" [53]=> string(20) "openssl_error_string" }
Output for hhvm-3.18.5 - 3.22.0
array(42) { [0]=> string(26) "openssl_csr_export_to_file" [1]=> string(18) "openssl_csr_export" [2]=> string(26) "openssl_csr_get_public_key" [3]=> string(23) "openssl_csr_get_subject" [4]=> string(15) "openssl_csr_new" [5]=> string(16) "openssl_csr_sign" [6]=> string(20) "openssl_error_string" [7]=> string(12) "openssl_open" [8]=> string(29) "openssl_pkcs12_export_to_file" [9]=> string(21) "openssl_pkcs12_export" [10]=> string(19) "openssl_pkcs12_read" [11]=> string(21) "openssl_pkcs7_decrypt" [12]=> string(21) "openssl_pkcs7_encrypt" [13]=> string(18) "openssl_pkcs7_sign" [14]=> string(20) "openssl_pkcs7_verify" [15]=> string(27) "openssl_pkey_export_to_file" [16]=> string(19) "openssl_pkey_export" [17]=> string(24) "openssl_pkey_get_details" [18]=> string(24) "openssl_pkey_get_private" [19]=> string(23) "openssl_pkey_get_public" [20]=> string(16) "openssl_pkey_new" [21]=> string(23) "openssl_private_decrypt" [22]=> string(23) "openssl_private_encrypt" [23]=> string(22) "openssl_public_decrypt" [24]=> string(22) "openssl_public_encrypt" [25]=> string(12) "openssl_seal" [26]=> string(12) "openssl_sign" [27]=> string(14) "openssl_verify" [28]=> string(30) "openssl_x509_check_private_key" [29]=> string(25) "openssl_x509_checkpurpose" [30]=> string(27) "openssl_x509_export_to_file" [31]=> string(19) "openssl_x509_export" [32]=> string(18) "openssl_x509_parse" [33]=> string(17) "openssl_x509_read" [34]=> string(27) "openssl_random_pseudo_bytes" [35]=> string(24) "openssl_cipher_iv_length" [36]=> string(15) "openssl_encrypt" [37]=> string(15) "openssl_decrypt" [38]=> string(14) "openssl_digest" [39]=> string(26) "openssl_get_cipher_methods" [40]=> string(23) "openssl_get_curve_names" [41]=> string(22) "openssl_get_md_methods" }