WordPress at Your Fingertips
function is not described

SimplePie_HTTP_Parser::reason() protected WP 1.0

Parse the reason phrase

{} It's a method of the class: SimplePie_HTTP_Parser{}

No Hooks.

Return

null. Nothing.

Usage

// protected - for code of main (parent) or child class
$result = $this->reason();

Code of SimplePie_HTTP_Parser::reason() WP 5.8.2

protected function reason()
{
	$len = strcspn($this->data, "\x0A", $this->position);
	$this->reason = trim(substr($this->data, $this->position, $len), "\x09\x0D\x20");
	$this->position += $len + 1;
	$this->state = 'new_line';
}