- print_r: documentation ( source)
- array_merge: documentation ( source)
<?php
$color = array(
0 => 'red',
1 => 'green',
'a' => 'blue',
);
$size = array(
0 => 'small',
1 => 'middle',
'b' => 'large',
);
print_r(array_merge($color, $size));
?>