3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $ddi = array(0 => 16, 1 => 18); $di_array_count = count($ddi); for($c=0; $c<$di_array_count; $c++){ $key = array_keys($ddi); $val= $ddi[$key]; print_r($val)); }
Output for 5.3.0 - 5.4.29
Parse error: syntax error, unexpected ')' in /in/iofq0 on line 10
Process exited with code 255.