diff options
author | Dik Takken <d.h.j.takken@xs4all.nl> | 2019-05-16 22:08:08 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-05-28 11:14:15 +0200 |
commit | 77cf3d7b1100dbb2b441b2a75f21b4e8ee0cb9b1 (patch) | |
tree | e519f50570cb3112e67d31e2a071b5b4e6d63c50 /ext/reflection/php_reflection.c | |
parent | 072f28938f1c8860432c22c03ce7bdc7e8112e61 (diff) | |
download | php-git-77cf3d7b1100dbb2b441b2a75f21b4e8ee0cb9b1.tar.gz |
Allow array_merge() / array_merge_recursive() without arguments
This allows writing
array_merge(...$arrays)
instead of
array_merge([], ...$arrays)
and is in line with similar changes to array_push() and array_unshift()
in PHP 7.3.
Closes GH-4175.
Diffstat (limited to 'ext/reflection/php_reflection.c')
0 files changed, 0 insertions, 0 deletions