If you can modify the class, you can implement __toString:
class MyObject {
private $messageID = 'Hello';
public function __toString() {
return $this->messageID;
}
}
// ...
$objectList = array(new MyObject, new MyObject);
echo implode(',', $objectList);
// Output: Hello,Hello