original_string: public function getRemoteIp()
      {
          $pos = strrpos($this->_remoteAddress, ':');
          if ($pos) {
              return substr($this->_remoteAddress, 0, $pos);
          }
          return '';
      }
code: public function getRemoteIp()
      {
          $pos = strrpos($this->_remoteAddress, ':');
          if ($pos) {
              return substr($this->_remoteAddress, 0, $pos);
          }
          return '';
      }
code_tokens: public function getRemoteIp ( ) { $ pos = strrpos ( $ this -> _remoteAddress , ':' ) ; if ( $ pos ) { return substr ( $ this -> _remoteAddress , 0 , $ pos ) ; } return '' ; }
docstring: Get remote IP.
  
  @return string
docstring_tokens: Get remote IP .