Page MenuHomePhabricator

Mostly align parser to PHP 5.5.8
ClosedPublic

Authored by epriestley on Jan 21 2014, 9:35 PM.
Tags
None
Referenced Files
F18628610: D8033.id.diff
Tue, Sep 16, 6:42 AM
F18624168: D8033.diff
Mon, Sep 15, 7:11 PM
F18622896: D8033.diff
Mon, Sep 15, 1:26 PM
F18621506: D8033.diff
Mon, Sep 15, 8:34 AM
F18607238: D8033.id18156.diff
Sat, Sep 13, 11:41 PM
F18154853: D8033.id18156.diff
Aug 14 2025, 8:44 PM
F18141278: D8033.id.diff
Aug 14 2025, 7:24 AM
F18129936: D8033.diff
Aug 13 2025, 6:34 PM
Subscribers

Details

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.

Diff Detail

Lint
Lint Skipped
Unit
Tests Skipped