3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $i = 19; while($i) { for($d = 2; $d <= 18; $d++) { if($i % $d != 0) { break; } if($d == 18) { break 2; } } $i += 19; } echo $i;
Output for 5.3.0 - 5.3.2, 5.3.8 - 5.3.9, 5.3.11 - 5.3.18, 5.3.21 - 5.3.27, 5.3.29 - 5.4.38, 5.4.43 - 5.6.28, 7.0.0 - 7.1.0
232792560
Output for 4.3.0 - 5.2.17, 5.3.3 - 5.3.7, 5.3.10, 5.3.19 - 5.3.20, 5.3.28, 5.4.39 - 5.4.42, hhvm-3.12.0

Process exited with code 137.
Output for hhvm-3.10.0

Process exited with code 153.