From:             xuefer at 21cn dot com
Operating system: all
PHP version:      4.3.3RC3
PHP Bug Type:     Feature/Change Request
Bug description:  support one more param of each()

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 bug report at http://bugs.php.net/?id=25040&edit=1
-- 
Try a CVS snapshot (php4):  http://bugs.php.net/fix.php?id=25040&r=trysnapshot4
Try a CVS snapshot (php5):  http://bugs.php.net/fix.php?id=25040&r=trysnapshot5
Fixed in CVS:               http://bugs.php.net/fix.php?id=25040&r=fixedcvs
Fixed in release:           http://bugs.php.net/fix.php?id=25040&r=alreadyfixed
Need backtrace:             http://bugs.php.net/fix.php?id=25040&r=needtrace
Try newer version:          http://bugs.php.net/fix.php?id=25040&r=oldversion
Not developer issue:        http://bugs.php.net/fix.php?id=25040&r=support
Expected behavior:          http://bugs.php.net/fix.php?id=25040&r=notwrong
Not enough info:            http://bugs.php.net/fix.php?id=25040&r=notenoughinfo
Submitted twice:            http://bugs.php.net/fix.php?id=25040&r=submittedtwice
register_globals:           http://bugs.php.net/fix.php?id=25040&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25040&r=php3
Daylight Savings:           http://bugs.php.net/fix.php?id=25040&r=dst
IIS Stability:              http://bugs.php.net/fix.php?id=25040&r=isapi
Install GNU Sed:            http://bugs.php.net/fix.php?id=25040&r=gnused

Reply via email to