php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #50176 Add note to array_slice
Submitted: 2009-11-14 17:36 UTC Modified: 2009-11-14 20:20 UTC
From: gargantulakon at gmail dot com Assigned:
Status: Closed Package: Documentation problem
PHP Version: Irrelevant OS: Windows 7 x64 Ultimate
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: gargantulakon at gmail dot com
New email:
PHP Version: OS:

 

 [2009-11-14 17:36 UTC] gargantulakon at gmail dot com
Description:
------------
On the array_shift() function, there is this note:
   
 Note: This function will reset() the array pointer after use.

The same note should be added to array_splice() function page.

Reproduce code:
---------------
---
From manual page: function.array-slice
---



Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2009-11-14 20:20 UTC] svn@php.net
Automatic comment from SVN on behalf of vrana
Revision: http://svn.php.net/viewvc/?view=revision&revision=290755
Log: Resets pointer (bug #50176)
 [2009-11-14 20:20 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-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 12:00:01 2026 UTC