Home GnuPG

Don't eat whitespace after T_OPEN_TAG
dc0626970a6dUnpublished

Unpublished Commit ยท Learn More

Repository Importing: This repository is still importing.

Description

Don't eat whitespace after T_OPEN_TAG

Summary: 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/).

Test Plan:

BeforeAfter
{F764333}{F764335}

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: Korvin

Differential Revision: https://secure.phabricator.com/D13890

Details

Provenance
Joshua Spence <josh@freelancer.com>Authored on Aug 30 2015, 10:49 PM
Parents
rPHUTILc8a008f7e46c: Make PHP echo tags always available
Branches
Unknown
Tags
Unknown

Event Timeline

Joshua Spence <josh@freelancer.com> committed rPHUTILdc0626970a6d: Don't eat whitespace after T_OPEN_TAG (authored by Joshua Spence <josh@freelancer.com>).Aug 30 2015, 10:49 PM