1
0
mirror of https://github.com/php/web-php.git synced 2026-03-23 23:02:13 +01:00

PHP 8.5 released (#1623)

* PHP 8.5 released

* Add PHP 8.5 migration guide
This commit is contained in:
Sergey Panteleev
2025-11-20 21:37:06 +03:00
committed by GitHub
parent d09ba851de
commit f331693b01
3 changed files with 5 additions and 4 deletions

View File

@@ -526,10 +526,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',
)
];
}

View File

@@ -86,7 +86,7 @@ $intro = <<<EOF
<img class="hero__logo" src="/images/logos/php-logo-white.svg" alt="php" width="240" height="120">
<p class="hero__text">A <strong>popular general-purpose scripting language</strong> that is especially suited to web development.<br />Fast, flexible and pragmatic, PHP powers everything from your blog to the most popular websites in the world.</p>
<div class="hero__actions">
<a href="/releases/8.4/index.php" class="hero__btn hero__btn--primary">What's new in 8.4</a>
<a href="/releases/8.5/index.php" class="hero__btn hero__btn--primary">What's new in 8.5</a>
<a href="/downloads.php" class="hero__btn hero__btn--secondary">Download</a>
</div>
EOF;

View File

@@ -10,6 +10,7 @@ site_header('Supported Versions', ['css' => ['supported-versions.css']]);
// 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',