3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $c=range(0,100000-1); for($i=0;++$i<$range;)$c[$i]; r[0]+=microtime(true)-$t; /* $t=microtime(true); foreach($c as $i)$i; $r[1]+=microtime(true)-$t; $t=microtime(true); $i=0; while(list(,$i)=each($c))$c[$i]; $r[2]+=microtime(true)-$t; } var_dump($r); */
Output for 5.3.0 - 5.4.21
Parse error: syntax error, unexpected '[' in /in/VDrFk on line 5
Process exited with code 255.