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

From: Date: Thu, 17 Apr 2014 14:19:25 +0000
Subject: Req #25040 [Opn->Fbk]: support one more param of each()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-185323@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: levim@php.net Reported by: xuefer at 21cn dot com Summary: support one more param of each() -Status: Open +Status: Feedback Type: Feature/Change Request -Package: Feature/Change Request +Package: *General Issues -Operating System: all +Operating System: Irrelevant -PHP Version: 4.3.3RC3 +PHP Version: * Block user comment: N Private report: N New Comment: Is this something you are still interested in seeing? Previous Comments: ------------------------------------------------------------------------ [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 (#185323) next »