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; }