Skip to content

Commit d87b818

Browse files
Announce PHP 8.5.0
1 parent 1997486 commit d87b818

File tree

6 files changed

+575
-5
lines changed

6 files changed

+575
-5
lines changed

ChangeLog-8.php

Lines changed: 491 additions & 1 deletion
Large diffs are not rendered by default.

archive/archive.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<uri>http://php.net/contact</uri>
1010
<email>php-webmaster@lists.php.net</email>
1111
</author>
12+
<xi:include href="entries/2025-11-20-3.xml"/>
1213
<xi:include href="entries/2025-11-20-2.xml"/>
1314
<xi:include href="entries/2025-11-20-1.xml"/>
1415
<xi:include href="entries/2025-11-13-1.xml"/>

archive/entries/2025-11-20-3.xml

Lines changed: 35 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,35 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<entry xmlns="http://www.w3.org/2005/Atom">
3+
<title>PHP 8.5.0 Released!</title>
4+
<id>https://www.php.net/archive/2025.php#2025-11-20-3</id>
5+
<published>2025-11-20T14:20:19+00:00</published>
6+
<updated>2025-11-20T14:20:19+00:00</updated>
7+
<link href="https://www.php.net/index.php#2025-11-20-3" rel="alternate" type="text/html"/>
8+
<link href="https://www.php.net/archive/2025.php#2025-11-20-3" rel="via" type="text/html"/>
9+
<category term="releases" label="New PHP release"/>
10+
<category term="frontpage" label="PHP.net frontpage news"/>
11+
<content type="xhtml">
12+
<div xmlns="http://www.w3.org/1999/xhtml"><p>The PHP development team announces the immediate availability of PHP 8.5.0. This release marks the latest minor release of the PHP language.</p>
13+
14+
<p>PHP 8.5 comes with numerous improvements and new features such as:</p>
15+
<ul>
16+
<li>New "URI" extension</li>
17+
<li>New pipe operator (|&gt;)</li>
18+
<li>Clone With</li>
19+
<li>New #[\NoDiscard] attribute</li>
20+
<li>Support for closures, casts, and first class callables in constant expressions</li>
21+
<li>And much much more...</li>
22+
</ul>
23+
<p>
24+
For source downloads of PHP 8.5.0 please visit our <a href="https://www.php.net/downloads.php">downloads page</a>,
25+
Windows source and binaries can be found on <a href="https://windows.php.net/download/">windows.php.net/download/</a>.
26+
The list of changes is recorded in the <a href="https://www.php.net/ChangeLog-8.php#8.5.0">ChangeLog</a>.
27+
</p>
28+
<p>
29+
The <a href="https://php.net/manual/en/migration85.php">migration guide</a> is available in the PHP Manual.
30+
Please consult it for the detailed list of new features and backward incompatible changes.
31+
</p>
32+
<p>Kudos to all the contributors and supporters!</p>
33+
</div>
34+
</content>
35+
</entry>

include/release-qa.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -101,10 +101,10 @@
101101
'active' => true,
102102
'release' => [
103103
'type' => 'RC',
104-
'number' => 5,
105-
'sha256_bz2' => '0d5f8b55a0f5350c55526e34372037348e0bc959d14d7f8e25d7b3237be2fc63',
106-
'sha256_gz' => 'c57233825070238a00dee8712487b4859fa35f597e3c365adddfad13578ffb87',
107-
'sha256_xz' => '4964cdbaf2447afba100c4199ec9c59c41ca4cc23db8d1e38ac7e57aab028954',
104+
'number' => 0,
105+
'sha256_bz2' => '',
106+
'sha256_gz' => '',
107+
'sha256_xz' => '',
108108
'date' => '13 Nov 2025',
109109
'baseurl' => 'https://downloads.php.net/~daniels/',
110110
],

include/version.inc

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,20 @@
1818
$RELEASES = (function () {
1919
$data = [];
2020

21+
/* PHP 8.5 Release */
22+
$data['8.5'] = [
23+
'version' => '8.5.0',
24+
'date' => '20 Nov 2025',
25+
'tags' => [''], // Set to ['security'] for security releases.
26+
'sha256' => [
27+
// WARNING: Order of SHA256 entries here is DIFFERENT from the
28+
// order in the manifest
29+
'tar.gz' => 'dc3651369c9b63320dd4ea8e272c6a23f18e50f67c13d10ee368c86961dbd10f',
30+
'tar.bz2' => 'cd16cb045b34a6cec6a83008e1b335f365c7a832fcc483df82308664c6d021f9',
31+
'tar.xz' => '39cb6e4acd679b574d3d3276f148213e935fc25f90403eb84fb1b836a806ef1e',
32+
]
33+
];
34+
2135
/* PHP 8.4 Release */
2236
$data['8.4'] = [
2337
'version' => '8.4.15',

releases/8_5_0.php

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
<?php
2+
$_SERVER['BASE_PAGE'] = 'releases/8_5_0.php';
3+
include_once __DIR__ . '/../include/prepend.inc';
4+
site_header('PHP 8.5.0 Release Announcement');
5+
?>
6+
<h1>PHP 8.5.0 Release Announcement</h1>
7+
8+
<p>The PHP development team announces the immediate availability of PHP 8.5.0. This release marks the latest minor release of the PHP language.</p>
9+
10+
<p>PHP 8.5 comes with numerous improvements and new features such as:</p>
11+
<ul>
12+
<li>New "URI" extension</li>
13+
<li>New pipe operator (|&gt;)</li>
14+
<li>Clone With</li>
15+
<li>New #[\NoDiscard] attribute</li>
16+
<li>Support for closures, casts, and first class callables in constant expressions</li>
17+
<li>And much much more...</li>
18+
</ul>
19+
<p>
20+
For source downloads of PHP 8.5.0 please visit our <a href="https://www.php.net/downloads.php">downloads page</a>,
21+
Windows source and binaries can be found on <a href="https://windows.php.net/download/">windows.php.net/download/</a>.
22+
The list of changes is recorded in the <a href="https://www.php.net/ChangeLog-8.php#8.5.0">ChangeLog</a>.
23+
</p>
24+
<p>
25+
The <a href="https://php.net/manual/en/migration85.php">migration guide</a> is available in the PHP Manual.
26+
Please consult it for the detailed list of new features and backward incompatible changes.
27+
</p>
28+
<p>Kudos to all the contributors and supporters!</p>
29+
30+
<?php site_footer();

0 commit comments

Comments
 (0)