original_string: public static function getClientIp($checkProxy = true)
      {
          $result = null;
          if ($checkProxy) {
              $result = self::getServer('HTTP_CLIENT_IP') ?? self::getServer('HTTP_X_FORWARDED_FOR') ?? null;
          }
          return $result ?? self::getServer('REMOTE_ADDR');
      }
code: public static function getClientIp($checkProxy = true)
      {
          $result = null;
          if ($checkProxy) {
              $result = self::getServer('HTTP_CLIENT_IP') ?? self::getServer('HTTP_X_FORWARDED_FOR') ?? null;
          }
          return $result ?? self::getServer('REMOTE_ADDR');
      }
code_tokens: public static function getClientIp ( $ checkProxy = true ) { $ result = null ; if ( $ checkProxy ) { $ result = self :: getServer ( 'HTTP_CLIENT_IP' ) ?? self :: getServer ( 'HTTP_X_FORWARDED_FOR' ) ?? null ; } return $ result ?? self :: getServer ( 'REMOTE_ADDR' ) ; }
docstring: Get the client's IP address
  
  @param  bool $checkProxy
  
  @return string
docstring_tokens: Get the client s IP address