3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $invoiceTotalVAT = 3.4548e75616545152415121523; $num = number_format((floor($invoiceTotalVAT*100)/100), 2, '.', ''); echo $num;
Output for 4.3.0 - 5.6.28, 7.0.0 - 7.1.0
inf
Output for hhvm-3.10.0 - 3.12.0
INF