note 9846 deleted from function.array by googleguy
| From: | googleguy@php.net | Date: | Wed, 19 Jun 2013 05:58:10 +0000 |
| Subject: | note 9846 deleted from function.array by googleguy | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-195270@lists.php.net to get a copy of this message | ||
Note Submitter: jasonr at argia dot net
----
Arrays are never removed from memory, however there is an internal pointer that always points to the
"next" array item. After you interate through an array, this will need to be reset back to
the first element if you want to access it in a loop again.
see the Reset function at
http://www.php.net/manual/function.reset.php
if you are confused.