note 36955 deleted from ref.classobj by didou

From: Date: Tue, 28 Oct 2003 22:10:51 +0000
Subject: note 36955 deleted from ref.classobj by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-59439@lists.php.net to get a copy of this message
Note Submitter: Euroman ---- It would be fantastic if there were a way to convert a stdClass into another named class. (For instance when you get an object back from a MySql call with fetch_object). You can hack it by serialising, editting the string and then unserialising, but this is nasty and slow - a proper function call to do this would be excellent.

« previous php.notes (#59439) next »