note 894 deleted from function.each by didou
| From: | didou@php.net | Date: | Mon, 18 Aug 2003 16:03:44 +0000 |
| Subject: | note 894 deleted from function.each by didou | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-54599@lists.php.net to get a copy of this message | ||
Note Submitter: royapav@millsaps.edu
----
Tests show that when an array variable is copied (using "=", or when passed as a value
parameter to a function), that the internal array pointer is RESET *in the copy*. However, if passed
as a reference parameter to a function, the pointer is not changed. (PHP 3.0.7)