title: PHP get image src
body: <pre><code>$variable = '&lt;img src="http://www.gravatar.com/avatar/66ce1f26a725b2e063d128457c20eda1?s=32&amp;d=identicon&amp;r=PG" height="32" width="32" alt=""/&gt;';
  </code></pre>
  
  <p><strong>How to get src of this image?</strong></p>
  
  <p>Like:</p>
  
  <p><code>$src = 'http://www.gravatar.com/avatar/66ce1f26a725b2e063d128457c20eda1?s=32&amp;d=identicon&amp;r=PG';</code></p>
  
  <p>Thanks.</p>