title: PHP - empty array
body: <p><code>(array)$someemptyvariablethatisnotarray</code> returns <code>array([0] =&gt;)</code> instead of <code>array()</code></p>
  
  <p>How can I make it so I get a empty array that is not iterated when I'm using it inside foreach() ?</p>