View Single Post

  #6 (permalink)  
Old 05-08-2008
Iván Sánchez Ortega
 
Posts: n/a
Default Re: For loop question?

Ivan Marsh wrote:

>> When iterating through arrays, *always* use foreach().

>
> Isn't foreach simply creating a for loop based on the size of the array?


No.

--
----------------------------------
Iván Sánchez Ortega -ivansanchez-algarroba-escomposlinux-punto-org-

"Give me chastity and continence, but not yet."
- Saint Augustine (354-430)
Reply With Quote