3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $i = 100; $b = 0; while (true) { $b = $i*$i; if ($i++ == 5000000) break; } print($i . " - " . $b);
Output for 4.3.0 - 7.1.0
5000001 - 25000000000000