note 18622 added to ref.array

From: Date: Tue, 29 Jan 2002 20:55:50 +0000
Subject: note 18622 added to ref.array
Groups: php.notes 
Request: Send a blank email to php-notes+get-25984@lists.php.net to get a copy of this message
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. -- http://www.php.net/manual/en/ref.array.php http://master.php.net/manage/user-notes.php?action=edit+18622 http://master.php.net/manage/user-notes.php?action=delete+18622 http://master.php.net/manage/user-notes.php?action=reject+18622

« previous php.notes (#25984) next »