Codice PHP:
$arr1 = array('a','b','c');
$arr2 = array('e','f','g');
print_r(array_merge($arr1, $arr2));
//Output:
//
//Array
//(
// [0] => a
// [1] => b
// [2] => c
// [3] => e
// [4] => f
// [5] => g
//)
//
// PHP 5.3.2-2 with Suhosin-Patch (cli) (built: Jul 18 2010 21:42:32)