protected function status()
	{
		if ($len = strspn($this->data, '0123456789', $this->position))
		{
			$this->status_code = (int) substr($this->data, $this->position, $len);
			$this->position += $len;
			$this->state = 'reason';
		}
		else
		{
			$this->state = false;
		}
	}
protected function status()
	{
		if ($len = strspn($this->data, '0123456789', $this->position))
		{
			$this->status_code = (int) substr($this->data, $this->position, $len);
			$this->position += $len;
			$this->state = 'reason';
		}
		else
		{
			$this->state = false;
		}
	}
protected function status ( ) { if ( $ len = strspn ( $ this -> data , '0123456789' , $ this -> position ) ) { $ this -> status_code = ( int ) substr ( $ this -> data , $ this -> position , $ len ) ; $ this -> position += $ len ; $ this -> state = 'reason' ; } else { $ this -> state = false ; } }
Parse the status code
Parse the status code