On 10/4/2024 4:50 PM, Calvin Buckley
wrote:
On Oct 4, 2024, at 5:49 PM, Steve Matzura <sm@xxxxxxxxxxxxxx> wrote:Looks simple enough, unless I'm misunderstanding the change. so, should: while (list ($key, $value) = each ($sorted_shows)) be: foreach (list as ($key, $value) = each ($sorted_shows)) like that?foreach ($array as $key => value) or for non-associative, foreach ($array as $element)
I don't understand non-associative.
foreach ($list as $key => value) I am not getting the difference between 'value' and '$value'. I see 'value' as a keyword and '$value' as a variable containing some value. That sounds wrong.