#20656 [NEW]: Feature Request: mysql_fetch_object as user defined class

From: Date: Tue, 26 Nov 2002 19:02:31 +0000
Subject: #20656 [NEW]: Feature Request: mysql_fetch_object as user defined class
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-25873@lists.php.net to get a copy of this message
From: publicNO@SPAM.itsminimal.com Operating system: n/a PHP version: 4.2.2 PHP Bug Type: Feature/Change Request Bug description: Feature Request: mysql_fetch_object as user defined class I think it would be very useful to be able to specify the class of the object returned by mysql_fetch_object. So perhaps the syntax would be mysql_fetch_object ( resource result, classname ) and the object returned would have all the properties and methods of the user defined class, in addition to having properties that correspond to the fetched row -- Edit bug report at http://bugs.php.net/?id=20656&edit=1 -- Try a CVS snapshot: http://bugs.php.net/fix.php?id=20656&r=trysnapshot Fixed in CVS: http://bugs.php.net/fix.php?id=20656&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=20656&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=20656&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=20656&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=20656&r=support Expected behavior: http://bugs.php.net/fix.php?id=20656&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=20656&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=20656&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=20656&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=20656&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=20656&r=dst IIS Stability: http://bugs.php.net/fix.php?id=20656&r=isapi

« previous php.bugs (#25873) next »