note 41864 added to function.current
| From: | mdeng at kabenresearch dot com | Date: | Sat, 24 Apr 2004 03:04:00 +0000 |
| Subject: | note 41864 added to function.current | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-68702@lists.php.net to get a copy of this message | ||
For large array(my sample was 80000+ elements), if you want to traverse the array in sequence, using
array index $a[$i] could be very inefficient(very slow). I had to switch to use current($a).
----
Manual Page -- http://www.php.net/manual/en/function.current.php
Edit -- http://master.php.net/manage/user-notes.php?action=edit+41864
Delete -- http://master.php.net/manage/user-notes.php?action=delete+41864&report=yes
Reject -- http://master.php.net/manage/user-notes.php?action=reject+41864&report=yes
Search -- http://master.php.net/manage/user-notes.php