3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $data = array(); for ($i=0; $i<9999; $i++) { $data[] = $i; } foreach ($data as $a) { if ($a > 1000) { $found = true; break; } } echo $a;
based on 5CkS7
Output for 4.3.0 - 7.1.0
1001