On Thu, 06 Jul 2006 12:36:00 -0400, Adam Maccabee Trachtenberg wrote: > > However, if you prefer it as an array, typecast it: > > $array = (array) $object; > This should not be necessary since stdObject implements Iterator in which case the foreach construct should suffice as with arrays. foreach (stdObject object as $item) print "$item\n"; -- Hilsen/Regards Michael Rasmussen http://keyserver.veridis.com:11371/pks/lookup?op=get&search=0xE3E80917 -- PHP Soap Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php