protected function quote()
	{
		if ($this->is_linear_whitespace())
		{
			$this->linear_whitespace();
		}
		else
		{
			switch ($this->data[$this->position])
			{
				case '"':
					$this->position++;
					$this->state = 'value';
					break;

				case "\x0A":
					$this->position++;
					$this->state = 'new_line';
					break;

				case '\\':
					$this->position++;
					$this->state = 'quote_escaped';
					break;

				default:
					$this->state = 'quote_char';
					break;
			}
		}
	}
protected function quote()
	{
		if ($this->is_linear_whitespace())
		{
			$this->linear_whitespace();
		}
		else
		{
			switch ($this->data[$this->position])
			{
				case '"':
					$this->position++;
					$this->state = 'value';
					break;

				case "\x0A":
					$this->position++;
					$this->state = 'new_line';
					break;

				case '\\':
					$this->position++;
					$this->state = 'quote_escaped';
					break;

				default:
					$this->state = 'quote_char';
					break;
			}
		}
	}
protected function quote ( ) { if ( $ this -> is_linear_whitespace ( ) ) { $ this -> linear_whitespace ( ) ; } else { switch ( $ this -> data [ $ this -> position ] ) { case '"' : $ this -> position ++ ; $ this -> state = 'value' ; break ; case "\x0A" : $ this -> position ++ ; $ this -> state = 'new_line' ; break ; case '\\' : $ this -> position ++ ; $ this -> state = 'quote_escaped' ; break ; default : $ this -> state = 'quote_char' ; break ; } } }
See what state to move to while within quoted header values
See what state to move to while within quoted header values