3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $stringHTML= "Software de comunicación"; $html = get_html_translation_table(HTML_ENTITIES, ENT_NOQUOTES); unset($html["<"]); unset($html[">"]); $reemplazar = array_keys($html);print_r($reemplazar); $reemplazo = array_values($html);print_r($reemplazo); echo str_replace($reemplazar, $reemplazo, $stringHTML); ?>
based on pC4k9
Output for 5.4.0 - 7.1.0
Array ( [0] => & [1] =>   [2] => ¡ [3] => ¢ [4] => £ [5] => ¤ [6] => ¥ [7] => ¦ [8] => § [9] => ¨ [10] => © [11] => ª [12] => « [13] => ¬ [14] => ­ [15] => ® [16] => ¯ [17] => ° [18] => ± [19] => ² [20] => ³ [21] => ´ [22] => µ [23] => ¶ [24] => · [25] => ¸ [26] => ¹ [27] => º [28] => » [29] => ¼ [30] => ½ [31] => ¾ [32] => ¿ [33] => À [34] => Á [35] =>  [36] => à [37] => Ä [38] => Å [39] => Æ [40] => Ç [41] => È [42] => É [43] => Ê [44] => Ë [45] => Ì [46] => Í [47] => Î [48] => Ï [49] => Ð [50] => Ñ [51] => Ò [52] => Ó [53] => Ô [54] => Õ [55] => Ö [56] => × [57] => Ø [58] => Ù [59] => Ú [60] => Û [61] => Ü [62] => Ý [63] => Þ [64] => ß [65] => à [66] => á [67] => â [68] => ã [69] => ä [70] => å [71] => æ [72] => ç [73] => è [74] => é [75] => ê [76] => ë [77] => ì [78] => í [79] => î [80] => ï [81] => ð [82] => ñ [83] => ò [84] => ó [85] => ô [86] => õ [87] => ö [88] => ÷ [89] => ø [90] => ù [91] => ú [92] => û [93] => ü [94] => ý [95] => þ [96] => ÿ [97] => Œ [98] => œ [99] => Š [100] => š [101] => Ÿ [102] => ƒ [103] => ˆ [104] => ˜ [105] => Α [106] => Β [107] => Γ [108] => Δ [109] => Ε [110] => Ζ [111] => Η [112] => Θ [113] => Ι [114] => Κ [115] => Λ [116] => Μ [117] => Ν [118] => Ξ [119] => Ο [120] => Π [121] => Ρ [122] => Σ [123] => Τ [124] => Υ [125] => Φ [126] => Χ [127] => Ψ [128] => Ω [129] => α [130] => β [131] => γ [132] => δ [133] => ε [134] => ζ [135] => η [136] => θ [137] => ι [138] => κ [139] => λ [140] => μ [141] => ν [142] => ξ [143] => ο [144] => π [145] => ρ [146] => ς [147] => σ [148] => τ [149] => υ [150] => φ [151] => χ [152] => ψ [153] => ω [154] => ϑ [155] => ϒ [156] => ϖ [157] =>   [158] =>   [159] =>   [160] => ‌ [161] => ‍ [162] => ‎ [163] => ‏ [164] => – [165] => — [166] => ‘ [167] => ’ [168] => ‚ [169] => “ [170] => ” [171] => „ [172] => † [173] => ‡ [174] => • [175] => … [176] => ‰ [177] => ′ [178] => ″ [179] => ‹ [180] => › [181] => ‾ [182] => ⁄ [183] => € [184] => ℑ [185] => ℘ [186] => ℜ [187] => ™ [188] => ℵ [189] => ← [190] => ↑ [191] => → [192] => ↓ [193] => ↔ [194] => ↵ [195] => ⇐ [196] => ⇑ [197] => ⇒ [198] => ⇓ [199] => ⇔ [200] => ∀ [201] => ∂ [202] => ∃ [203] => ∅ [204] => ∇ [205] => ∈ [206] => ∉ [207] => ∋ [208] => ∏ [209] => ∑ [210] => − [211] => ∗ [212] => √ [213] => ∝ [214] => ∞ [215] => ∠ [216] => ∧ [217] => ∨ [218] => ∩ [219] => ∪ [220] => ∫ [221] => ∴ [222] => ∼ [223] => ≅ [224] => ≈ [225] => ≠ [226] => ≡ [227] => ≤ [228] => ≥ [229] => ⊂ [230] => ⊃ [231] => ⊄ [232] => ⊆ [233] => ⊇ [234] => ⊕ [235] => ⊗ [236] => ⊥ [237] => ⋅ [238] => ⌈ [239] => ⌉ [240] => ⌊ [241] => ⌋ [242] => 〈 [243] => 〉 [244] => ◊ [245] => ♠ [246] => ♣ [247] => ♥ [248] => ♦ ) Array ( [0] => &amp; [1] => &nbsp; [2] => &iexcl; [3] => &cent; [4] => &pound; [5] => &curren; [6] => &yen; [7] => &brvbar; [8] => &sect; [9] => &uml; [10] => &copy; [11] => &ordf; [12] => &laquo; [13] => &not; [14] => &shy; [15] => &reg; [16] => &macr; [17] => &deg; [18] => &plusmn; [19] => &sup2; [20] => &sup3; [21] => &acute; [22] => &micro; [23] => &para; [24] => &middot; [25] => &cedil; [26] => &sup1; [27] => &ordm; [28] => &raquo; [29] => &frac14; [30] => &frac12; [31] => &frac34; [32] => &iquest; [33] => &Agrave; [34] => &Aacute; [35] => &Acirc; [36] => &Atilde; [37] => &Auml; [38] => &Aring; [39] => &AElig; [40] => &Ccedil; [41] => &Egrave; [42] => &Eacute; [43] => &Ecirc; [44] => &Euml; [45] => &Igrave; [46] => &Iacute; [47] => &Icirc; [48] => &Iuml; [49] => &ETH; [50] => &Ntilde; [51] => &Ograve; [52] => &Oacute; [53] => &Ocirc; [54] => &Otilde; [55] => &Ouml; [56] => &times; [57] => &Oslash; [58] => &Ugrave; [59] => &Uacute; [60] => &Ucirc; [61] => &Uuml; [62] => &Yacute; [63] => &THORN; [64] => &szlig; [65] => &agrave; [66] => &aacute; [67] => &acirc; [68] => &atilde; [69] => &auml; [70] => &aring; [71] => &aelig; [72] => &ccedil; [73] => &egrave; [74] => &eacute; [75] => &ecirc; [76] => &euml; [77] => &igrave; [78] => &iacute; [79] => &icirc; [80] => &iuml; [81] => &eth; [82] => &ntilde; [83] => &ograve; [84] => &oacute; [85] => &ocirc; [86] => &otilde; [87] => &ouml; [88] => &divide; [89] => &oslash; [90] => &ugrave; [91] => &uacute; [92] => &ucirc; [93] => &uuml; [94] => &yacute; [95] => &thorn; [96] => &yuml; [97] => &OElig; [98] => &oelig; [99] => &Scaron; [100] => &scaron; [101] => &Yuml; [102] => &fnof; [103] => &circ; [104] => &tilde; [105] => &Alpha; [106] => &Beta; [107] => &Gamma; [108] => &Delta; [109] => &Epsilon; [110] => &Zeta; [111] => &Eta; [112] => &Theta; [113] => &Iota; [114] => &Kappa; [115] => &Lambda; [116] => &Mu; [117] => &Nu; [118] => &Xi; [119] => &Omicron; [120] => &Pi; [121] => &Rho; [122] => &Sigma; [123] => &Tau; [124] => &Upsilon; [125] => &Phi; [126] => &Chi; [127] => &Psi; [128] => &Omega; [129] => &alpha; [130] => &beta; [131] => &gamma; [132] => &delta; [133] => &epsilon; [134] => &zeta; [135] => &eta; [136] => &theta; [137] => &iota; [138] => &kappa; [139] => &lambda; [140] => &mu; [141] => &nu; [142] => &xi; [143] => &omicron; [144] => &pi; [145] => &rho; [146] => &sigmaf; [147] => &sigma; [148] => &tau; [149] => &upsilon; [150] => &phi; [151] => &chi; [152] => &psi; [153] => &omega; [154] => &thetasym; [155] => &upsih; [156] => &piv; [157] => &ensp; [158] => &emsp; [159] => &thinsp; [160] => &zwnj; [161] => &zwj; [162] => &lrm; [163] => &rlm; [164] => &ndash; [165] => &mdash; [166] => &lsquo; [167] => &rsquo; [168] => &sbquo; [169] => &ldquo; [170] => &rdquo; [171] => &bdquo; [172] => &dagger; [173] => &Dagger; [174] => &bull; [175] => &hellip; [176] => &permil; [177] => &prime; [178] => &Prime; [179] => &lsaquo; [180] => &rsaquo; [181] => &oline; [182] => &frasl; [183] => &euro; [184] => &image; [185] => &weierp; [186] => &real; [187] => &trade; [188] => &alefsym; [189] => &larr; [190] => &uarr; [191] => &rarr; [192] => &darr; [193] => &harr; [194] => &crarr; [195] => &lArr; [196] => &uArr; [197] => &rArr; [198] => &dArr; [199] => &hArr; [200] => &forall; [201] => &part; [202] => &exist; [203] => &empty; [204] => &nabla; [205] => &isin; [206] => &notin; [207] => &ni; [208] => &prod; [209] => &sum; [210] => &minus; [211] => &lowast; [212] => &radic; [213] => &prop; [214] => &infin; [215] => &ang; [216] => &and; [217] => &or; [218] => &cap; [219] => &cup; [220] => &int; [221] => &there4; [222] => &sim; [223] => &cong; [224] => &asymp; [225] => &ne; [226] => &equiv; [227] => &le; [228] => &ge; [229] => &sub; [230] => &sup; [231] => &nsub; [232] => &sube; [233] => &supe; [234] => &oplus; [235] => &otimes; [236] => &perp; [237] => &sdot; [238] => &lceil; [239] => &rceil; [240] => &lfloor; [241] => &rfloor; [242] => &lang; [243] => &rang; [244] => &loz; [245] => &spades; [246] => &clubs; [247] => &hearts; [248] => &diams; ) Software de comunicaci&oacute;n
Output for 4.3.0 - 5.3.29
Array ( [0] => � [1] => � [2] => � [3] => � [4] => � [5] => � [6] => � [7] => � [8] => � [9] => � [10] => � [11] => � [12] => � [13] => � [14] => � [15] => � [16] => � [17] => � [18] => � [19] => � [20] => � [21] => � [22] => � [23] => � [24] => � [25] => � [26] => � [27] => � [28] => � [29] => � [30] => � [31] => � [32] => � [33] => � [34] => � [35] => � [36] => � [37] => � [38] => � [39] => � [40] => � [41] => � [42] => � [43] => � [44] => � [45] => � [46] => � [47] => � [48] => � [49] => � [50] => � [51] => � [52] => � [53] => � [54] => � [55] => � [56] => � [57] => � [58] => � [59] => � [60] => � [61] => � [62] => � [63] => � [64] => � [65] => � [66] => � [67] => � [68] => � [69] => � [70] => � [71] => � [72] => � [73] => � [74] => � [75] => � [76] => � [77] => � [78] => � [79] => � [80] => � [81] => � [82] => � [83] => � [84] => � [85] => � [86] => � [87] => � [88] => � [89] => � [90] => � [91] => � [92] => � [93] => � [94] => � [95] => � [96] => & ) Array ( [0] => &nbsp; [1] => &iexcl; [2] => &cent; [3] => &pound; [4] => &curren; [5] => &yen; [6] => &brvbar; [7] => &sect; [8] => &uml; [9] => &copy; [10] => &ordf; [11] => &laquo; [12] => &not; [13] => &shy; [14] => &reg; [15] => &macr; [16] => &deg; [17] => &plusmn; [18] => &sup2; [19] => &sup3; [20] => &acute; [21] => &micro; [22] => &para; [23] => &middot; [24] => &cedil; [25] => &sup1; [26] => &ordm; [27] => &raquo; [28] => &frac14; [29] => &frac12; [30] => &frac34; [31] => &iquest; [32] => &Agrave; [33] => &Aacute; [34] => &Acirc; [35] => &Atilde; [36] => &Auml; [37] => &Aring; [38] => &AElig; [39] => &Ccedil; [40] => &Egrave; [41] => &Eacute; [42] => &Ecirc; [43] => &Euml; [44] => &Igrave; [45] => &Iacute; [46] => &Icirc; [47] => &Iuml; [48] => &ETH; [49] => &Ntilde; [50] => &Ograve; [51] => &Oacute; [52] => &Ocirc; [53] => &Otilde; [54] => &Ouml; [55] => &times; [56] => &Oslash; [57] => &Ugrave; [58] => &Uacute; [59] => &Ucirc; [60] => &Uuml; [61] => &Yacute; [62] => &THORN; [63] => &szlig; [64] => &agrave; [65] => &aacute; [66] => &acirc; [67] => &atilde; [68] => &auml; [69] => &aring; [70] => &aelig; [71] => &ccedil; [72] => &egrave; [73] => &eacute; [74] => &ecirc; [75] => &euml; [76] => &igrave; [77] => &iacute; [78] => &icirc; [79] => &iuml; [80] => &eth; [81] => &ntilde; [82] => &ograve; [83] => &oacute; [84] => &ocirc; [85] => &otilde; [86] => &ouml; [87] => &divide; [88] => &oslash; [89] => &ugrave; [90] => &uacute; [91] => &ucirc; [92] => &uuml; [93] => &yacute; [94] => &thorn; [95] => &yuml; [96] => &amp; ) Software de comunicaci&amp;Atilde;&amp;sup3;n