Currently the scanner eats whitespace after <?php but not after <?. This means that <?php tokenises to T_OPEN_TAG (see https://secure.phabricator.com/xhpast/view/853/) whereas <? tokenises to T_OPEN_TAG, T_WHITESPACE (see https://secure.phabricator.com/xhpast/view/854/).
Details
Details
- Reviewers
epriestley - Group Reviewers
Blessed Reviewers - Commits
- rPHUdc0626970a6d: Don't eat whitespace after T_OPEN_TAG
Before | After |
---|---|
Diff Detail
Diff Detail
- Repository
- rPHU libphutil
- Branch
- master
- Lint
Lint Passed - Unit
Test Failures - Build Status
Buildable 7619 Build 8278: [Placeholder Plan] Wait for 30 Seconds Build 8277: arc lint + arc unit
Time | Test | |
---|---|---|
133 ms | PHPASTParserTestCase::Unknown Unit Message (" |