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
F13137893: D8033.id18177.diff
Thu, May 2, 9:17 PM
Unknown Object (File)
Wed, May 1, 6:56 PM
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)
Apr 3 2024, 1:54 AM
Unknown Object (File)
Apr 1 2024, 7:29 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