php - merging two arrays and keep duplicate values -
is there php function merge 2 arrays , keep duplicates?
like:
$a=array('a','b','c'); $b=array('b','c','b'); array_merge2($a,$b); //result: array('a','b','c','b','c','b');
thanks
add1:
what the... tested array_merge , didn't keep duplicate values =/
array_merge
keeps duplicates.
Comments
Post a Comment