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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: php at jessemccarthy dot net
New email:
PHP Version: OS:

 

 [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

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: Wed Sep 11 14:01:28 2024 UTC