note 46781 deleted from function.unset by sean
| From: | sean@php.net | Date: | Sat, 23 Oct 2004 04:09:16 +0000 |
| Subject: | note 46781 deleted from function.unset by sean | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-78980@lists.php.net to get a copy of this message | ||
Note Submitter: beat dot vontobel at futhark dot ch
----
@simon: To "unset" all the contents of an array it would probably be better to just
overwrite the whole array with an empty one and use
<?php
$array = array();
?>
instead of your while loop.
----
Reason: useless note