3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php ini_set('output_precision', 64); $val = 1.000000000000001; var_dump($val); var_dump($val === (float)(int)$val);
based on DQtbt
Output for 4.3.0 - 7.2.0
float(1) bool(false)