original_string: public static function tryGcSessions()
      {
          if (HttpCache::$sessionGcProbability <= 0 ||
              HttpCache::$sessionGcDivisor     <= 0 ||
              rand(1, HttpCache::$sessionGcDivisor) > HttpCache::$sessionGcProbability) {
              return;
          }
  
          $time_now = time();
          foreach(glob(HttpCache::$sessionPath.'/ses*') as $file) {
              if(is_file($file) && $time_now - filemtime($file) > HttpCache::$sessionGcMaxLifeTime) {
                  unlink($file);
              }
          }
      }
code: public static function tryGcSessions()
      {
          if (HttpCache::$sessionGcProbability <= 0 ||
              HttpCache::$sessionGcDivisor     <= 0 ||
              rand(1, HttpCache::$sessionGcDivisor) > HttpCache::$sessionGcProbability) {
              return;
          }
  
          $time_now = time();
          foreach(glob(HttpCache::$sessionPath.'/ses*') as $file) {
              if(is_file($file) && $time_now - filemtime($file) > HttpCache::$sessionGcMaxLifeTime) {
                  unlink($file);
              }
          }
      }
code_tokens: public static function tryGcSessions ( ) { if ( HttpCache :: $ sessionGcProbability <= 0 || HttpCache :: $ sessionGcDivisor <= 0 || rand ( 1 , HttpCache :: $ sessionGcDivisor ) > HttpCache :: $ sessionGcProbability ) { return ; } $ time_now = time ( ) ; foreach ( glob ( HttpCache :: $ sessionPath . '/ses*' ) as $ file ) { if ( is_file ( $ file ) && $ time_now - filemtime ( $ file ) > HttpCache :: $ sessionGcMaxLifeTime ) { unlink ( $ file ) ; } } }
docstring: Try GC sessions.
  
  @return void
docstring_tokens: Try GC sessions .