Register array into global?
Posted: Wed Sep 22, 2010 7:56 am
I know there is a function for this, but for some reason my google-fu is off and I cannot remember it for the life of me.
What is the function to export an array into the global namespace? Such that:
...would work?
What is the function to export an array into the global namespace? Such that:
Code: Select all
$var=array('key'=>'val');
somefunc($var);
echo $key;