php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #75116 Documentation for "next" refers to deprecatd "each" function
Submitted: 2017-08-25 00:14 UTC Modified: 2017-08-25 13:48 UTC
From: ksours at internetbrands dot com Assigned: cmb (profile)
Status: Closed Package: Documentation problem
PHP Version: 7.2.0beta3 OS:
Private report: No CVE-ID: None
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
Package:
Bug Type:
Summary:
From: ksours at internetbrands dot com
New email:
PHP Version: OS:

 

 [2017-08-25 00:14 UTC] ksours at internetbrands dot com
Description:
------------
http://php.net/manual/en/function.next.php

Note: You won't be able to distinguish the end of an array from a boolean FALSE element. To properly traverse an array which may contain FALSE elements, see the each() function. 

While this is technically still true, telling people to use deprecated functionality is poor form.


Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2017-08-25 13:47 UTC] cmb@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.

FTR: fixed in <http://svn.php.net/viewvc?view=revision&revision=342935>
 [2017-08-25 13:48 UTC] cmb@php.net
-Status: Open +Status: Closed -Assigned To: +Assigned To: cmb
 
PHP Copyright © 2001-2026 The PHP Group
All rights reserved.
Last updated: Thu Oct 08 05:00:01 2026 UTC