Function to create new, previously undefined variable
<p>Sorry for such a lame title, but I just had no idea what to put there, hope you understand it. Plus, I have no idea if similar question has been asked before, because I don't know the proper keywords for it - therefore couldn't google it too.</p>

<p>Basicly... When looking at <a href="http://php.net/manual/en/function.preg-match-all.php" rel="nofollow"><code>preg_match_all();</code></a>, they got this <strong>matches</strong> parameter that will create new array defined in function, and give us the ability to access it after function execution.</p>

<p>And the question is.. How can I implement such a feature in my own function? But that it could create single variable and/or array.</p>

<p>Thanks in advance!</p>
