3v4l.org

run code in 300+ PHP versions simultaneously
<?php $arr1 = array('label'=>'derp','otherstuff' => 'hurrdurr'); $arr2 = array('otherstuff'=>'test'); print_r(array_merge($arr1,$arr2);
Output for 5.3.0 - 5.3.19, 5.4.0 - 5.4.9
Parse error: syntax error, unexpected ';' in l4s1o on line 5
Process exited with code 255.

preferences:
170.55 ms | 1395 KiB | 37 Q