3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php for ($i = 0; $i < 1.02; $i += 0.17) { $a[$i] = $i; } echo count($a);
Output for 5.6.38, hhvm-3.15.4 - 3.22.0, 7.0.0 - 7.2.10
1