- Output for 5.4.0 - 5.4.27
- Parse error: syntax error, unexpected ';' in /in/te2VU on line 3
Process exited with code 255. - Output for 5.3.0 - 5.3.28
- Parse error: syntax error, unexpected '[' in /in/te2VU on line 2
Process exited with code 255.
<?php
$x = ['a'=>1, 'b'=>2]; $z = ['c'=>1, 'a'=>2];
var_dump(array_merge($x,$z);