Doc #75116 [NEW]: Documentation for "next" refers to deprecatd "each" function
| From: | ksours at internetbrands dot com | Date: | Fri, 25 Aug 2017 00:14:13 +0000 |
| Subject: | Doc #75116 [NEW]: Documentation for "next" refers to deprecatd "each" function | ||
| Groups: | php.doc.bugs | ||
| Request: | Send a blank email to doc-bugs+get-14920@lists.php.net to get a copy of this message | ||
From: ksours at internetbrands dot com
Operating system:
PHP version: 7.2.0beta3
Package: Documentation problem
Bug Type: Documentation Problem
Bug description:Documentation for "next" refers to deprecatd "each" function
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 bug report at https://bugs.php.net/bug.php?id=75116&edit=1
--
Try a snapshot (PHP 5.4): https://bugs.php.net/fix.php?id=75116&r=trysnapshot54
Try a snapshot (PHP 5.5): https://bugs.php.net/fix.php?id=75116&r=trysnapshot55
Try a snapshot (trunk): https://bugs.php.net/fix.php?id=75116&r=trysnapshottrunk
Fixed in SVN: https://bugs.php.net/fix.php?id=75116&r=fixed
Fixed in release: https://bugs.php.net/fix.php?id=75116&r=alreadyfixed
Need backtrace: https://bugs.php.net/fix.php?id=75116&r=needtrace
Need Reproduce Script: https://bugs.php.net/fix.php?id=75116&r=needscript
Try newer version: https://bugs.php.net/fix.php?id=75116&r=oldversion
Not developer issue: https://bugs.php.net/fix.php?id=75116&r=support
Expected behavior: https://bugs.php.net/fix.php?id=75116&r=notwrong
Not enough info: https://bugs.php.net/fix.php?id=75116&r=notenoughinfo
Submitted twice: https://bugs.php.net/fix.php?id=75116&r=submittedtwice
register_globals: https://bugs.php.net/fix.php?id=75116&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=75116&r=php4
Daylight Savings: https://bugs.php.net/fix.php?id=75116&r=dst
IIS Stability: https://bugs.php.net/fix.php?id=75116&r=isapi
Install GNU Sed: https://bugs.php.net/fix.php?id=75116&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=75116&r=float
No Zend Extensions: https://bugs.php.net/fix.php?id=75116&r=nozend
MySQL Configuration Error: https://bugs.php.net/fix.php?id=75116&r=mysqlcfg