note 52649 deleted from function.array-shift by nlopess
| From: | nlopess@php.net | Date: | Mon, 09 May 2005 12:43:47 +0000 |
| Subject: | note 52649 deleted from function.array-shift by nlopess | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-89156@lists.php.net to get a copy of this message | ||
Note Submitter:
----
cherche1pseudo at gmail dot com did show how to unshift all elements from array, here is simpler
way:
<?php
unset($array);
?>
And by the way, there is no such function as "unshift".
Be careful when you read these comments in PHP.net, they can teach you make things much worser...