|
@@ 856-859 (lines=4) @@
|
| 853 |
|
echo '* searching for opener *'.PHP_EOL; |
| 854 |
|
} |
| 855 |
|
|
| 856 |
|
if (isset($this->scopeOpeners[$tokenType]['end'][T_CLOSE_CURLY_BRACKET]) === true) { |
| 857 |
|
$oldIgnore = $ignore; |
| 858 |
|
$ignore = 0; |
| 859 |
|
} |
| 860 |
|
|
| 861 |
|
// PHP has a max nesting level for functions. Stop before we hit that limit |
| 862 |
|
// because too many loops means we've run into trouble anyway. |
|
@@ 886-888 (lines=3) @@
|
| 883 |
|
$i = self::recurseScopeMap($i, ($depth + 1), $ignore); |
| 884 |
|
$depth = $oldDepth; |
| 885 |
|
|
| 886 |
|
if (isset($this->scopeOpeners[$tokenType]['end'][T_CLOSE_CURLY_BRACKET]) === true) { |
| 887 |
|
$ignore = $oldIgnore; |
| 888 |
|
} |
| 889 |
|
}//end if |
| 890 |
|
}//end if |
| 891 |
|
|