RE: [PHP] foreach loop changed after 4.3 -> 4.4 upgrade

2005-08-24 Thread Larry Brown
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(&#x

RE: [PHP] foreach loop changed after 4.3 -> 4.4 upgrade

2005-08-23 Thread Larry Brown
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')) >

RE: [PHP] foreach loop changed after 4.3 -> 4.4 upgrade

2005-08-23 Thread Larry Brown
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

Re: [PHP] foreach loop changed after 4.3 -> 4.4 upgrade

2005-08-23 Thread Pinter Tibor (tibyke)
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

Re: [PHP] foreach loop changed after 4.3 -> 4.4 upgrade

2005-08-23 Thread Evert | Rooftop
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

Re: [PHP] foreach loop changed after 4.3 -> 4.4 upgrade

2005-08-23 Thread Edward Vermillion
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]

RE: [PHP] foreach loop changed after 4.3 -> 4.4 upgrade

2005-08-23 Thread Ford, Mike
-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&

Re: [PHP] foreach loop changed after 4.3 -> 4.4 upgrade

2005-08-22 Thread Larry Brown
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

[PHP] foreach loop changed after 4.3 -> 4.4 upgrade

2005-08-22 Thread Larry Brown
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 $