3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $x = (int) (16.99 * 100); var_dump($x); $y = 1699.0; var_dump($y);
based on 6Mt97
Output for 4.3.0 - 7.2.0
int(1698) float(1699)