public function mergeBitStream() { if ($this->convertData() < 0) { return null; } $bstream = new weixin_qrcode_QRbitstream(); foreach ($this->items as $item) { $ret = $bstream->append($item->bstream); if ($ret < 0) { return null; } } return $bstream; }