svn: /phpdoc/en/trunk/reference/array/functions/ array-splice.xml
| From: | Thomas Punt | Date: | Fri, 18 Dec 2015 21:12:10 +0000 |
| Subject: | svn: /phpdoc/en/trunk/reference/array/functions/ array-splice.xml | ||
| Groups: | php.doc.cvs | ||
| Request: | Send a blank email to doc-cvs+get-13918@lists.php.net to get a copy of this message | ||
tpunt Fri, 18 Dec 2015 21:12:10 +0000
Revision: http://svn.php.net/viewvc?view=revision&revision=338309
Log:
Resolves doc bug #69735
Bug: https://bugs.php.net/69735 (Open) array_splice()
return value could be confusing
Changed paths:
U phpdoc/en/trunk/reference/array/functions/array-splice.xml
Modified: phpdoc/en/trunk/reference/array/functions/array-splice.xml
===================================================================
--- phpdoc/en/trunk/reference/array/functions/array-splice.xml 2015-12-18 20:36:10 UTC (rev 338308)
+++ phpdoc/en/trunk/reference/array/functions/array-splice.xml 2015-12-18 21:12:10 UTC (rev 338309)
@@ -61,12 +61,12 @@
<listitem>
<para>
If <parameter>length</parameter> is omitted, removes everything
- from <parameter>offset</parameter> to the end of the array. If
+ from <parameter>offset</parameter> to the end of the array. If
<parameter>length</parameter> is specified and is positive, then
that many elements will be removed. If
<parameter>length</parameter> is specified and is negative then
the end of the removed portion will be that many elements from
- the end of the array. If <parameter>length</parameter> is
+ the end of the array. If <parameter>length</parameter> is
specified and is zero, no elements will be removed.
Tip: to remove everything from
<parameter>offset</parameter> to the end of the array when
@@ -103,7 +103,7 @@
<refsect1 role="returnvalues">
&reftitle.returnvalues;
<para>
- Returns the array consisting of the extracted elements.
+ Returns an array consisting of the extracted elements.
</para>
</refsect1>
<refsect1 role="examples">