3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $testArr = array(1,6,2,9,3,05,7,4); $arraySize = sizeof($testArr); $count = 0; foreach($testArr as $item) { if (!in_array($count, $testArr) { echo $count; } $count++; }
Output for 5.3.0 - 5.4.23
Parse error: syntax error, unexpected '{' in /in/VVebH on line 11
Process exited with code 255.