How to remove the first element of an array?
| From: | Leon Mergen | Date: | Thu, 20 Jun 2002 15:37:14 +0000 |
| Subject: | How to remove the first element of an array? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-103149@lists.php.net to get a copy of this message | ||
Hello,
I would like to know what the best (and fastest) way to remove the first
element of an array is?
So actually, I want $array[0] removed, and $array[1] to become 0, $array[2]
to become 1, etc etc...