3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $arr = array( array( 'test1' => 'testing1' ), array( 'test2' => array( 1 =>'testing2' ) ); $newarr = array_shift($arr); print_r ($newarr);
Output for 5.3.0 - 5.4.6
Parse error: syntax error, unexpected ';', expecting ')' in /in/LDRLJ on line 11
Process exited with code 255.