mirror of
https://github.com/php/php-src.git
synced 2024-09-21 18:07:23 +00:00
27cd7a11cb
This adds support for: $array1 = ['a' => 1, 'b' => 2]; $array2 = ['b' => 3, 'c' => 4]; $array = [...$array1, ...$array2]; // => ['a' => 1, 'b' => 3, 'c' => 4] RFC: https://wiki.php.net/rfc/array_unpacking_string_keys Closes GH-6584. |
||
---|---|---|
.. | ||
already_occupied.phpt | ||
basic.phpt | ||
classes.phpt | ||
in_destructuring.phpt | ||
non_integer_keys.phpt | ||
ref1.phpt | ||
string_keys.phpt | ||
undef_var.phpt | ||
unpack_invalid_type_compile_time.phpt | ||
unpack_string_keys_compile_time.phpt |