SimpleArtist) return $ret; foreach($res->SimpleArtist as $sa) { if($sa->ArtistName) $ret[] = (string)$sa->ArtistName; } return $ret; } ?>