| @@ 1800-1807 (lines=8) @@ | ||
| 1797 | $endTokens[T_CLOSE_TAG] = true; |
|
| 1798 | $endTokens[T_OPEN_SHORT_ARRAY] = true; |
|
| 1799 | ||
| 1800 | if ($ignore !== null) { |
|
| 1801 | $ignore = (array) $ignore; |
|
| 1802 | foreach ($ignore as $code) { |
|
| 1803 | if (isset($endTokens[$code]) === true) { |
|
| 1804 | unset($endTokens[$code]); |
|
| 1805 | } |
|
| 1806 | } |
|
| 1807 | } |
|
| 1808 | ||
| 1809 | $lastNotEmpty = $start; |
|
| 1810 | ||
| @@ 1868-1875 (lines=8) @@ | ||
| 1865 | T_CLOSE_TAG => true, |
|
| 1866 | ); |
|
| 1867 | ||
| 1868 | if ($ignore !== null) { |
|
| 1869 | $ignore = (array) $ignore; |
|
| 1870 | foreach ($ignore as $code) { |
|
| 1871 | if (isset($endTokens[$code]) === true) { |
|
| 1872 | unset($endTokens[$code]); |
|
| 1873 | } |
|
| 1874 | } |
|
| 1875 | } |
|
| 1876 | ||
| 1877 | $lastNotEmpty = $start; |
|
| 1878 | ||