@@ 1721-1727 (lines=7) @@ | ||
1718 | } |
|
1719 | } |
|
1720 | ||
1721 | if ($found === true) { |
|
1722 | if ($value === null) { |
|
1723 | return $i; |
|
1724 | } else if ($this->tokens[$i]['content'] === $value) { |
|
1725 | return $i; |
|
1726 | } |
|
1727 | } |
|
1728 | ||
1729 | if ($local === true) { |
|
1730 | if (isset($this->tokens[$i]['scope_opener']) === true |
|
@@ 1802-1808 (lines=7) @@ | ||
1799 | } |
|
1800 | } |
|
1801 | ||
1802 | if ($found === true) { |
|
1803 | if ($value === null) { |
|
1804 | return $i; |
|
1805 | } else if ($this->tokens[$i]['content'] === $value) { |
|
1806 | return $i; |
|
1807 | } |
|
1808 | } |
|
1809 | ||
1810 | if ($local === true && $this->tokens[$i]['code'] === T_SEMICOLON) { |
|
1811 | break; |