Skip to content

Commit e8600fe

Browse files
committed
Name the spread operator
1 parent d1fa309 commit e8600fe

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

language/types/array.xml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1162,7 +1162,8 @@ array(3) {
11621162
<para>
11631163
An array prefixed by <code>...</code> will be expanded in place during array definition.
11641164
Only arrays and objects which implement <interfacename>Traversable</interfacename> can be expanded.
1165-
Array unpacking with <code>...</code> is available as of PHP 7.4.0.
1165+
Array unpacking with <code>...</code> is available as of PHP 7.4.0. This is also called
1166+
the spread operator.
11661167
</para>
11671168

11681169
<para>

0 commit comments

Comments
 (0)