note 101865 added to function.array-push
| From: | Daniel at osu1 dot php dot net | Date: | Fri, 14 Jan 2011 19:53:59 +0000 |
| Subject: | note 101865 added to function.array-push | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-175761@lists.php.net to get a copy of this message | ||
@vr72 at yahoo dot com
Why would you reinvent the wheel to push an element to the front of the list when there is already a
function just for that called array_unshift?
----
Server IP: 192.41.42.26
Probable Submitter: 204.154.43.244
----
Manual Page -- http://www.php.net/manual/en/function.array-push.php
Edit -- https://master.php.net/note/edit/101865
Del: integrated -- https://master.php.net/note/delete/101865/integrated
Del: useless -- https://master.php.net/note/delete/101865/useless
Del: bad code -- https://master.php.net/note/delete/101865/bad+code
Del: spam -- https://master.php.net/note/delete/101865/spam
Del: non-english -- https://master.php.net/note/delete/101865/non-english
Del: in docs -- https://master.php.net/note/delete/101865/in+docs
Del: other reasons-- https://master.php.net/note/delete/101865
Reject -- https://master.php.net/note/reject/101865
Search -- https://master.php.net/manage/user-notes.php