@@ 303-307 (lines=5) @@ | ||
300 | true |
|
301 | ); |
|
302 | ||
303 | if ($prev === false |
|
304 | || $tokens[$prev]['code'] !== $pattern[$i]['token'] |
|
305 | ) { |
|
306 | return false; |
|
307 | } |
|
308 | ||
309 | // If we skipped past some whitespace tokens, then add them |
|
310 | // to the found string. |
|
@@ 505-510 (lines=6) @@ | ||
502 | true |
|
503 | ); |
|
504 | ||
505 | if ($next === false |
|
506 | || $tokens[$next]['code'] !== $pattern[$i]['token'] |
|
507 | ) { |
|
508 | // The next important token did not match the pattern. |
|
509 | return false; |
|
510 | } |
|
511 | ||
512 | if ($lastAddedStackPtr !== null) { |
|
513 | if (($tokens[$next]['code'] === T_OPEN_CURLY_BRACKET |