Re: foreach loop changed after 4.3 -> 4.4 upgrade

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 the only person not using
"keys"?



[snip]


Has anyone seen this behaviour?




I'd have to go back through my code, I'm using $key => $value in some places but not in others, but I didn't notice anything different in my code when I upgraded to 4.4 as far as the foreach loops are concerned.


--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux