is there an easy, non-eval-using method for getting a reference to an element of a multidimensional array? The key should be passed as a string.
Here's an example:
getSessionReference('1.4.2', $arrReference);
should return a reference to
$_SESSION['1']['4']['2']
and so a call like
$arrReference['foo'] = 'bar';
would change it to
$_SESSION['1']['4']['2']['foo'] = 'bar'
Any ideas?
Thanks in advance.