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;
Moderator: General Moderators
Code: Select all
$var=array('key'=>'val');
somefunc($var);
echo $key;
Oh, so close. If you had asked about extracting an array, I would be laughing my head off right now.biz0r wrote:What is the function to export an array into the global namespace?