I have an array like this:
$a = array( 0 => array(\'type\' => \'bar\', \'image\' => \'a.jpg\'), 1 => array(\'type\' => \'food\', \'ima
try this
$uniqueA = array_unique($a, "type"); // then to output the array just type print_r($uniqueA);