note 4311 modified in array_shift by ronabop

From: Date: Sun, 03 Sep 2000 09:41:58 +0000
Subject: note 4311 modified in array_shift by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-4009@lists.php.net to get a copy of this message
Maybe something like: <pre> $value_from_beginning=$array[0]; for($i=0;$array[$i];$i++) { $array[$i]=$array[$i+1]; } unset( $array[$i] ); </pre> hey, that seems to work! I just made that up on the spot 8) http://www.php.net/manual/function.array-shift.php

« previous php.notes (#4009) next »