1--TEST--
2Argument unpacking does not work with non-integer keys
3--FILE--
4<?php
5function foo(...$args) {
6    var_dump($args);
7}
8function gen() {
9    yield 1.23 => 123;
10    yield "2.34" => 234;
11}
12
13try {
14    foo(...gen());
15} catch (Error $ex) {
16    echo "Exception: " . $ex->getMessage() . "\n";
17}
18
19?>
20--EXPECT--
21Exception: Keys must be of type int|string during argument unpacking
22