note 104097 added to function.mysql-fetch-object
| From: | francoisatbonzondotcom at osu1 dot php dot net | Date: | Mon, 23 May 2011 02:00:48 +0000 |
| Subject: | note 104097 added to function.mysql-fetch-object | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-179944@lists.php.net to get a copy of this message | ||
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
----
Server IP: 69.147.83.197
Probable Submitter: 77.58.252.12
----
Manual Page -- http://www.php.net/manual/en/function.mysql-fetch-object.php
Edit -- https://master.php.net/note/edit/104097
Del: integrated -- https://master.php.net/note/delete/104097/integrated
Del: useless -- https://master.php.net/note/delete/104097/useless
Del: bad code -- https://master.php.net/note/delete/104097/bad+code
Del: spam -- https://master.php.net/note/delete/104097/spam
Del: non-english -- https://master.php.net/note/delete/104097/non-english
Del: in docs -- https://master.php.net/note/delete/104097/in+docs
Del: other reasons-- https://master.php.net/note/delete/104097
Reject -- https://master.php.net/note/reject/104097
Search -- https://master.php.net/manage/user-notes.php