note 9829 added to array
| From: | kps at perigee dot net | Date: | Mon, 27 Nov 2000 03:26:30 +0000 |
| Subject: | note 9829 added to array | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-8156@lists.php.net to get a copy of this message | ||
Actually dumping an array is so super
simple it's insane.
do {
print ($my_array[key($my_array)]);
} while (next($my_array));
Why would you use any other method? Also
has anyone noted that once an array is
used, it is released from memory? Is
there any good way to keep an array around until the script finished executing?
http://www.php.net/manual/function.array.php