note 104097 rejected from function.mysql-fetch-object by thiago

From: Date: Mon, 23 May 2011 12:16:36 +0000
Subject: note 104097 rejected from function.mysql-fetch-object by thiago
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-179953@lists.php.net to get a copy of this message
Note Submitter: francois at bonzon dot com ---- The documentation doesn't make this clear: With the 'class_name' parameter, PHP sets all properties (with the same names than the MySQL column names) of the object *and then only* calls the constructor (if the class defines one). Even if weird, this is intended behavior. See bug 46105: http://bugs.php.net/bug.php?id=46105

« previous php.notes (#179953) next »