0
Je veux toujours obtenir le chemin exact d'un élément dans un tableau. Exemple tableau:Comment obtenir le chemin hiérarchique d'un élément dans un tableau
array(a=>'aaa', 'b'=> array ('bbb1', 'bbb2' => array('bbb3', 'bbb4')));
Ainsi, pour atteindre à 'bbb4', je dois passer par (b => bbb2 => bbb4
). Comment obtenir ce chemin dans un tableau multidimensionnel?
Oui, cela fonctionne. Merci –