to further bernouli's point:
$larr="child";
$child=array("c","h","i","l","d");
$parent=array("p","a","r","e","n","t");
print_r($larr);
// prints "child"
echo "<br>";
print_r($$larr);
// prints the $child array
echo "<br>";
// the EXACT SAME as :
eval("print_r(\$" . $larr . ");");
if you understand eval(), then $$ is almost the same.. with eval what it does is turn "print_r(\$" . $larr . ");" into a php command which would = print_r($child);
with print_r($$larr), php takes the '$$' and then evaluates "child" (val of $larr) as $child.. so if $larr="crack", then $$larr would = $crack..
in layman terms: just divide the 2 $'s so it becomes $($larr)..then just take that literally.. as $(child) or $child.
hope that made some sense 🙂