diff options
author | CHU Zhaowei <jhdxr@php.net> | 2018-10-06 22:04:41 +0800 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-05-13 14:42:43 +0200 |
commit | e829d087299b59e638e91f18ea76f4dbe920c77b (patch) | |
tree | 87c3333a6f86ff53a3c73cccc7638b7964ddd6a5 /UPGRADING | |
parent | 49de3ce3caee95e4f58435d94117c7b08de2452e (diff) | |
download | php-git-e829d087299b59e638e91f18ea76f4dbe920c77b.tar.gz |
Implement spread operator in arrays
RFC: https://wiki.php.net/rfc/spread_operator_for_array
Closes GH-3640.
Diffstat (limited to 'UPGRADING')
-rw-r--r-- | UPGRADING | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -166,6 +166,14 @@ PHP 7.4 UPGRADE NOTES RFC: https://wiki.php.net/rfc/null_coalesce_equal_operator + . Added support for unpacking inside arrays. For example: + + $arr1 = [3, 4]; + $arr2 = [1, 2, ...$arr1, 5]; + // $arr2 == [1, 2, 3, 4, 5] + + RFC: https://wiki.php.net/rfc/spread_operator_for_array + . Support for WeakReferences has been added. RFC: https://wiki.php.net/rfc/weakrefs |