1--TEST--
2Type inference of SEND_UNPACK with empty array
3--SKIPIF--
4<?php require_once('skipif.inc'); ?>
5--FILE--
6<?php
7function test() {
8    $array = [1, 2, 3];
9    $values = [];
10    var_dump(array_push($array, 4, ...$values));
11    var_dump($array);
12}
13test();
14?>
15--EXPECT--
16int(4)
17array(4) {
18  [0]=>
19  int(1)
20  [1]=>
21  int(2)
22  [2]=>
23  int(3)
24  [3]=>
25  int(4)
26}
27