Doc #67526 [Com]: Insufficient documentation

From: Date: Wed, 25 Mar 2015 22:22:04 +0000
Subject: Doc #67526 [Com]: Insufficient documentation
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-12051@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 Comment by: patrick dot schwisow at gmail dot com Reported by: finkel at sd-il dot com Summary: Insufficient documentation Status: Open Type: Documentation Problem Package: Documentation problem PHP Version: Irrelevant Block user comment: N Private report: N New Comment: If 0 is passed, nothing is removed. Added a patch that makes this explicit. Previous Comments: ------------------------------------------------------------------------ [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 (#12051) next »