original_string: public function getSyncToken($mailbox)
      {
          $out = array();
  
          foreach ($this->_syncStatus($mailbox) as $key => $val) {
              $out[] = $key . $val;
          }
  
          return base64_encode(implode(',', $out));
      }
code: public function getSyncToken($mailbox)
      {
          $out = array();
  
          foreach ($this->_syncStatus($mailbox) as $key => $val) {
              $out[] = $key . $val;
          }
  
          return base64_encode(implode(',', $out));
      }
code_tokens: public function getSyncToken ( $ mailbox ) { $ out = array ( ) ; foreach ( $ this -> _syncStatus ( $ mailbox ) as $ key => $ val ) { $ out [ ] = $ key . $ val ; } return base64_encode ( implode ( ',' , $ out ) ) ; }
docstring: Returns a unique token for the current mailbox synchronization status.
  
  @since 2.2.0
  
  @param mixed $mailbox  A mailbox. Either a Horde_Imap_Client_Mailbox
  object or a string (UTF-8).
  
  @return string  The sync token.
  
  @throws Horde_Imap_Client_Exception
docstring_tokens: Returns a unique token for the current mailbox synchronization status .