3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $data = '<p>&Atilde;&laquo;en tw&Atilde;&copy;&Atilde;&copy; dr&Atilde;&macr;e vi&Atilde;&ordf;r vijf zes &Atilde;&sect; &nbsp; nnneeeeeeggeeeeennn<br></p>'; var_dump(iconv('ISO-8859-1', 'UTF-8', html_entity_decode($data)));
based on oA0do
Output for 5.4.10 - 5.5.34, 5.6.8 - 5.6.20, 5.6.28 - 7.0.5, 7.0.20 - 7.2.0
string(111) "<p>ëen twéé drïe viêr vijf zes ç   nnneeeeeeggeeeeennn<br></p>"
Output for 7.0.6
Fatal error: Uncaught Error: Call to undefined function iconv() in /in/059Ji:6 Stack trace: #0 {main} thrown in /in/059Ji on line 6
Process exited with code 255.
Output for 5.5.35, 5.6.21
Fatal error: Call to undefined function iconv() in /in/059Ji on line 6
Process exited with code 255.
Output for 5.3.20 - 5.3.29
string(85) "<p>ëen twéé drïe viêr vijf zes ç   nnneeeeeeggeeeeennn<br></p>"