Doc #67526 [NEW]: Insufficient documentation
| From: | finkel at sd-il dot com | Date: | Thu, 26 Jun 2014 19:34:02 +0000 |
| Subject: | Doc #67526 [NEW]: Insufficient documentation | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-11317@lists.php.net to get a copy of this message | ||
From: finkel at sd-il dot com
Operating system:
PHP version: Irrelevant
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:Insufficient documentation
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 bug report at https://bugs.php.net/bug.php?id=67526&edit=1
--