php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #32227 array_slice() 'offset' argument description slightly inaccurate
Submitted: 2005-03-08 00:23 UTC Modified: 2005-03-31 17:50 UTC
From: php at jessemccarthy dot net Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: N/A
Private report: No CVE-ID: None
 [2005-03-08 00:23 UTC] php at jessemccarthy dot net
Description:
------------
Very simple documentation issue.

In the entry for array_slice(), the second argument, offset, is described as follows: "If offset is positive, the sequence will start at that offset in the array. If offset is negative, the sequence will start that far from the end of the array."

I believe this should read "If offset is non-negative . . . "




Patches

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2005-03-31 17:50 UTC] vrana@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Aug 16 17:01:28 2024 UTC