| @@ 167-173 (lines=7) @@ | ||
| 164 | continue; |
|
| 165 | } |
|
| 166 | ||
| 167 | if ($token['code'] === T_COMMENT |
|
| 168 | && substr($token['content'], 0, 2) === '/*' |
|
| 169 | ) { |
|
| 170 | // Multi-line comment. Record it so we can ignore other |
|
| 171 | // comment tags until we get out of this one. |
|
| 172 | $multiLineComment = true; |
|
| 173 | } |
|
| 174 | ||
| 175 | if ($token['code'] === T_COMMENT |
|
| 176 | && $multiLineComment === false |
|
| @@ 252-257 (lines=6) @@ | ||
| 249 | continue; |
|
| 250 | }//end if |
|
| 251 | ||
| 252 | if ($token['code'] === T_COMMENT |
|
| 253 | && substr($token['content'], -2) === '*/' |
|
| 254 | ) { |
|
| 255 | // Multi-line comment is done. |
|
| 256 | $multiLineComment = false; |
|
| 257 | } |
|
| 258 | ||
| 259 | $finalTokens[$newStackPtr] = $token; |
|
| 260 | $newStackPtr++; |
|