3v4l.org

run code in 300+ PHP versions simultaneously
<?php $f = 0; for($i = 0 ; $i < 10000 ; $i ++) { $f = $f + 0.01; } var_dump($f);
Output for 8.0.1 - 8.0.26, 8.1.0 - 8.1.14, 8.2.0 - 8.2.1
float(100.00000000001425)

preferences:
36.96 ms | 406 KiB | 5 Q