y Brown
> > To: php
> > Sent: 23/08/05 02:28
> > Subject: [PHP] foreach loop changed after 4.3 -> 4.4 upgrade
> >
> > I had a foreach loop working on an array as such:
> >
> > $multiarray = array(array('person','person'),array(
n
> To: php
> Sent: 23/08/05 02:28
> Subject: [PHP] foreach loop changed after 4.3 -> 4.4 upgrade
>
> I had a foreach loop working on an array as such:
>
> $multiarray = array(array('person','person'),array('another','another'))
>
On Tue, 2005-08-23 at 05:30, Ford, Mike wrote:
> -Original Message-
> From: Larry Brown
> To: php
> Sent: 23/08/05 02:28
> Subject: [PHP] foreach loop changed after 4.3 -> 4.4 upgrade
>
> I had a foreach loop working on an array as such:
>
> $multiarray
turck-mmcache?
t
Edward Vermillion wrote:
Larry Brown wrote:
I found that the only way to get the function to behave is to add the
key...
foreach($multiarray as $key=>$subArray)
Now it displays as it previously did where $subArray is concerned. Is
there something I'm missing here? Was I
I switched from 4.3 to 4.4 on a server with a huge web application using
both foreach loops with and without the keys.. No problem whatsoever..
Evert
Larry Brown wrote:
I found that the only way to get the function to behave is to add the
key...
foreach($multiarray as $key=>$subArray)
Now i
Larry Brown wrote:
I found that the only way to get the function to behave is to add the
key...
foreach($multiarray as $key=>$subArray)
Now it displays as it previously did where $subArray is concerned. Is
there something I'm missing here? Was I the only person not using
"keys"?
[snip]
-Original Message-
From: Larry Brown
To: php
Sent: 23/08/05 02:28
Subject: [PHP] foreach loop changed after 4.3 -> 4.4 upgrade
I had a foreach loop working on an array as such:
$multiarray = array(array('person','person'),array('another','another&
I found that the only way to get the function to behave is to add the
key...
foreach($multiarray as $key=>$subArray)
Now it displays as it previously did where $subArray is concerned. Is
there something I'm missing here? Was I the only person not using
"keys"?
On Mon, 2005-08-22 at 21:28, Larr
I had a foreach loop working on an array as such:
$multiarray = array(array('person','person'),array('another','another'))
the array was put through
foreach($multiarray as $subArray){
do something with array
}
on each loop I would see $subArray= array([0] = 'person',[1] = 'person')
and then $
9 matches
Mail list logo