php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #67526
Patch doc-bug-67526.patch revision 2015-03-25 22:20 UTC by patrick dot schwisow at gmail dot com

Patch doc-bug-67526.patch for Documentation problem Bug #67526

Patch version 2015-03-25 22:20 UTC

Return to Bug #67526 | Download this patch
Patch Revisions:

Developer: patrick.schwisow@gmail.com

Index: reference/array/functions/array-splice.xml
===================================================================
--- reference/array/functions/array-splice.xml	(revision 336196)
+++ reference/array/functions/array-splice.xml	(working copy)
@@ -66,7 +66,9 @@
        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.  Tip: to remove everything from
+       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
        <parameter>replacement</parameter> is also specified, use
        <literal>count($input)</literal> for
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 11:00:02 2026 UTC