note 103569 added to function.array-shift
| From: | info at chihoang dot de | Date: | Wed, 20 Apr 2011 16:46:23 +0000 |
| Subject: | note 103569 added to function.array-shift | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-179016@lists.php.net to get a copy of this message | ||
This doesn't work with a 2 dimensional array. With 2 dimensional array I do this:
$backup = $arr;
$first = array_shift ( $backup );
----
Server IP: 212.124.37.9
Probable Submitter: 78.34.76.250
----
Manual Page -- http://www.php.net/manual/en/function.array-shift.php
Edit -- https://master.php.net/note/edit/103569
Del: integrated -- https://master.php.net/note/delete/103569/integrated
Del: useless -- https://master.php.net/note/delete/103569/useless
Del: bad code -- https://master.php.net/note/delete/103569/bad+code
Del: spam -- https://master.php.net/note/delete/103569/spam
Del: non-english -- https://master.php.net/note/delete/103569/non-english
Del: in docs -- https://master.php.net/note/delete/103569/in+docs
Del: other reasons-- https://master.php.net/note/delete/103569
Reject -- https://master.php.net/note/reject/103569
Search -- https://master.php.net/manage/user-notes.php