$arr[] = array(\'A\',\'B\'); $arr[] = array(\'C\',\'B\'); ...
I need to get the merged result of all sub array of $arr .
$arr
And f
$merged_array = array_reduce($serp_res, 'array_merge', array()); with added quotas,'array_merge', worked for me.