1--TEST-- 2Using array unpacking in an array literal that also has string keys (OSS-Fuzz #17965) 3--FILE-- 4<?php 5$y = [1, 2, 3]; 6$z = "bar"; 7$x = [...$y, "foo" => $z]; 8var_dump($x); 9?> 10--EXPECT-- 11array(4) { 12 [0]=> 13 int(1) 14 [1]=> 15 int(2) 16 [2]=> 17 int(3) 18 ["foo"]=> 19 string(3) "bar" 20} 21