[web-php] master: There are no current releases of previous majors right now

From: Date: Thu, 17 Feb 2022 15:49:05 +0000
Subject: [web-php] master: There are no current releases of previous majors right now
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-29921@lists.php.net to get a copy of this message
Author: Christoph M. Becker (cmb69) Date: 2022-02-17T16:47:34+01:00 Commit: https://github.com/php/web-php/commit/63aa8c72af6655ce8f9d26801f43815495da1edd Raw diff: https://github.com/php/web-php/commit/63aa8c72af6655ce8f9d26801f43815495da1edd.diff There are no current releases of previous majors right now Changed paths: M downloads.php Diff: diff --git a/downloads.php b/downloads.php index ff23d5ee5..71c38b1fc 100644 --- a/downloads.php +++ b/downloads.php @@ -39,11 +39,11 @@ ) ); ?> -<?php foreach ($RELEASES as $MAJOR => $major_releases): /* major releases loop start */ +<?php $i = 0; foreach ($RELEASES as $MAJOR => $major_releases): /* major releases loop start */ $releases = array_slice($major_releases, 0, $SHOW_COUNT); ?> <a id="v<?php echo $MAJOR; ?>"></a> -<?php $i = 0; foreach ($releases as $v => $a): ?> +<?php foreach ($releases as $v => $a): ?> <?php $mver = substr($v, 0, strrpos($v, '.')); ?> <?php $stable = $i++ === 0 ? "Current Stable" : "Old Stable"; ?>

« previous php.webmaster (#29921) next »