 <p>If they are for use in template files you can have a look at extract. <a href="http://php.net/manual/en/function.extract.php" rel="nofollow">PHP Manual extract</a>. It will extract all variables from an array into local variables.</p>