To set a value in a multidimentional array is easy. E.g.:
$myArray['levelA']['levelB']['levelC'] = $value
to read it is simple, too. E.g.:
$value = $myArray['levelA']['levelB']['levelC']-
Easy when i know how many levels are used. But what is when we do not know how many levels could occure?
What if i have a config file like this:
levelA.levelB.levelC.levelD = someValue
and what if i want to use levelA.levelB.levelC.levelD
to map it (as a "path") to the multidimentional array, whichout knowing how deep my config could be?