Best practice: handle class error
<p>Is it at all possible to have a class return <code>false</code> instead of an object reference? It would make error handling very clean. Consider the code:</p>

<pre><code>$page = new PageContent('www.google.com');
if ($page)
  // do stuff
else
  // handle error
</code></pre>
