original_string: public function uniqueid($msgno = null)
      {
          if ($msgno !== null) {
              $result = $this->request("UIDL $msgno");
  
              list(, $result) = explode(' ', $result);
              return $result;
          }
  
          $result = $this->request('UIDL', true);
  
          $result = explode("\n", $result);
          $messages = array();
          foreach ($result as $line) {
              if (!$line) {
                  continue;
              }
              list($no, $id) = explode(' ', trim($line), 2);
              $messages[(int)$no] = $id;
          }
  
          return $messages;
  
      }
code: public function uniqueid($msgno = null)
      {
          if ($msgno !== null) {
              $result = $this->request("UIDL $msgno");
  
              list(, $result) = explode(' ', $result);
              return $result;
          }
  
          $result = $this->request('UIDL', true);
  
          $result = explode("\n", $result);
          $messages = array();
          foreach ($result as $line) {
              if (!$line) {
                  continue;
              }
              list($no, $id) = explode(' ', trim($line), 2);
              $messages[(int)$no] = $id;
          }
  
          return $messages;
  
      }
code_tokens: public function uniqueid ( $ msgno = null ) { if ( $ msgno !== null ) { $ result = $ this -> request ( "UIDL $msgno" ) ; list ( , $ result ) = explode ( ' ' , $ result ) ; return $ result ; } $ result = $ this -> request ( 'UIDL' , true ) ; $ result = explode ( "\n" , $ result ) ; $ messages = array ( ) ; foreach ( $ result as $ line ) { if ( ! $ line ) { continue ; } list ( $ no , $ id ) = explode ( ' ' , trim ( $ line ) , 2 ) ; $ messages [ ( int ) $ no ] = $ id ; } return $ messages ; }
docstring: Make UIDL call for getting a uniqueid
  
  @param  int|null $msgno number of message, null for all
  @return string|array uniqueid of message or list with array(num => uniqueid)
  @throws Zend_Mail_Protocol_Exception
docstring_tokens: Make UIDL call for getting a uniqueid