array to object conversion

From: Date: Tue, 13 Dec 2005 10:41:42 +0000
Subject: array to object conversion
Groups: php.general 
Request: Send a blank email to php-general+get-227439@lists.php.net to get a copy of this message
Is there any way of converting an array to an object of a type/class other than stdClass? I have been using the new PDO system and have experimented with fetching rows with PDO::FETCH_CLASS I would quite like to do the same with a plain array. Any comments appreciated. Cyril

« previous php.general (#227439) next »