1
0
mirror of https://github.com/php/doc-en.git synced 2026-03-23 23:32:18 +01:00

Name the spread operator

This commit is contained in:
Karoly Negyesi
2024-07-13 12:07:25 +02:00
parent d1fa309692
commit e8600fec14

View File

@@ -1162,7 +1162,8 @@ array(3) {
<para>
An array prefixed by <code>...</code> will be expanded in place during array definition.
Only arrays and objects which implement <interfacename>Traversable</interfacename> can be expanded.
Array unpacking with <code>...</code> is available as of PHP 7.4.0.
Array unpacking with <code>...</code> is available as of PHP 7.4.0. This is also called
the spread operator.
</para>
<para>