3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php echo "mama"; $array = array ( 1 => "a", 2 => "b", 3=> "c", ); $andra = array( 1=>12, 3=>14); $andra[]=56; $nr=count($andra); for($i=0;$i<$nr;$i++) echo . $arrat[$i] . "\n"; echo {$array[$i]}"\n"; var_dump($array); ?>
Output for hhvm-3.10.0

Process exited with code 153.
Output for 5.3.0 - 5.4.26
Parse error: syntax error, unexpected '.' in /in/ZI2h7 on line 17
Process exited with code 255.