3v4l.org

run code in 300+ PHP versions simultaneously
<?php var_dump(mcrypt_list_algorithms()); var_dump(openssl_get_cipher_methods());
Output for 7.0.0 - 7.0.26, 7.1.0 - 7.1.20, 7.2.0 - 7.2.33, 7.3.16 - 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
Fatal error: Uncaught Error: Call to undefined function mcrypt_list_algorithms() in /in/m4P2C:3 Stack trace: #0 {main} thrown in /in/m4P2C on line 3
Process exited with code 255.
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.5.35 - 5.5.38, 5.6.0 - 5.6.30
Fatal error: Call to undefined function mcrypt_list_algorithms() in /in/m4P2C on line 3
Process exited with code 255.
Output for 5.4.15 - 5.4.45, 5.5.0 - 5.5.34
array(19) { [0]=> string(8) "cast-128" [1]=> string(4) "gost" [2]=> string(12) "rijndael-128" [3]=> string(7) "twofish" [4]=> string(7) "arcfour" [5]=> string(8) "cast-256" [6]=> string(6) "loki97" [7]=> string(12) "rijndael-192" [8]=> string(9) "saferplus" [9]=> string(4) "wake" [10]=> string(15) "blowfish-compat" [11]=> string(3) "des" [12]=> string(12) "rijndael-256" [13]=> string(7) "serpent" [14]=> string(4) "xtea" [15]=> string(8) "blowfish" [16]=> string(6) "enigma" [17]=> string(3) "rc2" [18]=> string(9) "tripledes" } array(168) { [0]=> string(11) "AES-128-CBC" [1]=> string(21) "AES-128-CBC-HMAC-SHA1" [2]=> string(11) "AES-128-CFB" [3]=> string(12) "AES-128-CFB1" [4]=> string(12) "AES-128-CFB8" [5]=> string(11) "AES-128-CTR" [6]=> string(11) "AES-128-ECB" [7]=> string(11) "AES-128-OFB" [8]=> string(11) "AES-128-XTS" [9]=> string(11) "AES-192-CBC" [10]=> string(11) "AES-192-CFB" [11]=> string(12) "AES-192-CFB1" [12]=> string(12) "AES-192-CFB8" [13]=> string(11) "AES-192-CTR" [14]=> string(11) "AES-192-ECB" [15]=> string(11) "AES-192-OFB" [16]=> string(11) "AES-256-CBC" [17]=> string(21) "AES-256-CBC-HMAC-SHA1" [18]=> string(11) "AES-256-CFB" [19]=> string(12) "AES-256-CFB1" [20]=> string(12) "AES-256-CFB8" [21]=> string(11) "AES-256-CTR" [22]=> string(11) "AES-256-ECB" [23]=> string(11) "AES-256-OFB" [24]=> string(11) "AES-256-XTS" [25]=> string(6) "BF-CBC" [26]=> string(6) "BF-CFB" [27]=> string(6) "BF-ECB" [28]=> string(6) "BF-OFB" [29]=> string(16) "CAMELLIA-128-CBC" [30]=> string(16) "CAMELLIA-128-CFB" [31]=> string(17) "CAMELLIA-128-CFB1" [32]=> string(17) "CAMELLIA-128-CFB8" [33]=> string(16) "CAMELLIA-128-ECB" [34]=> string(16) "CAMELLIA-128-OFB" [35]=> string(16) "CAMELLIA-192-CBC" [36]=> string(16) "CAMELLIA-192-CFB" [37]=> string(17) "CAMELLIA-192-CFB1" [38]=> string(17) "CAMELLIA-192-CFB8" [39]=> string(16) "CAMELLIA-192-ECB" [40]=> string(16) "CAMELLIA-192-OFB" [41]=> string(16) "CAMELLIA-256-CBC" [42]=> string(16) "CAMELLIA-256-CFB" [43]=> string(17) "CAMELLIA-256-CFB1" [44]=> string(17) "CAMELLIA-256-CFB8" [45]=> string(16) "CAMELLIA-256-ECB" [46]=> string(16) "CAMELLIA-256-OFB" [47]=> string(9) "CAST5-CBC" [48]=> string(9) "CAST5-CFB" [49]=> string(9) "CAST5-ECB" [50]=> string(9) "CAST5-OFB" [51]=> string(7) "DES-CBC" [52]=> string(7) "DES-CFB" [53]=> string(8) "DES-CFB1" [54]=> string(8) "DES-CFB8" [55]=> string(7) "DES-ECB" [56]=> string(7) "DES-EDE" [57]=> string(11) "DES-EDE-CBC" [58]=> string(11) "DES-EDE-CFB" [59]=> string(11) "DES-EDE-OFB" [60]=> string(8) "DES-EDE3" [61]=> string(12) "DES-EDE3-CBC" [62]=> string(12) "DES-EDE3-CFB" [63]=> string(13) "DES-EDE3-CFB1" [64]=> string(13) "DES-EDE3-CFB8" [65]=> string(12) "DES-EDE3-OFB" [66]=> string(7) "DES-OFB" [67]=> string(8) "DESX-CBC" [68]=> string(10) "RC2-40-CBC" [69]=> string(10) "RC2-64-CBC" [70]=> string(7) "RC2-CBC" [71]=> string(7) "RC2-CFB" [72]=> string(7) "RC2-ECB" [73]=> string(7) "RC2-OFB" [74]=> string(3) "RC4" [75]=> string(6) "RC4-40" [76]=> string(12) "RC4-HMAC-MD5" [77]=> string(8) "SEED-CBC" [78]=> string(8) "SEED-CFB" [79]=> string(8) "SEED-ECB" [80]=> string(8) "SEED-OFB" [81]=> string(11) "aes-128-cbc" [82]=> string(21) "aes-128-cbc-hmac-sha1" [83]=> string(11) "aes-128-cfb" [84]=> string(12) "aes-128-cfb1" [85]=> string(12) "aes-128-cfb8" [86]=> string(11) "aes-128-ctr" [87]=> string(11) "aes-128-ecb" [88]=> string(11) "aes-128-gcm" [89]=> string(11) "aes-128-ofb" [90]=> string(11) "aes-128-xts" [91]=> string(11) "aes-192-cbc" [92]=> string(11) "aes-192-cfb" [93]=> string(12) "aes-192-cfb1" [94]=> string(12) "aes-192-cfb8" [95]=> string(11) "aes-192-ctr" [96]=> string(11) "aes-192-ecb" [97]=> string(11) "aes-192-gcm" [98]=> string(11) "aes-192-ofb" [99]=> string(11) "aes-256-cbc" [100]=> string(21) "aes-256-cbc-hmac-sha1" [101]=> string(11) "aes-256-cfb" [102]=> string(12) "aes-256-cfb1" [103]=> string(12) "aes-256-cfb8" [104]=> string(11) "aes-256-ctr" [105]=> string(11) "aes-256-ecb" [106]=> string(11) "aes-256-gcm" [107]=> string(11) "aes-256-ofb" [108]=> string(11) "aes-256-xts" [109]=> string(6) "bf-cbc" [110]=> string(6) "bf-cfb" [111]=> string(6) "bf-ecb" [112]=> string(6) "bf-ofb" [113]=> string(16) "camellia-128-cbc" [114]=> string(16) "camellia-128-cfb" [115]=> string(17) "camellia-128-cfb1" [116]=> string(17) "camellia-128-cfb8" [117]=> string(16) "camellia-128-ecb" [118]=> string(16) "camellia-128-ofb" [119]=> string(16) "camellia-192-cbc" [120]=> string(16) "camellia-192-cfb" [121]=> string(17) "camellia-192-cfb1" [122]=> string(17) "camellia-192-cfb8" [123]=> string(16) "camellia-192-ecb" [124]=> string(16) "camellia-192-ofb" [125]=> string(16) "camellia-256-cbc" [126]=> string(16) "camellia-256-cfb" [127]=> string(17) "camellia-256-cfb1" [128]=> string(17) "camellia-256-cfb8" [129]=> string(16) "camellia-256-ecb" [130]=> string(16) "camellia-256-ofb" [131]=> string(9) "cast5-cbc" [132]=> string(9) "cast5-cfb" [133]=> string(9) "cast5-ecb" [134]=> string(9) "cast5-ofb" [135]=> string(7) "des-cbc" [136]=> string(7) "des-cfb" [137]=> string(8) "des-cfb1" [138]=> string(8) "des-cfb8" [139]=> string(7) "des-ecb" [140]=> string(7) "des-ede" [141]=> string(11) "des-ede-cbc" [142]=> string(11) "des-ede-cfb" [143]=> string(11) "des-ede-ofb" [144]=> string(8) "des-ede3" [145]=> string(12) "des-ede3-cbc" [146]=> string(12) "des-ede3-cfb" [147]=> string(13) "des-ede3-cfb1" [148]=> string(13) "des-ede3-cfb8" [149]=> string(12) "des-ede3-ofb" [150]=> string(7) "des-ofb" [151]=> string(8) "desx-cbc" [152]=> string(13) "id-aes128-GCM" [153]=> string(13) "id-aes192-GCM" [154]=> string(13) "id-aes256-GCM" [155]=> string(10) "rc2-40-cbc" [156]=> string(10) "rc2-64-cbc" [157]=> string(7) "rc2-cbc" [158]=> string(7) "rc2-cfb" [159]=> string(7) "rc2-ecb" [160]=> string(7) "rc2-ofb" [161]=> string(3) "rc4" [162]=> string(6) "rc4-40" [163]=> string(12) "rc4-hmac-md5" [164]=> string(8) "seed-cbc" [165]=> string(8) "seed-cfb" [166]=> string(8) "seed-ecb" [167]=> string(8) "seed-ofb" }
Output for 5.4.0 - 5.4.14
array(19) { [0]=> string(8) "cast-128" [1]=> string(4) "gost" [2]=> string(12) "rijndael-128" [3]=> string(7) "twofish" [4]=> string(7) "arcfour" [5]=> string(8) "cast-256" [6]=> string(6) "loki97" [7]=> string(12) "rijndael-192" [8]=> string(9) "saferplus" [9]=> string(4) "wake" [10]=> string(15) "blowfish-compat" [11]=> string(3) "des" [12]=> string(12) "rijndael-256" [13]=> string(7) "serpent" [14]=> string(4) "xtea" [15]=> string(8) "blowfish" [16]=> string(6) "enigma" [17]=> string(3) "rc2" [18]=> string(9) "tripledes" } Fatal error: Call to undefined function openssl_get_cipher_methods() in /in/m4P2C on line 4
Process exited with code 255.
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: mcrypt_list_algorithms() in /in/m4P2C on line 3
Process exited with code 255.
Output for 4.3.2 - 4.3.11, 4.4.0 - 4.4.4
Fatal error: Call to undefined function: mcrypt_list_algorithms() in /in/m4P2C on line 3
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: mcrypt_list_algorithms() in /in/m4P2C on line 3

preferences:
260.54 ms | 401 KiB | 376 Q