3v4l.org

run code in 300+ PHP versions simultaneously
<?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)));

preferences:
61.65 ms | 406 KiB | 5 Q