Help for this page
for ($i = 1; $i <= $depth; $i++) { #--Create the variable +reference $currVar=\@currVar[$arrayKey[$i]]; } $currVar[$1]=$2;