3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $str = '1392'; echo $string = html_entity_decode($str, "UTF-8"); //echo intval($string)+1;
Output for 7.0.0 - 7.1.0
Warning: html_entity_decode() expects parameter 2 to be integer, string given in /in/JIOpY on line 4
Output for 4.3.0 - 5.0.5, 5.1.1 - 5.6.21
Warning: html_entity_decode() expects parameter 2 to be long, string given in /in/JIOpY on line 4
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/JIOpY on line 5
Process exited with code 255.