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)
Jun 18 2026, 12:35 AM
Unknown Object (File)
Jun 8 2026, 7:35 AM
Unknown Object (File)
Apr 21 2026, 5:05 PM
Unknown Object (File)
Feb 9 2026, 3:22 PM
Unknown Object (File)
Feb 9 2026, 3:22 PM
Unknown Object (File)
Jan 16 2026, 7:01 AM
Unknown Object (File)
Jan 15 2026, 7:26 PM
Unknown Object (File)
Dec 7 2025, 5:05 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