[web-php] redesign-downloads-page-prototype: Set default version on Windows to the latest version

From: Date: Wed, 30 Jul 2025 15:07:24 +0000
Subject: [web-php] redesign-downloads-page-prototype: Set default version on Windows to the latest version
Groups: php.webmaster 
Request: Send a blank email to php-webmaster+get-33050@lists.php.net to get a copy of this message
Author: Shivam Mathur (shivammathur) Date: 2025-07-30T20:23:22+05:30 Commit: https://github.com/php/web-php/commit/f38dfa4a59a4c3d2933aecce7f1f100855fc28f4 Raw diff: https://github.com/php/web-php/commit/f38dfa4a59a4c3d2933aecce7f1f100855fc28f4.diff Set default version on Windows to the latest version Changed paths: M downloads-get-instructions.php Diff: diff --git a/downloads-get-instructions.php b/downloads-get-instructions.php index c15672898b..650ffcaa70 100644 --- a/downloads-get-instructions.php +++ b/downloads-get-instructions.php @@ -20,7 +20,7 @@ $options['osvariant'] = 'linux-ubuntu'; } } -if ($options['os'] === 'osx') { +if ($options['os'] === 'osx' || $options['os'] === 'windows') { if ($options['version'] === 'default') { $options['version'] = $latestPhpVersion; }

« previous php.webmaster (#33050) next »