original_string: public function encode($input)
      {
          $parts = explode('.', $input);
  
          foreach ($parts as &$part) {
              $part = $this->_encodePart($part);
          }
  
          return implode('.', $parts);
      }
code: public function encode($input)
      {
          $parts = explode('.', $input);
  
          foreach ($parts as &$part) {
              $part = $this->_encodePart($part);
          }
  
          return implode('.', $parts);
      }
code_tokens: public function encode ( $ input ) { $ parts = explode ( '.' , $ input ) ; foreach ( $ parts as & $ part ) { $ part = $ this -> _encodePart ( $ part ) ; } return implode ( '.' , $ parts ) ; }
docstring: Encode a domain to its Punycode version.
  
  @param string $input  Domain name in Unicde to be encoded.
  
  @return string  Punycode representation in ASCII.
docstring_tokens: Encode a domain to its Punycode version .