3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $value = 10/1.0; if (is_double($value) && fmod($value, 1.0) !== 0.0) { $value = (int) $value; } echo fmod($value, 1.0), var_export($value , true);
based on 59BlR
Output for 7.0.2 - 7.2.0
010.0
Output for 5.3.22 - 7.0.1
010