$this->data_length =
strlen($this->data
);
} /**
* Parse the input data
*
* @access public
* @return bool true on success, false on failure
*/
public function parse() { while ($this->state &&
$this->state !== 'emit' &&
$this->
has_data()) { $state =
$this->state;
$this->
$state();
} $this->data = '';
if ($this->state === 'emit'
) { return true;
} $this->version = '';