3v4l.org

run code in 150+ php & hhvm versions
Bugs & Features
<?php $a = array(); $a[] = array('a'=>1); $a[] = array('a'=>2); $a[] = array('a'=>3); $b = array(); $b[] = array('a'=>1, 'b'=>2); $b[] = array('a'=>2, 'b'=>2); $b[] = array('a'=>3, 'b'=>2); $c = array_merge($a, $b); var_dump($c)
Output for 5.4.0 - 5.4.15
Parse error: syntax error, unexpected end of file in /in/QfWXB on line 11
Process exited with code 255.
Output for 5.3.0 - 5.3.25
Parse error: syntax error, unexpected $end in /in/QfWXB on line 11
Process exited with code 255.