3v4l.org

run code in 200+ php & hhvm versions
Bugs & Features
<?php $a = array(array()); $arr = array(0 => "a", 1 => "b" ); $arr1 = array(0 => "a", 1 => "b" ); $a[0] = 24,$arr; echo($a[0][0]); ?>
Output for 5.3.0 - 5.3.22, 5.3.24 - 5.4.12, 5.4.14
Parse error: syntax error, unexpected ',' in NCC2H on line 12
Process exited with code 255.
Output for 5.3.23, 5.4.13
Parse error: syntax error, unexpected ',' in /in/u4SeZ on line 12
Process exited with code 255.