Can I use empty with magic properties?
<p>Quote from the <a href="http://de2.php.net/manual/en/language.oop5.overloading.php#object.isset" rel="nofollow">PHP documentation on overloading</a>:</p>

<blockquote>
  <p>It is not possible to use overloaded properties in other language constructs than isset(). This means if empty() is called on an overloaded property, the overloaded method is not called.</p>
  
  <p>To workaround that limitation, the overloaded property must be copied into a local variable in the scope and then be handed to empty().</p>
</blockquote>

<p>Does this really mean that I cannot use something like</p>

<pre><code>if (empty($this-&gt;foobar))
</code></pre>

<p>in a class, where <code>$this-&gt;foobar</code> is a magic property, resolved through <code>__get()</code>, or am I misunderstanding something here?</p>
