3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $teste = array(1, 2, 3, 4, 5, 6, 7, 8, 10); /* foreach($teste as $key){ echo $key.'<br />'; }*/ for($i=0,$i<count($teste),$i++){ echo $teste[$i].'<br />'; }
Output for 5.3.0 - 5.4.30
Parse error: syntax error, unexpected ')', expecting ';' in /in/UQsuC on line 9
Process exited with code 255.