Allow unpacking multiple arguments
Open
php5 incompatibility
- Dominant language
- C++
- Stars
- 18.7k
- Forks
- 3.1k
- Avg merge
- 1h 47m
- Merged PRs (30d)
- 2
Description
PHP (5.6+) allows unpacking multiple arguments, HHVM only allows unpacking for the last argument. For example, the following does not work:
``` php
function add($a, $b, $c, $d)
{
echo $a + $b + $c + $d;
}
add(...[2, 3], ...[4, 5]);
```
http://3v4l.org/lLuMG
Contributor guide
Assessment
This issue has not been assessed yet.