3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $res = 8 * pow(16,-1); // 0.5 echo base_convert("$res",10,16); // 5 echo dechex($res); // 0 printf("%x",$res); // 0
Output for 4.3.0 - 5.0.5, 5.1.1 - 7.1.0
500
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/pM33X on line 10
Process exited with code 255.