How does PDOStatement::fetchObject set properties before the class is constructed?
<p>When I call <a href="http://ca3.php.net/manual/en/pdostatement.fetchobject.php" rel="nofollow">this function</a>, and add a constructor to my class, all my class properties are already set. How is that possible -- I thought you had to construct a class before you could set its properties?</p>
