3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $test = range(1, 1000); for($i = 0; $i < 100; $i++) { $odd= array(); foreach($test as $var) { if($var & 1) $odd[] = $var; } var_dump($odd); }