És pontosan miért is nem jó csak úgy simán venni az elemeket felváltva?: for ($i=0; $i<n; ++$i) { $uj[] = $a[$i]; $uj[] = $b[$i]; }