SimplePie_XML_Declaration_Parser::parse

Advertisement

Summery Summery

Parse the input data

Syntax Syntax

SimplePie_XML_Declaration_Parser::parse()

Return Return

(bool) true on success, false on failure

Source Source

File: wp-includes/SimplePie/XML/Declaration/Parser.php

	{
		while ($this->state && $this->state !== 'emit' && $this->has_data())
		{
			$state = $this->state;
			$this->$state();
		}
		$this->data = '';
		if ($this->state === 'emit')
		{
			return true;
		}

		$this->version = '';
		$this->encoding = '';
		$this->standalone = '';
		return false;
	}

	/**
	 * Check whether there is data beyond the pointer

Advertisement

Advertisement

Leave a Reply