jhdxr · GitHub

@jhdxr changed the title Feature/array unpack Spread Operator in Array

Oct 28, 2018

@jhdxr jhdxr changed the title Spread Operator in Array [WIP][RFC]Spread Operator in Array

Oct 28, 2018

@jhdxr

@jhdxr

jhdxr changed the base branch from master to PHP-7.4

April 5, 2019 12:04

nikic

@jhdxr

@jhdxr

nikic

Squashed commit:
[ 6996c36 ] wip
[ 2900439 ] revert unrelated changes
[ b514401 ] stop unpacking after insertion fails
[ 03c36b8 ] clean up (+1 squashed commits)
Squashed commits:
[d52c6c7bf7] spread operator for array

@jhdxr

nikic

Result will be freed by exception handling, don't destroy it
ourselves.
And also fix one discrepancy in how many warnings you get when the
unpack is AST evaluated.
And tweak error message for grammar.

adrian-enspired pushed a commit to adrian-enspired/php-src that referenced this pull request

Aug 4, 2026

Read the original on github.com ↗