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

2005-08-24 Thread Larry Brown
Yes, tested and verified. It was the accelerator. They have multiple binaries, one for each version of PHP. Matching the new binary to the new version of PHP solved this problem. Thanks again. Larry On Tue, 2005-08-23 at 20:35, Larry Brown wrote: > Sorry, that last one went out without a comm

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

2005-08-23 Thread Larry Brown
Sorry, that last one went out without a comment. I think this is most likely the cause. I haven't dug back into it yet to verify, but it makes the most sense. Thanks everyone... Larry On Tue, 2005-08-23 at 05:30, Ford, Mike wrote: > -Original Message- > From: Larry Brown > To: php > Se

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 = array(array('person','person'),ar

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')) the array was put through foreach($mu

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