у меня есть два массива:
$a =array(
'standard' => (object) array( 'id' => 'standard', 'title' => 'AustPost Standard' ),
'registered' => (object) array( 'id' => 'registered', 'title' => 'AustPost Registered' ),
'insured' => (object) array( 'id' => 'insured', 'title' => 'AustPost Insured' ),
'express' => (object) array( 'id' => 'express', 'title' => 'AustPost Express' ),
'satchexp' => (object) array( 'id' => 'satchexp', 'title' => 'AustPost Satchel Express' ),
'satchreg' => (object) array( 'id' => 'satchreg', 'title' => 'AustPost Satchel Registered' ),
'satchpla' => (object) array( 'id' => 'satchpla', 'title' => 'AustPost Satchel Platnium' )
);
и
$b = array( 'standard', 'sea', 'air', 'satchexp', 'satchreg', 'satchpla' )
как мне создать новый массив $ c, содержащий только элементы из массива $ a, которые появляются в массиве $ b?