Lines Matching defs:position
78 public $position = 0;
99 while (($this->position = strpos($this->data, '&', $this->position)) !== false) {
115 if (isset($this->data[$this->position])) {
116 $this->consumed .= $this->data[$this->position];
117 return $this->data[$this->position++];
132 if ($len = strspn($this->data, $chars, $this->position)) {
133 $data = substr($this->data, $this->position, $len);
135 $this->position += $len;
150 $this->position--;
206 $this->data = substr_replace($this->data, $replacement, $this->position - $consumed_length, $consumed_length);
207 $this->position += strlen($replacement) - $consumed_length;
589 $this->data = substr_replace($this->data, $entities[$match], $this->position - strlen($consumed) - 1, strlen($match) + 1);
590 $this->position += strlen($entities[$match]) - strlen($consumed) - 1;