1
I am manipulating a large XML file that when read returns several array, one inside the other, is it possible to search the key of an array and return its value? or an array if there is more than one key?
something like:
array(
'bio'=> array(
'info'=> array(
'cash'=>'50'
);
);
And something research, for example, for "cash" it traverses all array and returns "50"
Post an example @Marcondes, your answer will be much more complete
– Marconi
It does not "see" the multidimensional array, only returns the key of the first
– Thiago
Yes, so you have to make a recursion.... I’m seeing an example here...
– Marcondes
I did a recursive update.
– Marcondes
I know you already have a little time but would have to take only the first key of each array?
– José Roberto Juliana