original_string: protected function getLifetime()
      {
          $params = session_get_cookie_params();
          $cookieLifetime = (int)$params['lifetime'];
          $gcLifetime = (int)ini_get('session.gc_maxlifetime');
  
          return $cookieLifetime ? min($cookieLifetime, $gcLifetime) : $gcLifetime;
      }
code: protected function getLifetime()
      {
          $params = session_get_cookie_params();
          $cookieLifetime = (int)$params['lifetime'];
          $gcLifetime = (int)ini_get('session.gc_maxlifetime');
  
          return $cookieLifetime ? min($cookieLifetime, $gcLifetime) : $gcLifetime;
      }
code_tokens: protected function getLifetime ( ) { $ params = session_get_cookie_params ( ) ; $ cookieLifetime = ( int ) $ params [ 'lifetime' ] ; $ gcLifetime = ( int ) ini_get ( 'session.gc_maxlifetime' ) ; return $ cookieLifetime ? min ( $ cookieLifetime , $ gcLifetime ) : $ gcLifetime ; }
docstring: Get lifetime in number of seconds
  
  @return int
docstring_tokens: Get lifetime in number of seconds