note 76963 added to function.array-shift

From: Date: Wed, 08 Aug 2007 08:54:31 +0000
Subject: note 76963 added to function.array-shift
Groups: php.notes 
Request: Send a blank email to php-notes+get-129283@lists.php.net to get a copy of this message
If you want a version of array_shift() that works non-destructively (i.e., an easy function to grab the first element of the array without modifying the array), try reset(). ---- Server IP: 217.174.196.197 Probable Submitter: 212.155.191.21 ---- Manual Page -- http://www.php.net/manual/en/function.array-shift.php Edit -- https://master.php.net/note/edit/76963 Del: integrated -- https://master.php.net/note/delete/76963/integrated Del: useless -- https://master.php.net/note/delete/76963/useless Del: bad code -- https://master.php.net/note/delete/76963/bad+code Del: spam -- https://master.php.net/note/delete/76963/spam Del: non-english -- https://master.php.net/note/delete/76963/non-english Del: in docs -- https://master.php.net/note/delete/76963/in+docs Del: other reasons-- https://master.php.net/note/delete/76963 Reject -- https://master.php.net/note/reject/76963 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#129283) next »