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)
Wed, Dec 11, 8:53 PM
Unknown Object (File)
Sun, Dec 8, 2:26 AM
Unknown Object (File)
Wed, Dec 4, 4:34 PM
Unknown Object (File)
Fri, Nov 29, 5:54 PM
Unknown Object (File)
Fri, Nov 29, 5:53 PM
Unknown Object (File)
Tue, Nov 26, 12:06 AM
Unknown Object (File)
Nov 18 2024, 8:15 PM
Unknown Object (File)
Nov 18 2024, 10:47 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