Re: PHP 8.3 Processes Diferently Than 7.4

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

 



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)



[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