The array is multi-dimensional and has a variable number of sub-keys, like
$arr[$a][$b][$c] = 'X';
3 in this case. I want to create a function that takes a string like a.b.c as argument and checks if the array has that key in it, then unset it: unset($arr[$a][$b][$c]).
if I give it a.b then it should unset($arr[$a][$b])
I'd appreciate any help...