original_string: public static function getProtocolInformation()
      {
          if (isset($_SERVER['SERVER_PORT']) && $_SERVER['SERVER_PORT'] == 443) {
              return 'SERVER_PORT=443';
          }
  
          if (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && strtolower($_SERVER['HTTP_X_FORWARDED_PROTO']) == 'https') {
              return 'X-Forwarded-Proto';
          }
  
          if (isset($_SERVER['HTTP_X_FORWARDED_SCHEME']) && strtolower($_SERVER['HTTP_X_FORWARDED_SCHEME']) == 'https') {
              return 'X-Forwarded-Scheme';
          }
  
          if (isset($_SERVER['HTTP_X_URL_SCHEME']) && strtolower($_SERVER['HTTP_X_URL_SCHEME']) == 'https') {
              return 'X-Url-Scheme';
          }
  
          return null;
      }
code: public static function getProtocolInformation()
      {
          if (isset($_SERVER['SERVER_PORT']) && $_SERVER['SERVER_PORT'] == 443) {
              return 'SERVER_PORT=443';
          }
  
          if (isset($_SERVER['HTTP_X_FORWARDED_PROTO']) && strtolower($_SERVER['HTTP_X_FORWARDED_PROTO']) == 'https') {
              return 'X-Forwarded-Proto';
          }
  
          if (isset($_SERVER['HTTP_X_FORWARDED_SCHEME']) && strtolower($_SERVER['HTTP_X_FORWARDED_SCHEME']) == 'https') {
              return 'X-Forwarded-Scheme';
          }
  
          if (isset($_SERVER['HTTP_X_URL_SCHEME']) && strtolower($_SERVER['HTTP_X_URL_SCHEME']) == 'https') {
              return 'X-Url-Scheme';
          }
  
          return null;
      }
code_tokens: public static function getProtocolInformation ( ) { if ( isset ( $ _SERVER [ 'SERVER_PORT' ] ) && $ _SERVER [ 'SERVER_PORT' ] == 443 ) { return 'SERVER_PORT=443' ; } if ( isset ( $ _SERVER [ 'HTTP_X_FORWARDED_PROTO' ] ) && strtolower ( $ _SERVER [ 'HTTP_X_FORWARDED_PROTO' ] ) == 'https' ) { return 'X-Forwarded-Proto' ; } if ( isset ( $ _SERVER [ 'HTTP_X_FORWARDED_SCHEME' ] ) && strtolower ( $ _SERVER [ 'HTTP_X_FORWARDED_SCHEME' ] ) == 'https' ) { return 'X-Forwarded-Scheme' ; } if ( isset ( $ _SERVER [ 'HTTP_X_URL_SCHEME' ] ) && strtolower ( $ _SERVER [ 'HTTP_X_URL_SCHEME' ] ) == 'https' ) { return 'X-Url-Scheme' ; } return null ; }
docstring: Get protocol information, with the exception of HTTPS
  
  @return string protocol information
docstring_tokens: Get protocol information with the exception of HTTPS