title: preg_match - get match with just one statement
body: <p>I am wondering if it's possible to get a regex match in PHP by only using one statement? This question is more of a challenge to see if this is possible.</p>
  
  <p>Right now you have to do something like this:</p>
  
  <pre><code>preg_match('#(\d+)$#', $subject, $match);
  echo $match[1];
  </code></pre>
  
  <p>How do I access <code>$match</code> with one statement, instead of two?</p>
  
  <p>I don't want to use <code>preg_replace</code>.</p>
  
  <p>If it's possible with a closure, the better. I love fancy code.</p>