WordPress at Your Fingertips
function is not described

SimplePie_HTTP_Parser::status() protected WP 1.0

Parse the status code

{} 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->status();

Code of SimplePie_HTTP_Parser::status() WP 5.8.2

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;
	}
}