original_string: public function getResponseStatusCode ()
      {
          if (!$this->_sent) {
              throw new CAS_OutOfSequenceException(
                  'Request has not been sent yet. Cannot '.__METHOD__
              );
          }
  
          if (!preg_match(
              '/HTTP\/[0-9.]+\s+([0-9]+)\s*(.*)/',
              $this->_responseHeaders[0], $matches
          )
          ) {
              throw new CAS_Request_Exception(
                  'Bad response, no status code was found in the first line.'
              );
          }
  
          return intval($matches[1]);
      }
code: public function getResponseStatusCode ()
      {
          if (!$this->_sent) {
              throw new CAS_OutOfSequenceException(
                  'Request has not been sent yet. Cannot '.__METHOD__
              );
          }
  
          if (!preg_match(
              '/HTTP\/[0-9.]+\s+([0-9]+)\s*(.*)/',
              $this->_responseHeaders[0], $matches
          )
          ) {
              throw new CAS_Request_Exception(
                  'Bad response, no status code was found in the first line.'
              );
          }
  
          return intval($matches[1]);
      }
code_tokens: public function getResponseStatusCode ( ) { if ( ! $ this -> _sent ) { throw new CAS_OutOfSequenceException ( 'Request has not been sent yet. Cannot ' . __METHOD__ ) ; } if ( ! preg_match ( '/HTTP\/[0-9.]+\s+([0-9]+)\s*(.*)/' , $ this -> _responseHeaders [ 0 ] , $ matches ) ) { throw new CAS_Request_Exception ( 'Bad response, no status code was found in the first line.' ) ; } return intval ( $ matches [ 1 ] ) ; }
docstring: Answer HTTP status code of the response
  
  @return int
  @throws CAS_OutOfSequenceException If called before the Request has been sent.
docstring_tokens: Answer HTTP status code of the response