title: PHP - constructor function doesn't return false
body: <p>How can I let the <code>$foo</code> variable below know that foo should be false?</p>
  
  <pre><code>class foo extends fooBase{
  
    private
      $stuff;
  
    function __construct($something = false){
      if(is_int($something)) $this-&gt;stuff = &amp;getStuff($something);
      else $this-&gt;stuff = $GLOBALS['something'];
  
      if(!$this-&gt;stuff) return false;
    }
  
  }
  
  $foo = new foo(435);  // 435 does not exist
  if(!$foo) die(); // &lt;-- doesn't work :(
  </code></pre>