[PHP-WEBMASTER] [web-php] master: Add 8.5 in downloads page

Author: Shivam Mathur (shivammathur)
Date: 2025-11-20T20:32:40Z

Commit: Add 8.5 in downloads page · php/web-php@80f3da2 · GitHub
Raw diff: https://github.com/php/web-php/commit/80f3da2e86422d05770c6b911164eda31c95b8b7.diff

Add 8.5 in downloads page

Changed paths:
  M downloads-get-instructions.php
  M downloads.php

Diff:

diff --git a/downloads-get-instructions.php b/downloads-get-instructions.php
index b60513b212..0af5138158 100644
--- a/downloads-get-instructions.php
+++ b/downloads-get-instructions.php
@@ -1,6 +1,6 @@
<?php
$file = 'unknown';
-$latestPhpVersion = '8.4';
+$latestPhpVersion = '8.5';

if (!isset($options)) {
     $options = [
diff --git a/downloads.php b/downloads.php
index 6972426ab9..d72d6d9b1c 100644
--- a/downloads.php
+++ b/downloads.php
@@ -97,6 +97,7 @@ function option(string $value, string $desc, $attributes = ): string
];

$versions = [
+ '8.5' => 'version 8.5',
     '8.4' => 'version 8.4',
     '8.3' => 'version 8.3',
     '8.2' => 'version 8.2',