@@ 201-207 (lines=7) @@ | ||
198 | } elseif (ctype_digit($n)) { |
|
199 | $def = $n; |
|
200 | ++$this->p; |
|
201 | for (; $this->p < min($this->length, $this->p + 2); ++$this->p) { |
|
202 | $n = $this->getNextChar(); |
|
203 | if (!ctype_digit($n)) { |
|
204 | break; |
|
205 | } |
|
206 | $def .= $n; |
|
207 | } |
|
208 | $str .= chr((int)$def); |
|
209 | } elseif (($n === 'x') || ($n === 'X')) { |
|
210 | $def = $n; |
|
@@ 212-218 (lines=7) @@ | ||
209 | } elseif (($n === 'x') || ($n === 'X')) { |
|
210 | $def = $n; |
|
211 | ++$this->p; |
|
212 | for (; $this->p < min($this->length, $this->p + 2); ++$this->p) { |
|
213 | $n = $this->getNextChar(); |
|
214 | if (!ctype_xdigit($n)) { |
|
215 | break; |
|
216 | } |
|
217 | $def .= $n; |
|
218 | } |
|
219 | $str .= chr((int)hexdec($def)); |
|
220 | } else { |
|
221 | $str .= $c; |