| @@ 298-301 (lines=4) @@ | ||
| 295 | $string = $this->token(static::T_STRING, $c); |
|
| 296 | --$this->p; |
|
| 297 | ||
| 298 | if ($elTypes[$i] === null) { |
|
| 299 | $elements[$i] = $string; |
|
| 300 | $elTypes[$i] = static::T_STRING; |
|
| 301 | } |
|
| 302 | } elseif ($c === '"') { |
|
| 303 | if ($elTypes[$i] !== null) { |
|
| 304 | $this->raiseError('Unexpected T_STRING_DOUBLE.'); |
|
| @@ 310-313 (lines=4) @@ | ||
| 307 | $string = $this->token(static::T_STRING_DOUBLE, $c); |
|
| 308 | --$this->p; |
|
| 309 | ||
| 310 | if ($elTypes[$i] === null) { |
|
| 311 | $elements[$i] = $string; |
|
| 312 | $elTypes[$i] = static::T_STRING_DOUBLE; |
|
| 313 | } |
|
| 314 | } elseif ($c === '}') { |
|
| 315 | $this->raiseError('Unexpected \'}\' instead of \';\' or \'{\''); |
|
| 316 | } elseif ($c === ';') { |
|