note 82643 added to function.mysql-fetch-object
| From: | PeterT at osu1 dot php dot net | Date: | Sun, 20 Apr 2008 04:36:20 +0000 |
| Subject: | note 82643 added to function.mysql-fetch-object | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-138557@lists.php.net to get a copy of this message | ||
If you're using mysql_fetch_object and specifying a class - the properties will be set BEFORE
the constructor is executed. This is generally not an issue, but can cause some major problems if
you're properties are set via the __set() magic method and constructor logic must be executed
first.
----
Server IP: 64.71.164.2
Probable Submitter: 76.172.179.218
----
Manual Page -- http://www.php.net/manual/en/function.mysql-fetch-object.php
Edit -- https://master.php.net/note/edit/82643
Del: integrated -- https://master.php.net/note/delete/82643/integrated
Del: useless -- https://master.php.net/note/delete/82643/useless
Del: bad code -- https://master.php.net/note/delete/82643/bad+code
Del: spam -- https://master.php.net/note/delete/82643/spam
Del: non-english -- https://master.php.net/note/delete/82643/non-english
Del: in docs -- https://master.php.net/note/delete/82643/in+docs
Del: other reasons-- https://master.php.net/note/delete/82643
Reject -- https://master.php.net/note/reject/82643
Search -- https://master.php.net/manage/user-notes.php