HomePhabricator

XHPAST array_function_derefence support

Description

XHPAST array_function_derefence support

Summary: Ref. T4334. Makes "isset(foo()[1])" syntax work, which was added in 5.4

Test Plan:
arc unit
Added test case for known-good syntax, TDD'd the grammar file until it worked (mostly scraped from Zend)
generate_php_symbols.php of WePay's entire codebase with updated XHPAST, no errors at all.

Reviewers: epriestley, btrahan, Blessed Reviewers

Reviewed By: epriestley

CC: Korvin, epriestley, aran

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

Details

Provenance
FirehedAuthored on
epriestleyCommitted on Feb 7 2014, 6:30 PM
epriestleyPushed on Feb 7 2014, 6:31 PM
Reviewer
epriestley
Differential Revision
D8154: XHPAST array_function_derefence support
Parents
rPHU9e85344d3ffb: Encode username and password correctly in PhutilURI
Branches
Unknown
Tags
Unknown

Event Timeline