3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $str = "&#xC9;"; //É $res = mb_strtolower(html_entity_decode($str,ENT_HTML5,'UTF-8'), 'UTF-8' ); echo $res; ?>
Output for 5.4.0 - 7.2.0
é
Output for 4.3.0 - 5.3.29
Notice: Use of undefined constant ENT_HTML5 - assumed 'ENT_HTML5' in /in/5cP0C on line 4 Warning: html_entity_decode() expects parameter 2 to be long, string given in /in/5cP0C on line 4