Re: PHP 8.3 Processes Diferently Than 7.4

From: Date: Fri, 04 Oct 2024 20:50:57 +0000
Subject: Re: PHP 8.3 Processes Diferently Than 7.4
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-328545@lists.php.net to get a copy of this message
On Oct 4, 2024, at 5:49 PM, Steve Matzura <sm@noisynotes.com> 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)

« previous php.general (#328545) next »