title: Get image dimensions
body: <p>I have an url to the image, like <code>$var = http://example.com/image.png</code></p>
  
  <p><strong>How do I get its dimensions to an array</strong>, <strong>like</strong> <code>array([h]=&gt; 200, [w]=&gt;100)</code> <code>(height=200, width=100)</code><strong>?</strong></p>