3v4l.org

run code in 300+ PHP versions simultaneously
<?php $a = array('a' => 'a', 'b' => 'b' ); $b = array('a' => 'a_p', 'b' => 'b_p' ); $c = array_merge(array_values($a), array_values($b))); $d = $a + $b; var_dump($c); var_dump($d);
Output for 5.3.0 - 5.3.23, 5.4.0 - 5.4.13
Parse error: syntax error, unexpected ')' in /in/nRKC1 on line 6
Process exited with code 255.

preferences:
172.12 ms | 1395 KiB | 45 Q