Req #25040 [Fbk->NoF]: support one more param of each()

From: Date: Tue, 30 Dec 2014 10:41:23 +0000
Subject: Req #25040 [Fbk->NoF]: support one more param of each()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-189369@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=25040&edit=1 ID: 25040 Updated by: php-bugs@lists.php.net Reported by: xuefer at 21cn dot com Summary: support one more param of each() -Status: Feedback +Status: No Feedback Type: Feature/Change Request Package: *General Issues Operating System: Irrelevant PHP Version: * Private report: N New Comment: No feedback was provided. The bug is being suspended because we assume that you are no longer experiencing the problem. If this is not the case and you are able to provide the information that was requested earlier, please do so and change the status of the bug back to "Re-Opened". Thank you. Previous Comments: ------------------------------------------------------------------------ [2014-04-17 14:19:22] levim@php.net Is this something you are still interested in seeing? ------------------------------------------------------------------------ [2003-08-11 08:49:57] xuefer at 21cn dot com Description: ------------ $element = each($array, 1); // same as current $element = each($array, -1); // same as current, but move backword $element = each($array, 2); // same as current, but step is 2 function prototype: array each ( array array, [int step = 1]); step=0 is invalidate(for loop) or validate for equal to "current()" hope it'll be added ------------------------------------------------------------------------ -- Edit this bug report at https://bugs.php.net/bug.php?id=25040&edit=1

« previous php.bugs (#189369) next »