1--TEST-- 2Unpacking of string keys is supported at compile-time 3--FILE-- 4<?php 5 6var_dump([...['a' => 'b']]); 7var_dump(['a' => 'X', ...['a' => 'b']]); 8var_dump([...['a' => 'b'], 'a' => 'X']); 9 10?> 11--EXPECT-- 12array(1) { 13 ["a"]=> 14 string(1) "b" 15} 16array(1) { 17 ["a"]=> 18 string(1) "b" 19} 20array(1) { 21 ["a"]=> 22 string(1) "X" 23} 24