original_string: protected function currentUrlSsl()
      {
          if (isset(static::$static[__FUNCTION__])) {
              return static::$static[__FUNCTION__];
          }
          if (!empty($_SERVER['SERVER_PORT'])) {
              if ((int) $_SERVER['SERVER_PORT'] === 443) {
                  return static::$static[__FUNCTION__] = true;
              }
          }
          if (!empty($_SERVER['HTTPS'])) {
              if (filter_var($_SERVER['HTTPS'], FILTER_VALIDATE_BOOLEAN)) {
                  return static::$static[__FUNCTION__] = true;
              }
          }
          if (!empty($_SERVER['HTTP_X_FORWARDED_PROTO'])) {
              if (strcasecmp($_SERVER['HTTP_X_FORWARDED_PROTO'], 'https') === 0) {
                  return static::$static[__FUNCTION__] = true;
              }
          }
          return static::$static[__FUNCTION__] = false;
      }
code: protected function currentUrlSsl()
      {
          if (isset(static::$static[__FUNCTION__])) {
              return static::$static[__FUNCTION__];
          }
          if (!empty($_SERVER['SERVER_PORT'])) {
              if ((int) $_SERVER['SERVER_PORT'] === 443) {
                  return static::$static[__FUNCTION__] = true;
              }
          }
          if (!empty($_SERVER['HTTPS'])) {
              if (filter_var($_SERVER['HTTPS'], FILTER_VALIDATE_BOOLEAN)) {
                  return static::$static[__FUNCTION__] = true;
              }
          }
          if (!empty($_SERVER['HTTP_X_FORWARDED_PROTO'])) {
              if (strcasecmp($_SERVER['HTTP_X_FORWARDED_PROTO'], 'https') === 0) {
                  return static::$static[__FUNCTION__] = true;
              }
          }
          return static::$static[__FUNCTION__] = false;
      }
code_tokens: protected function currentUrlSsl ( ) { if ( isset ( static :: $ static [ __FUNCTION__ ] ) ) { return static :: $ static [ __FUNCTION__ ] ; } if ( ! empty ( $ _SERVER [ 'SERVER_PORT' ] ) ) { if ( ( int ) $ _SERVER [ 'SERVER_PORT' ] === 443 ) { return static :: $ static [ __FUNCTION__ ] = true ; } } if ( ! empty ( $ _SERVER [ 'HTTPS' ] ) ) { if ( filter_var ( $ _SERVER [ 'HTTPS' ] , FILTER_VALIDATE_BOOLEAN ) ) { return static :: $ static [ __FUNCTION__ ] = true ; } } if ( ! empty ( $ _SERVER [ 'HTTP_X_FORWARDED_PROTO' ] ) ) { if ( strcasecmp ( $ _SERVER [ 'HTTP_X_FORWARDED_PROTO' ] , 'https' ) === 0 ) { return static :: $ static [ __FUNCTION__ ] = true ; } } return static :: $ static [ __FUNCTION__ ] = false ; }
docstring: Is the current request over SSL?
  
  @since 140417 Initial release.
  
  @return bool TRUE if over SSL; else FALSE.
docstring_tokens: Is the current request over SSL?