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
Unknown Object (File)
Sat, Apr 20, 6:19 PM
Unknown Object (File)
Thu, Apr 18, 6:38 AM
Unknown Object (File)
Tue, Apr 16, 12:11 AM
Unknown Object (File)
Fri, Apr 5, 6:16 PM
Unknown Object (File)
Wed, Apr 3, 1:54 AM
Unknown Object (File)
Mon, Apr 1, 7:29 AM
Unknown Object (File)
Mar 15 2024, 10:02 PM
Unknown Object (File)
Jan 24 2024, 1:10 AM
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