@@ 211-218 (lines=8) @@ | ||
208 | } |
|
209 | $this->current .= $this->query[$i]; |
|
210 | continue; |
|
211 | } elseif ($this->status === static::STATUS_STRING_DOUBLE_QUOTES) { |
|
212 | // Double-quoted strings like "bar". |
|
213 | if ($this->query[$i] === '"') { |
|
214 | $this->status = 0; |
|
215 | } |
|
216 | $this->current .= $this->query[$i]; |
|
217 | continue; |
|
218 | } elseif ($this->status === static::STATUS_STRING_BACKTICK) { |
|
219 | if ($this->query[$i] === '`') { |
|
220 | $this->status = 0; |
|
221 | } |
|
@@ 245-249 (lines=5) @@ | ||
242 | $this->status = static::STATUS_STRING_SINGLE_QUOTES; |
|
243 | $this->current .= $this->query[$i]; |
|
244 | continue; |
|
245 | } elseif ($this->query[$i] === '"') { |
|
246 | $this->status = static::STATUS_STRING_DOUBLE_QUOTES; |
|
247 | $this->current .= $this->query[$i]; |
|
248 | continue; |
|
249 | } elseif ($this->query[$i] === '`') { |
|
250 | $this->status = static::STATUS_STRING_BACKTICK; |
|
251 | $this->current .= $this->query[$i]; |
|
252 | continue; |