3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $number1 = 354.2550; $number2 = 38456.12; echo strlen($number1 + 0) . "<br />"; echo strlen($number2 + 0); //echo number_format(round(3.2550, 2), 2, ',', '.') + 0; //echo PHP_EOL; //echo number_format(round(3.4000, 2), 2, ',', '.') + 0;
Output for 4.3.0 - 5.0.5, 5.1.1 - 7.2.0
7<br />8
Output for 5.1.0
Fatal error: fatal flex scanner internal error--end of buffer missed in /in/WRr5H on line 10
Process exited with code 255.