- print_r: documentation ( source)
- array_merge: documentation ( source)
- array_values: documentation ( source)
<?php
$a = ['t1' => 'a', 't2' => 'b', 't3' => 'c'];
$b = ['t1' => 'd', 't2' => 'e', 't3' => 'f'];
print_r(array_merge($a, $b));
print_r(array_merge(array_values($a), array_values($b)));