Posted by Jerry Stuckle on 01/04/08 13:30
adam.timberlake@gmail.com wrote:
> I was reading the following article yesterday:
> http://www.talkphp.com/vbarticles.php?do=article&articleid=41&title=using-the-internal-array-pointers-to-access-elements-in-arrays
>
> What struck me while reading it was how very little we hear about the
> array internal pointers !! I've been in PHP now for a good 2 years,
> and I've never heard these little guys mentioned before.
>
> My question is... what do you use internal pointers for, and why?
>
I use them a fair amount. Sometimes you need to run through an array,
and foreach() just doesn't do what you need (or makes the code more
complicated).
--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
jstucklex@attglobal.net
==================
Navigation:
[Reply to this message]
|