|
@@ 827-830 (lines=4) @@
|
| 824 |
|
echo '* searching for opener *'.PHP_EOL; |
| 825 |
|
} |
| 826 |
|
|
| 827 |
|
if (isset($this->scopeOpeners[$tokenType]['end'][T_CLOSE_CURLY_BRACKET]) === true) { |
| 828 |
|
$oldIgnore = $ignore; |
| 829 |
|
$ignore = 0; |
| 830 |
|
} |
| 831 |
|
|
| 832 |
|
// PHP has a max nesting level for functions. Stop before we hit that limit |
| 833 |
|
// because too many loops means we've run into trouble anyway. |
|
@@ 857-859 (lines=3) @@
|
| 854 |
|
$i = self::recurseScopeMap($i, ($depth + 1), $ignore); |
| 855 |
|
$depth = $oldDepth; |
| 856 |
|
|
| 857 |
|
if (isset($this->scopeOpeners[$tokenType]['end'][T_CLOSE_CURLY_BRACKET]) === true) { |
| 858 |
|
$ignore = $oldIgnore; |
| 859 |
|
} |
| 860 |
|
}//end if |
| 861 |
|
}//end if |
| 862 |
|
|