<?php
$array['a']['b']['c']['d'] = "foo";
$many = ['b']['c'];
echo $array['a']$many['d'];
?>
Is there any way to make this work?
I have try with {} around but i cannot make it work. The goal i try to achieve is to replace b and c cause I have ['a']['children']['b']['children']['c']['d'].
Since i can have many children i want a way to avoid to write it every time dans replace ['children']['b']['children']['c'] as a variable cause A and D will always by there.