note 18622 deleted from ref.array by sniper
| From: | sniper@php.net | Date: | Sat, 18 Oct 2003 18:05:30 +0000 |
| Subject: | note 18622 deleted from ref.array by sniper | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-58851@lists.php.net to get a copy of this message | ||
Note Submitter: mlong@mlong.org
----
You should pay attention to the fact that some functions act directly on the array (such as asort)
and some don't touch the array but return a copy (such as array_reverse). If you use one in
the improper context you won't get a warning. It took me a while to notice this as I do a lot
of coding by memory and don't refer to the function documentation unless I need to.