3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $string = "&#195;&#x20ac;"; $string = html_entity_decode($string, ENT_COMPAT | ENT_HTML401, 'utf-8'); $string_result = "À"; echo "<br>This: " . $string; echo "<br>Should become: " . ($string_result);
Output for 5.6.30, hhvm-3.15.4 - 3.22.0, 7.0.0 - 7.2.9
<br>This: À<br>Should become: À