original_string: protected static function getIp($host)
      {
          if (!isset(self::$_dns[$host])) {
              self::$_dns[$host] = gethostbyname($host);
          }
          return self::$_dns[$host];
      }
code: protected static function getIp($host)
      {
          if (!isset(self::$_dns[$host])) {
              self::$_dns[$host] = gethostbyname($host);
          }
          return self::$_dns[$host];
      }
code_tokens: protected static function getIp ( $ host ) { if ( ! isset ( self :: $ _dns [ $ host ] ) ) { self :: $ _dns [ $ host ] = gethostbyname ( $ host ) ; } return self :: $ _dns [ $ host ] ; }
docstring: get ip address
docstring_tokens: get ip address