note 4311 deleted from function.array-shift by irc-html
| From: | irc-html@php.net | Date: | Sat, 19 Jan 2002 21:11:40 +0000 |
| Subject: | note 4311 deleted from function.array-shift by irc-html | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-25475@lists.php.net to get a copy of this message | ||
Maybe something like:
$value_from_beginning=$array[0];
for($i=0;$array[$i];$i++) {
$array[$i]=$array[$i+1];
}
unset( $array[$i] );
hey, that seems to work! I just made that up on the spot 8)