3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = "4%&nbsp;&nbsp; - работники образования - <p>&gt;В расчет принимались газеты &laquo;Приазовский рабочий&raquo;, &laquo;Вечерний Мариуполь&raquo;, &laquo;Ильичевец&raquo; и &laquo;Мариупольское время&raquo;, сайты 0629.com.ua, ilich.in.ua, nado.ua</p> <p>Чем </p>"; $a = html_entity_decode(strip_tags($a),'UTF-8'); echo($a); var_dump(get_html_translation_table());
Output for 7.0.0 - 7.1.0
Warning: html_entity_decode() expects parameter 2 to be integer, string given in /in/BH2nQ on line 6 array(4) { ["""]=> string(6) "&quot;" ["&"]=> string(5) "&amp;" ["<"]=> string(4) "&lt;" [">"]=> string(4) "&gt;" }
Output for hhvm-3.10.0 - 3.12.0
Warning: html_entity_decode() expects parameter 2 to be integer, string given in /in/BH2nQ on line 6 array(4) { ["""]=> string(6) "&quot;" ["<"]=> string(4) "&lt;" [">"]=> string(4) "&gt;" ["&"]=> string(5) "&amp;" }
Output for 5.4.0 - 5.6.28
Warning: html_entity_decode() expects parameter 2 to be long, string given in /in/BH2nQ on line 6 array(4) { ["""]=> string(6) "&quot;" ["&"]=> string(5) "&amp;" ["<"]=> string(4) "&lt;" [">"]=> string(4) "&gt;" }
Output for 4.3.0 - 4.3.3, 5.3.4 - 5.3.29
Warning: html_entity_decode() expects parameter 2 to be long, string given in /in/BH2nQ on line 6 array(4) { ["&"]=> string(5) "&amp;" ["""]=> string(6) "&quot;" ["<"]=> string(4) "&lt;" [">"]=> string(4) "&gt;" }
Output for 4.3.4 - 5.3.3
Warning: html_entity_decode() expects parameter 2 to be long, string given in /in/BH2nQ on line 6 array(4) { ["""]=> string(6) "&quot;" ["<"]=> string(4) "&lt;" [">"]=> string(4) "&gt;" ["&"]=> string(5) "&amp;" }