1--TEST--
2Argument unpacking with many arguments
3--FILE--
4<?php
5
6function f(...$args) {
7    var_dump(count($args));
8}
9
10$array = array_fill(0, 10000, 42);
11f(...$array, ...$array);
12
13?>
14--EXPECT--
15int(20000)
16