1 Answer
  • 3
Votes
name
name Punditsdkoslkdosdkoskdo

Combine two arrays in php

I have two arrays like this:
array
'11' => '11',
'22' => '22',
'33' => '33',
'44' => '44');
array
(
 '44' => '44',
'55' => '55',
'66' => '66',
'77' => '77');
I want to combine these two array such that it does not contains duplicate and as well as keep their original keys