Homec4science

Mostly align parser to PHP 5.5.8

Authored by epriestley <git@epriestley.com> on Jan 21 2014, 23:33.

Description

Mostly align parser to PHP 5.5.8

Summary: Ref T4334. Adds support for: traits; yield; short array syntax; callable; finally.

Test Plan:
Unit tests. Attempted to use PHPAST web view to verify I didn't build the trees wrong.

{F103626}

Generally, these changes are difficult to verify by inspection, and errors only become clear once the tree is in use. So probably not everything is quite correct, but it should be relatively close.

Reviewers: btrahan, Firehed

Reviewed By: btrahan

CC: aran

Maniphest Tasks: T4334

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

Details

Committed
epriestley <git@epriestley.com>Jan 21 2014, 23:33
Pushed
aubortMar 17 2017, 12:03
Parents
rPHU93a29d837130: Align PHPAST lexer to PHP 5.5.8
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHU86d651f9c929: Mostly align parser to PHP 5.5.8 (authored by epriestley <git@epriestley.com>).Jan 21 2014, 23:33