roundcubemail/program/lib/Roundcube/rcube_imap_generic.php
protected function readReply(&$untagged = null)
    {
        do {
            $line = trim($this->readLine(1024));
            // store untagged response lines
            if ($line[0] == '*') {
                $untagged[] = $line;
            }
        }
        while ($line[0] == '*');

        if ($untagged) {
            $untagged = join("\n", $untagged);
        }

        return $line;
    }
protected function readReply(&$untagged = null)
    {
        do {
            $line = trim($this->readLine(1024));
            // store untagged response lines
            if ($line[0] == '*') {
                $untagged[] = $line;
            }
        }
        while ($line[0] == '*');

        if ($untagged) {
            $untagged = join("\n", $untagged);
        }

        return $line;
    }
protected function readReply ( & $ untagged = null ) { do { $ line = trim ( $ this -> readLine ( 1024 ) ) ; // store untagged response lines if ( $ line [ 0 ] == '*' ) { $ untagged [ ] = $ line ; } } while ( $ line [ 0 ] == '*' ) ; if ( $ untagged ) { $ untagged = join ( "\n" , $ untagged ) ; } return $ line ; }
Reads complete response to the IMAP command

@param array $untagged Will be filled with untagged response lines

@return string Response text
Reads complete response to the IMAP command