Doc #67526 [Opn->Csd]: Insufficient documentation

From: Date: Thu, 26 Mar 2015 11:28:40 +0000
Subject: Doc #67526 [Opn->Csd]: Insufficient documentation
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-12053@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=67526&edit=1 ID: 67526 Updated by: salathe@php.net Reported by: finkel at sd-il dot com Summary: Insufficient documentation -Status: Open +Status: Closed Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant -Assigned To: +Assigned To: salathe Block user comment: N Private report: N New Comment: This bug has been fixed in the documentation's XML sources. Since the online and downloadable versions of the documentation need some time to get updated, we would like to ask you to be a bit patient. Thank you for the report, and for helping us make our documentation better. Previous Comments: ------------------------------------------------------------------------ [2015-03-26 11:28:10] salathe@php.net Automatic comment from SVN on behalf of salathe Revision: http://svn.php.net/viewvc/?view=revision&revision=336201 Log: Mention what happens when length=0 for array_splice() (doc bug #67526 Patch by Patrick Schwisow) ------------------------------------------------------------------------ [2015-03-25 22:22:03] patrick dot schwisow at gmail dot com If 0 is passed, nothing is removed. Added a patch that makes this explicit. ------------------------------------------------------------------------ [2014-06-26 19:34:01] finkel at sd-il dot com Description: ------------ --- From manual page: http://www.php.net/function.array-splice --- " length If length is omitted, removes everything from offset to the end of the array. If length is specified and is positive, then that many elements will be removed. If length 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 offset to the end of the array when replacement is also specified, use count($input) for length." But what is length = 0? The documentation does not specify. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=67526&edit=1

« previous php.doc.bugs (#12053) next »