[pmwiki-users] Fourth Post--ZAP bugs
Crisses
crisses at kinhost.org
Fri Oct 27 06:20:14 CDT 2006
On Oct 27, 2006, at 6:52 AM, marc wrote:
> Without looking more closely, have you read this from the PHP manual:
>
> Note: Also note that foreach operates on a copy of the specified array
> and not the array itself. Therefore, the array pointer is not modified
> as with the each() construct, and changes to the array element
> returned
> are not reflected in the original array. However, the internal pointer
> of the original array is advanced with the processing of the array.
> Assuming the foreach loop runs to completion, the array's internal
> pointer will be at the end of the array.
I think you said what I said about this, but frankly unless one is
actually a programmer, the PHP manual's text doesn't make much
sense. Talking about pointers and copies of arrays, etc. is not
going to be much help to someone that doesn't understand the
implications of those terms. When y'all had the discussion of
whether or not variables were copied or not some of it was over my
head -- it's not like I have a computer science degree ;)
Crisses
-------------- next part --------------
An HTML attachment was scrubbed...
URL: /pipermail/pmwiki-users/attachments/20061027/cd146e4c/attachment.html
More information about the pmwiki-users
mailing list