The question is whether it's possible to address a multidimensional array with a string or another array. Say we have:
$a['key1']['key2'] = "value"
//and
$keyArray = array('key1', 'key2')
//or
$keyString = 'key1,key2'
Is it possible to do something like:
$a[$keyArray]
//or
$a[keyString]
which would then give me back the value "value"?
Obviously, what I wrote doesn't work (not on my system, at least), but is something similar possible and if yes, how?
Thanks.