- Output for 5.3.0 - 5.3.28, 5.4.0 - 5.4.23
- Parse error: syntax error, unexpected '{' in /in/VVebH on line 11
Process exited with code 255.
<?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++;
}