mirror of
https://github.com/php/web-php.git
synced 2026-03-23 23:02:13 +01:00
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.
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user