Source Code:
(back to article)
<?php $array1 = array(1, 2, 3); $array2 = array(4, 5, 6); $array3 = array_merge($array1, $array2); print_r($array3); // $array3 is now [1, 2, 3, 4, 5, 6]
Result:
Report an issue