Skip to content

Commit f331693

Browse files
authored
PHP 8.5 released (#1623)
* PHP 8.5 released * Add PHP 8.5 migration guide
1 parent d09ba85 commit f331693

File tree

3 files changed

+5
-4
lines changed

3 files changed

+5
-4
lines changed

include/layout.inc

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -526,10 +526,10 @@ function get_nav_items(): array {
526526
id: 'help',
527527
),
528528
new NavItem(
529-
name: 'PHP 8.4',
530-
href: '/releases/8.4/index.php',
529+
name: 'PHP 8.5',
530+
href: '/releases/8.5/index.php',
531531
id: 'php8',
532-
image: '/images/php8/logo_php8_4.svg',
532+
image: '/images/php8/logo_php8_5.svg',
533533
)
534534
];
535535
}

index.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
<img class="hero__logo" src="/images/logos/php-logo-white.svg" alt="php" width="240" height="120">
8787
<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>
8888
<div class="hero__actions">
89-
<a href="/releases/8.4/index.php" class="hero__btn hero__btn--primary">What's new in 8.4</a>
89+
<a href="/releases/8.5/index.php" class="hero__btn hero__btn--primary">What's new in 8.5</a>
9090
<a href="/downloads.php" class="hero__btn hero__btn--secondary">Download</a>
9191
</div>
9292
EOF;

supported-versions.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@
1010
// support lifetime, add it under a heading with an anchor, and add the anchor
1111
// and branch names to the array below ('x.y' => '#anchor-name').
1212
$VERSION_NOTES = [
13+
'8.5' => 'https://www.php.net/manual/migration85.php',
1314
'8.4' => 'https://www.php.net/manual/migration84.php',
1415
'8.3' => 'https://www.php.net/manual/migration83.php',
1516
'8.2' => 'https://www.php.net/manual/migration82.php',

0 commit comments

Comments
 (0)