Goal: I am trying to print all the super global variables one by one by fetching it from a list of array I created.
$sectionsToPrint = array(
'server' => '$_SERVER','get'=>'$_GET','post'=>'$_POST'
);
foreach ($sectionsToPrint as $k => $v) {
foreach ($$v as $k2 => $v2) { //#LineNumber
echo "$k2=$v2<br /><br />";
}
}