From a7c34656120146d3f64a4422614a0510ce6d95a8 Mon Sep 17 00:00:00 2001 From: Sergey Panteleev Date: Wed, 19 Nov 2025 17:46:31 +0300 Subject: [PATCH 1/2] PHP 8.5 released --- include/layout.inc | 6 +++--- index.php | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/include/layout.inc b/include/layout.inc index 17f76b8fd4..a5561cb57f 100644 --- a/include/layout.inc +++ b/include/layout.inc @@ -506,10 +506,10 @@ function get_nav_items(): array { id: 'help', ), new NavItem( - name: 'PHP 8.4', - href: '/releases/8.4/index.php', + name: 'PHP 8.5', + href: '/releases/8.5/index.php', id: 'php8', - image: '/images/php8/logo_php8_4.svg', + image: '/images/php8/logo_php8_5.svg', ) ]; } diff --git a/index.php b/index.php index 79a698a6c7..9e24fc8c5f 100644 --- a/index.php +++ b/index.php @@ -86,7 +86,7 @@

A popular general-purpose scripting language that is especially suited to web development.
Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.

- What's new in 8.4 + What's new in 8.5 Download
EOF; From fde84bb00d071c7e866e52e4bf70bda68a1b0570 Mon Sep 17 00:00:00 2001 From: Sergey Panteleev Date: Thu, 20 Nov 2025 13:47:11 +0300 Subject: [PATCH 2/2] Add PHP 8.5 migration guide --- supported-versions.php | 1 + 1 file changed, 1 insertion(+) diff --git a/supported-versions.php b/supported-versions.php index c7e25af638..36ff6c394e 100644 --- a/supported-versions.php +++ b/supported-versions.php @@ -10,6 +10,7 @@ // support lifetime, add it under a heading with an anchor, and add the anchor // and branch names to the array below ('x.y' => '#anchor-name'). $VERSION_NOTES = [ + '8.5' => 'https://www.php.net/manual/migration85.php', '8.4' => 'https://www.php.net/manual/migration84.php', '8.3' => 'https://www.php.net/manual/migration83.php', '8.2' => 'https://www.php.net/manual/migration82.php',