note 9846 added to array
| From: | jasonr at argia dot net | Date: | Mon, 27 Nov 2000 22:01:32 +0000 |
| Subject: | note 9846 added to array | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-8174@lists.php.net to get a copy of this message | ||
Regaurding the note about arrays "dissapearing" from memory...
Arrays are never removed from memory, however theres 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.
http://www.php.net/manual/function.array.php