I have a array of arrays. e.g
$value= array(
['global'] => array('1'=>'amar'),
['others'] => array('1' => 'johnson')
);
My question is how do I print only the second array. I know I can print by using print $value['others'] but my problem here is the other value may change. It may be ['blah1'], ['blah2']. So I need a php line of codes to echo second array print $value['others'] where the others may be different word.
I also my new array should look like this $value= array(['others'] => array('1' => 'johnson'));
Thank you