Lines Matching defs:data
113 * Input data
118 public $data = '';
121 * Input data length (to avoid calling strlen() everytime this is needed)
137 * Create an instance of the class with the input data
140 * @param string $data Input data
142 public function __construct($data)
144 $this->data = $data;
145 $this->data_length = strlen($this->data);
149 * Parse the input data
160 $this->data = '';
172 * Check whether there is data beyond the pointer
175 * @return bool true if there is further data, false if not
189 $whitespace = strspn($this->data, "\x09\x0A\x0D\x20", $this->position);
199 $quote = substr($this->data, $this->position, 1);
202 $len = strcspn($this->data, $quote, $this->position);
204 $value = substr($this->data, $this->position, $len);
223 if (substr($this->data, $this->position, 7) === 'version') {
234 if (substr($this->data, $this->position, 1) === '=') {
259 if (substr($this->data, $this->position, 8) === 'encoding') {
270 if (substr($this->data, $this->position, 1) === '=') {
295 if (substr($this->data, $this->position, 10) === 'standalone') {
306 if (substr($this->data, $this->position, 1) === '=') {