What about a recursive macro?
Marco Pivetta
http://twitter.com/Ocramius
http://marco-pivetta.com
On 21 October 2011 21:59, GRolf wrote:
>
> I have a multilevel array, where, as the template concerns, the number of
> levels is unlimited.
>
I have a multilevel array, where, as the template concerns, the number
of levels is unlimited.
eg
$objects = array('Food'=>array('Fruit'=>array('Red'=>array('Cherry',
'Strawberry'), 'Yellow'=>array('Banana')), 'Meat'=>array('Steak',
'Hamburger'));
I'd like to loop through this array in my