View Single Post

  #7 (permalink)  
Old 05-08-2008
Ivan Marsh
 
Posts: n/a
Default Re: For loop question?

On Thu, 08 May 2008 22:05:48 +0200, Iván Sánchez Ortega wrote:

> 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.


Can you expand on that?

--
"Remain calm, we're here to protect you!"

Reply With Quote