Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions include/layout.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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',
)
];
}
Expand Down
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
<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;
Expand Down
1 change: 1 addition & 0 deletions supported-versions.php
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down