Homec4science

Add array method dereference support to xhpast.

Authored by Eric Stern <eric@ericstern.com> on Mar 25 2014, 20:22.

Description

Add array method dereference support to xhpast.

Summary: Adds support for array method dereferencing, e.g. $foo->bar()[0]. Bumps XHPAST version. Ref T4334.

Test Plan: Wrote two failing unit tests for language parsing abilities using the specific errors mentioned in T4334. Hacked away at the parser importing bits from Zend's zend_language_parser.y until they passed.

Reviewers: epriestley, #blessed_reviewers

Reviewed By: epriestley, #blessed_reviewers

Subscribers: epriestley, Korvin

Maniphest Tasks: T4334

Differential Revision: https://secure.phabricator.com/D8611

Details

Committed
epriestley <git@epriestley.com>Mar 25 2014, 20:22
Pushed
aubortMar 17 2017, 12:03
Parents
rPHUa25afc6c64b0: Put a <span> around "NOTE:" in Remarkup
Branches
Unknown
Tags
Unknown

Event Timeline

epriestley <git@epriestley.com> committed rPHU904d39effd20: Add array method dereference support to xhpast. (authored by Eric Stern <eric@ericstern.com>).Mar 25 2014, 20:22