note 7021 deleted from function.array-shift by irc-html
| From: | irc-html@php.net | Date: | Sat, 19 Jan 2002 21:11:48 +0000 |
| Subject: | note 7021 deleted from function.array-shift by irc-html | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-25477@lists.php.net to get a copy of this message | ||
Here's how to resize an array according to bsilva@umesd.k12.or.us:
$temp = $arr["first_key"];
for (reset($arr), next($arr); $key=key($arr); next($arr)) {
$arr2[$key]=$arr[$key];