Doc #60113 [Opn->Csd]: Note on array_slice doc page is ambiguous
| From: | salathe@php.net | Date: | Tue, 25 Oct 2011 09:39:49 +0000 |
| Subject: | Doc #60113 [Opn->Csd]: Note on array_slice doc page is ambiguous | ||
| References: | 1 | Groups: | php.doc.bugs |
| Request: | Send a blank email to doc-bugs+get-7351@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=60113&edit=1
ID: 60113
Updated by: salathe@php.net
Reported by: dwlnetnl at users dot sourceforge dot net
Summary: Note on array_slice doc page is ambiguous
-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.
Changed to "Note: This function will reset() the array pointer of the input array
after use."
Previous Comments:
------------------------------------------------------------------------
[2011-10-25 09:38:31] salathe@php.net
Automatic comment from SVN on behalf of salathe
Revision: http://svn.php.net/viewvc/?view=revision&revision=318397
Log: clarify array pointer reset snippet (doc #60113)
------------------------------------------------------------------------
[2011-10-25 09:28:40] dagguh at gmail dot com
Obviously input.
The output array is a new array, which by default has its pointer reset.
------------------------------------------------------------------------
[2011-10-22 14:17:48] dwlnetnl at users dot sourceforge dot net
Description:
------------
---
From manual page: http://www.php.net/function.array-slice#refsect1-function.array-slice-description
---
The following not is ambiguous:
"Note: This function will reset() the array pointer after use."
Which array pointer, of the input or output array?
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=60113&edit=1