3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php echo $str = "Coss&eacute; René"; echo "\n"; echo $str = htmlentities($str,'ENT_IGNORE'); echo "\n"; echo $str = html_entity_decode($str); echo "\n";
based on R7DVP
Output for 7.0.0 - 7.2.0
Coss&eacute; René Warning: htmlentities() expects parameter 2 to be integer, string given in /in/cFAvG on line 4
Output for 5.3.18 - 5.6.28
Coss&eacute; René Warning: htmlentities() expects parameter 2 to be long, string given in /in/cFAvG on line 4