Php - empty ArrayObject
<p>The <code>ArrayObject</code> class allows objects to work as arrays. When I check if an <code>ArrayObject</code> is empty, though, the result is always false</p>

<pre><code>echo empty(new ArrayObject()); // returns false
</code></pre>

<p>Wouldn't it be more coherent with the behavior of an empty array <code>[]</code> if it  returned <code>true</code>?</p>