Commit: ab28f2abbf2ed6ca9548354d85b425aa1c761dab Author: Christoph M. Becker <cmbecke...@gmx.de> Wed, 11 Dec 2019 12:24:50 +0100 Parents: 0df57204dda21eba36f873f0651784d2bff2f66b Branches: master
Link: http://git.php.net/?p=web/php.git;a=commitdiff;h=ab28f2abbf2ed6ca9548354d85b425aa1c761dab Log: Present PHP downloads on frontpage in reverse order We want to encourage users to use latest stable versions, and this also conforms to the order on the download page. Changed paths: M index.php Diff: diff --git a/index.php b/index.php index 9f25d8754..3dc7505df 100644 --- a/index.php +++ b/index.php @@ -97,7 +97,10 @@ $intro = <<<EOF EOF; $intro .= "<ul>\n"; -foreach (get_active_branches() as $major => $releases) { +$active_branches = get_active_branches(); +krsort($active_branches); +foreach ($active_branches as $major => $releases) { + krsort($releases); foreach ((array)$releases as $release) { $version = $release['version']; list($major, $minor, $_) = explode('.', $version); -- PHP Webmaster List Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php