3v4l.org

run code in 300+ PHP versions simultaneously
<?php $total = 0; for ($i = 0; $i < 10; $i++) { $total += 0.1; } var_dump($total); var_dump((int)($total) == 1);

preferences:
51.55 ms | 402 KiB | 5 Q