3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php var_dump(mb_list_encodings());
Output for 5.4.0 - 5.6.28, hhvm-3.10.0 - 3.12.0, 7.0.0 - 7.1.0
array(87) { [0]=> string(4) "pass" [1]=> string(4) "auto" [2]=> string(5) "wchar" [3]=> string(7) "byte2be" [4]=> string(7) "byte2le" [5]=> string(7) "byte4be" [6]=> string(7) "byte4le" [7]=> string(6) "BASE64" [8]=> string(8) "UUENCODE" [9]=> string(13) "HTML-ENTITIES" [10]=> string(16) "Quoted-Printable" [11]=> string(4) "7bit" [12]=> string(4) "8bit" [13]=> string(5) "UCS-4" [14]=> string(7) "UCS-4BE" [15]=> string(7) "UCS-4LE" [16]=> string(5) "UCS-2" [17]=> string(7) "UCS-2BE" [18]=> string(7) "UCS-2LE" [19]=> string(6) "UTF-32" [20]=> string(8) "UTF-32BE" [21]=> string(8) "UTF-32LE" [22]=> string(6) "UTF-16" [23]=> string(8) "UTF-16BE" [24]=> string(8) "UTF-16LE" [25]=> string(5) "UTF-8" [26]=> string(5) "UTF-7" [27]=> string(9) "UTF7-IMAP" [28]=> string(5) "ASCII" [29]=> string(6) "EUC-JP" [30]=> string(4) "SJIS" [31]=> string(9) "eucJP-win" [32]=> string(11) "EUC-JP-2004" [33]=> string(8) "SJIS-win" [34]=> string(18) "SJIS-Mobile#DOCOMO" [35]=> string(16) "SJIS-Mobile#KDDI" [36]=> string(20) "SJIS-Mobile#SOFTBANK" [37]=> string(8) "SJIS-mac" [38]=> string(9) "SJIS-2004" [39]=> string(19) "UTF-8-Mobile#DOCOMO" [40]=> string(19) "UTF-8-Mobile#KDDI-A" [41]=> string(19) "UTF-8-Mobile#KDDI-B" [42]=> string(21) "UTF-8-Mobile#SOFTBANK" [43]=> string(5) "CP932" [44]=> string(7) "CP51932" [45]=> string(3) "JIS" [46]=> string(11) "ISO-2022-JP" [47]=> string(14) "ISO-2022-JP-MS" [48]=> string(7) "GB18030" [49]=> string(12) "Windows-1252" [50]=> string(12) "Windows-1254" [51]=> string(10) "ISO-8859-1" [52]=> string(10) "ISO-8859-2" [53]=> string(10) "ISO-8859-3" [54]=> string(10) "ISO-8859-4" [55]=> string(10) "ISO-8859-5" [56]=> string(10) "ISO-8859-6" [57]=> string(10) "ISO-8859-7" [58]=> string(10) "ISO-8859-8" [59]=> string(10) "ISO-8859-9" [60]=> string(11) "ISO-8859-10" [61]=> string(11) "ISO-8859-13" [62]=> string(11) "ISO-8859-14" [63]=> string(11) "ISO-8859-15" [64]=> string(11) "ISO-8859-16" [65]=> string(6) "EUC-CN" [66]=> string(5) "CP936" [67]=> string(2) "HZ" [68]=> string(6) "EUC-TW" [69]=> string(5) "BIG-5" [70]=> string(5) "CP950" [71]=> string(6) "EUC-KR" [72]=> string(3) "UHC" [73]=> string(11) "ISO-2022-KR" [74]=> string(12) "Windows-1251" [75]=> string(5) "CP866" [76]=> string(6) "KOI8-R" [77]=> string(6) "KOI8-U" [78]=> string(9) "ArmSCII-8" [79]=> string(5) "CP850" [80]=> string(6) "JIS-ms" [81]=> string(16) "ISO-2022-JP-2004" [82]=> string(23) "ISO-2022-JP-MOBILE#KDDI" [83]=> string(7) "CP50220" [84]=> string(10) "CP50220raw" [85]=> string(7) "CP50221" [86]=> string(7) "CP50222" }
Output for 5.3.3 - 5.3.29
array(73) { [0]=> string(4) "pass" [1]=> string(4) "auto" [2]=> string(5) "wchar" [3]=> string(7) "byte2be" [4]=> string(7) "byte2le" [5]=> string(7) "byte4be" [6]=> string(7) "byte4le" [7]=> string(6) "BASE64" [8]=> string(8) "UUENCODE" [9]=> string(13) "HTML-ENTITIES" [10]=> string(16) "Quoted-Printable" [11]=> string(4) "7bit" [12]=> string(4) "8bit" [13]=> string(5) "UCS-4" [14]=> string(7) "UCS-4BE" [15]=> string(7) "UCS-4LE" [16]=> string(5) "UCS-2" [17]=> string(7) "UCS-2BE" [18]=> string(7) "UCS-2LE" [19]=> string(6) "UTF-32" [20]=> string(8) "UTF-32BE" [21]=> string(8) "UTF-32LE" [22]=> string(6) "UTF-16" [23]=> string(8) "UTF-16BE" [24]=> string(8) "UTF-16LE" [25]=> string(5) "UTF-8" [26]=> string(5) "UTF-7" [27]=> string(9) "UTF7-IMAP" [28]=> string(5) "ASCII" [29]=> string(6) "EUC-JP" [30]=> string(4) "SJIS" [31]=> string(9) "eucJP-win" [32]=> string(8) "SJIS-win" [33]=> string(5) "CP932" [34]=> string(7) "CP51932" [35]=> string(3) "JIS" [36]=> string(11) "ISO-2022-JP" [37]=> string(14) "ISO-2022-JP-MS" [38]=> string(12) "Windows-1252" [39]=> string(12) "Windows-1254" [40]=> string(10) "ISO-8859-1" [41]=> string(10) "ISO-8859-2" [42]=> string(10) "ISO-8859-3" [43]=> string(10) "ISO-8859-4" [44]=> string(10) "ISO-8859-5" [45]=> string(10) "ISO-8859-6" [46]=> string(10) "ISO-8859-7" [47]=> string(10) "ISO-8859-8" [48]=> string(10) "ISO-8859-9" [49]=> string(11) "ISO-8859-10" [50]=> string(11) "ISO-8859-13" [51]=> string(11) "ISO-8859-14" [52]=> string(11) "ISO-8859-15" [53]=> string(11) "ISO-8859-16" [54]=> string(6) "EUC-CN" [55]=> string(5) "CP936" [56]=> string(2) "HZ" [57]=> string(6) "EUC-TW" [58]=> string(5) "BIG-5" [59]=> string(6) "EUC-KR" [60]=> string(3) "UHC" [61]=> string(11) "ISO-2022-KR" [62]=> string(12) "Windows-1251" [63]=> string(5) "CP866" [64]=> string(6) "KOI8-R" [65]=> string(6) "KOI8-U" [66]=> string(9) "ArmSCII-8" [67]=> string(5) "CP850" [68]=> string(6) "JIS-ms" [69]=> string(7) "CP50220" [70]=> string(10) "CP50220raw" [71]=> string(7) "CP50221" [72]=> string(7) "CP50222" }
Output for 5.3.0 - 5.3.2
array(67) { [0]=> string(4) "pass" [1]=> string(4) "auto" [2]=> string(5) "wchar" [3]=> string(7) "byte2be" [4]=> string(7) "byte2le" [5]=> string(7) "byte4be" [6]=> string(7) "byte4le" [7]=> string(6) "BASE64" [8]=> string(8) "UUENCODE" [9]=> string(13) "HTML-ENTITIES" [10]=> string(16) "Quoted-Printable" [11]=> string(4) "7bit" [12]=> string(4) "8bit" [13]=> string(5) "UCS-4" [14]=> string(7) "UCS-4BE" [15]=> string(7) "UCS-4LE" [16]=> string(5) "UCS-2" [17]=> string(7) "UCS-2BE" [18]=> string(7) "UCS-2LE" [19]=> string(6) "UTF-32" [20]=> string(8) "UTF-32BE" [21]=> string(8) "UTF-32LE" [22]=> string(6) "UTF-16" [23]=> string(8) "UTF-16BE" [24]=> string(8) "UTF-16LE" [25]=> string(5) "UTF-8" [26]=> string(5) "UTF-7" [27]=> string(9) "UTF7-IMAP" [28]=> string(5) "ASCII" [29]=> string(6) "EUC-JP" [30]=> string(4) "SJIS" [31]=> string(9) "eucJP-win" [32]=> string(8) "SJIS-win" [33]=> string(7) "CP51932" [34]=> string(3) "JIS" [35]=> string(11) "ISO-2022-JP" [36]=> string(14) "ISO-2022-JP-MS" [37]=> string(12) "Windows-1252" [38]=> string(12) "Windows-1254" [39]=> string(10) "ISO-8859-1" [40]=> string(10) "ISO-8859-2" [41]=> string(10) "ISO-8859-3" [42]=> string(10) "ISO-8859-4" [43]=> string(10) "ISO-8859-5" [44]=> string(10) "ISO-8859-6" [45]=> string(10) "ISO-8859-7" [46]=> string(10) "ISO-8859-8" [47]=> string(10) "ISO-8859-9" [48]=> string(11) "ISO-8859-10" [49]=> string(11) "ISO-8859-13" [50]=> string(11) "ISO-8859-14" [51]=> string(11) "ISO-8859-15" [52]=> string(11) "ISO-8859-16" [53]=> string(6) "EUC-CN" [54]=> string(5) "CP936" [55]=> string(2) "HZ" [56]=> string(6) "EUC-TW" [57]=> string(5) "BIG-5" [58]=> string(6) "EUC-KR" [59]=> string(3) "UHC" [60]=> string(11) "ISO-2022-KR" [61]=> string(12) "Windows-1251" [62]=> string(5) "CP866" [63]=> string(6) "KOI8-R" [64]=> string(6) "KOI8-U" [65]=> string(9) "ArmSCII-8" [66]=> string(5) "CP850" }
Output for 5.2.1 - 5.2.17
array(64) { [0]=> string(4) "pass" [1]=> string(4) "auto" [2]=> string(5) "wchar" [3]=> string(7) "byte2be" [4]=> string(7) "byte2le" [5]=> string(7) "byte4be" [6]=> string(7) "byte4le" [7]=> string(6) "BASE64" [8]=> string(8) "UUENCODE" [9]=> string(13) "HTML-ENTITIES" [10]=> string(16) "Quoted-Printable" [11]=> string(4) "7bit" [12]=> string(4) "8bit" [13]=> string(5) "UCS-4" [14]=> string(7) "UCS-4BE" [15]=> string(7) "UCS-4LE" [16]=> string(5) "UCS-2" [17]=> string(7) "UCS-2BE" [18]=> string(7) "UCS-2LE" [19]=> string(6) "UTF-32" [20]=> string(8) "UTF-32BE" [21]=> string(8) "UTF-32LE" [22]=> string(6) "UTF-16" [23]=> string(8) "UTF-16BE" [24]=> string(8) "UTF-16LE" [25]=> string(5) "UTF-8" [26]=> string(5) "UTF-7" [27]=> string(9) "UTF7-IMAP" [28]=> string(5) "ASCII" [29]=> string(6) "EUC-JP" [30]=> string(4) "SJIS" [31]=> string(9) "eucJP-win" [32]=> string(8) "SJIS-win" [33]=> string(7) "CP51932" [34]=> string(3) "JIS" [35]=> string(11) "ISO-2022-JP" [36]=> string(14) "ISO-2022-JP-MS" [37]=> string(12) "Windows-1252" [38]=> string(10) "ISO-8859-1" [39]=> string(10) "ISO-8859-2" [40]=> string(10) "ISO-8859-3" [41]=> string(10) "ISO-8859-4" [42]=> string(10) "ISO-8859-5" [43]=> string(10) "ISO-8859-6" [44]=> string(10) "ISO-8859-7" [45]=> string(10) "ISO-8859-8" [46]=> string(10) "ISO-8859-9" [47]=> string(11) "ISO-8859-10" [48]=> string(11) "ISO-8859-13" [49]=> string(11) "ISO-8859-14" [50]=> string(11) "ISO-8859-15" [51]=> string(11) "ISO-8859-16" [52]=> string(6) "EUC-CN" [53]=> string(5) "CP936" [54]=> string(2) "HZ" [55]=> string(6) "EUC-TW" [56]=> string(5) "BIG-5" [57]=> string(6) "EUC-KR" [58]=> string(3) "UHC" [59]=> string(11) "ISO-2022-KR" [60]=> string(12) "Windows-1251" [61]=> string(5) "CP866" [62]=> string(6) "KOI8-R" [63]=> string(9) "ArmSCII-8" }
Output for 5.1.0 - 5.2.0
array(62) { [0]=> string(4) "pass" [1]=> string(4) "auto" [2]=> string(5) "wchar" [3]=> string(7) "byte2be" [4]=> string(7) "byte2le" [5]=> string(7) "byte4be" [6]=> string(7) "byte4le" [7]=> string(6) "BASE64" [8]=> string(8) "UUENCODE" [9]=> string(13) "HTML-ENTITIES" [10]=> string(16) "Quoted-Printable" [11]=> string(4) "7bit" [12]=> string(4) "8bit" [13]=> string(5) "UCS-4" [14]=> string(7) "UCS-4BE" [15]=> string(7) "UCS-4LE" [16]=> string(5) "UCS-2" [17]=> string(7) "UCS-2BE" [18]=> string(7) "UCS-2LE" [19]=> string(6) "UTF-32" [20]=> string(8) "UTF-32BE" [21]=> string(8) "UTF-32LE" [22]=> string(6) "UTF-16" [23]=> string(8) "UTF-16BE" [24]=> string(8) "UTF-16LE" [25]=> string(5) "UTF-8" [26]=> string(5) "UTF-7" [27]=> string(9) "UTF7-IMAP" [28]=> string(5) "ASCII" [29]=> string(6) "EUC-JP" [30]=> string(4) "SJIS" [31]=> string(9) "eucJP-win" [32]=> string(8) "SJIS-win" [33]=> string(3) "JIS" [34]=> string(11) "ISO-2022-JP" [35]=> string(12) "Windows-1252" [36]=> string(10) "ISO-8859-1" [37]=> string(10) "ISO-8859-2" [38]=> string(10) "ISO-8859-3" [39]=> string(10) "ISO-8859-4" [40]=> string(10) "ISO-8859-5" [41]=> string(10) "ISO-8859-6" [42]=> string(10) "ISO-8859-7" [43]=> string(10) "ISO-8859-8" [44]=> string(10) "ISO-8859-9" [45]=> string(11) "ISO-8859-10" [46]=> string(11) "ISO-8859-13" [47]=> string(11) "ISO-8859-14" [48]=> string(11) "ISO-8859-15" [49]=> string(11) "ISO-8859-16" [50]=> string(6) "EUC-CN" [51]=> string(5) "CP936" [52]=> string(2) "HZ" [53]=> string(6) "EUC-TW" [54]=> string(5) "BIG-5" [55]=> string(6) "EUC-KR" [56]=> string(3) "UHC" [57]=> string(11) "ISO-2022-KR" [58]=> string(12) "Windows-1251" [59]=> string(5) "CP866" [60]=> string(6) "KOI8-R" [61]=> string(9) "ArmSCII-8" }
Output for 5.0.4 - 5.0.5
array(61) { [0]=> string(4) "pass" [1]=> string(4) "auto" [2]=> string(5) "wchar" [3]=> string(7) "byte2be" [4]=> string(7) "byte2le" [5]=> string(7) "byte4be" [6]=> string(7) "byte4le" [7]=> string(6) "BASE64" [8]=> string(8) "UUENCODE" [9]=> string(13) "HTML-ENTITIES" [10]=> string(16) "Quoted-Printable" [11]=> string(4) "7bit" [12]=> string(4) "8bit" [13]=> string(5) "UCS-4" [14]=> string(7) "UCS-4BE" [15]=> string(7) "UCS-4LE" [16]=> string(5) "UCS-2" [17]=> string(7) "UCS-2BE" [18]=> string(7) "UCS-2LE" [19]=> string(6) "UTF-32" [20]=> string(8) "UTF-32BE" [21]=> string(8) "UTF-32LE" [22]=> string(6) "UTF-16" [23]=> string(8) "UTF-16BE" [24]=> string(8) "UTF-16LE" [25]=> string(5) "UTF-8" [26]=> string(5) "UTF-7" [27]=> string(9) "UTF7-IMAP" [28]=> string(5) "ASCII" [29]=> string(6) "EUC-JP" [30]=> string(4) "SJIS" [31]=> string(9) "eucJP-win" [32]=> string(8) "SJIS-win" [33]=> string(3) "JIS" [34]=> string(11) "ISO-2022-JP" [35]=> string(12) "Windows-1252" [36]=> string(10) "ISO-8859-1" [37]=> string(10) "ISO-8859-2" [38]=> string(10) "ISO-8859-3" [39]=> string(10) "ISO-8859-4" [40]=> string(10) "ISO-8859-5" [41]=> string(10) "ISO-8859-6" [42]=> string(10) "ISO-8859-7" [43]=> string(10) "ISO-8859-8" [44]=> string(10) "ISO-8859-9" [45]=> string(11) "ISO-8859-10" [46]=> string(11) "ISO-8859-13" [47]=> string(11) "ISO-8859-14" [48]=> string(11) "ISO-8859-15" [49]=> string(11) "ISO-8859-16" [50]=> string(6) "EUC-CN" [51]=> string(5) "CP936" [52]=> string(2) "HZ" [53]=> string(6) "EUC-TW" [54]=> string(5) "BIG-5" [55]=> string(6) "EUC-KR" [56]=> string(3) "UHC" [57]=> string(11) "ISO-2022-KR" [58]=> string(12) "Windows-1251" [59]=> string(5) "CP866" [60]=> string(6) "KOI8-R" }
Output for 5.0.0 - 5.0.3
array(60) { [0]=> string(4) "pass" [1]=> string(4) "auto" [2]=> string(5) "wchar" [3]=> string(7) "byte2be" [4]=> string(7) "byte2le" [5]=> string(7) "byte4be" [6]=> string(7) "byte4le" [7]=> string(6) "BASE64" [8]=> string(8) "UUENCODE" [9]=> string(13) "HTML-ENTITIES" [10]=> string(16) "Quoted-Printable" [11]=> string(4) "7bit" [12]=> string(4) "8bit" [13]=> string(5) "UCS-4" [14]=> string(7) "UCS-4BE" [15]=> string(7) "UCS-4LE" [16]=> string(5) "UCS-2" [17]=> string(7) "UCS-2BE" [18]=> string(7) "UCS-2LE" [19]=> string(6) "UTF-32" [20]=> string(8) "UTF-32BE" [21]=> string(8) "UTF-32LE" [22]=> string(6) "UTF-16" [23]=> string(8) "UTF-16BE" [24]=> string(8) "UTF-16LE" [25]=> string(5) "UTF-8" [26]=> string(5) "UTF-7" [27]=> string(9) "UTF7-IMAP" [28]=> string(5) "ASCII" [29]=> string(6) "EUC-JP" [30]=> string(4) "SJIS" [31]=> string(9) "eucJP-win" [32]=> string(8) "SJIS-win" [33]=> string(3) "JIS" [34]=> string(11) "ISO-2022-JP" [35]=> string(12) "Windows-1252" [36]=> string(10) "ISO-8859-1" [37]=> string(10) "ISO-8859-2" [38]=> string(10) "ISO-8859-3" [39]=> string(10) "ISO-8859-4" [40]=> string(10) "ISO-8859-5" [41]=> string(10) "ISO-8859-6" [42]=> string(10) "ISO-8859-7" [43]=> string(10) "ISO-8859-8" [44]=> string(10) "ISO-8859-9" [45]=> string(11) "ISO-8859-10" [46]=> string(11) "ISO-8859-13" [47]=> string(11) "ISO-8859-14" [48]=> string(11) "ISO-8859-15" [49]=> string(6) "EUC-CN" [50]=> string(5) "CP936" [51]=> string(2) "HZ" [52]=> string(6) "EUC-TW" [53]=> string(5) "BIG-5" [54]=> string(6) "EUC-KR" [55]=> string(3) "UHC" [56]=> string(11) "ISO-2022-KR" [57]=> string(12) "Windows-1251" [58]=> string(5) "CP866" [59]=> string(6) "KOI8-R" }
Output for 4.4.5 - 4.4.9
Fatal error: Call to undefined function: mb_list_encodings() in /in/brUqv on line 2
Process exited with code 255.
Output for 4.3.2 - 4.4.4
Fatal error: Call to undefined function: mb_list_encodings() in /in/brUqv on line 2
Process exited with code 255.
Output for 4.3.0 - 4.3.1
Fatal error: Call to undefined function: mb_list_encodings() in /in/brUqv on line 2