HomePhabricator

Add a PHPAST test case for most of the PHP grammar

Description

Add a PHPAST test case for most of the PHP grammar

Summary: Ref T4334. This test case covers most of the common PHP grammar rules. It's not exhastive and avoids some of the tricky parts, but provides a wide base of rule tests.

Test Plan: Examined parse manually in PHPAST web tool. Ran unit tests.

Reviewers: btrahan, Firehed

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T4334

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

Details

Provenance
epriestleyAuthored on
epriestleyPushed on Jan 21 2014, 10:32 PM
Reviewer
btrahan
Differential Revision
D8028: Add a PHPAST test case for most of the PHP grammar
Parents
rPHU65f813e7ab78: Add failing PHPAST test case for binary literals
Branches
Unknown
Tags
Unknown
Tasks
T4334: Support PHP5.4+ syntax in XHPAST

Event Timeline