Doc #75116 [Opn]: Documentation for "next" refers to deprecatd "each" function

From: Date: Fri, 25 Aug 2017 13:47:55 +0000
Subject: Doc #75116 [Opn]: Documentation for "next" refers to deprecatd "each" function
References: 1  Groups: php.doc.bugs 
Request: Send a blank email to doc-bugs+get-14923@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=75116&edit=1 ID: 75116 Updated by: cmb@php.net Reported by: ksours at internetbrands dot com Summary: Documentation for "next" refers to deprecatd "each" function Status: Open Type: Documentation Problem Package: Documentation problem PHP Version: 7.2.0beta3 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. FTR: fixed in <http://svn.php.net/viewvc?view=revision&revision=342935> Previous Comments: ------------------------------------------------------------------------ [2017-08-25 00:14:11] 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. ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=75116&edit=1

« previous php.doc.bugs (#14923) next »