Skip to content

Commit 3b9b435

Browse files
Announce PHP 8.5.10
1 parent 0f359ae commit 3b9b435

7 files changed

Lines changed: 184 additions & 10 deletions

File tree

include/release-qa.php

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -88,10 +88,10 @@
8888
'active' => true,
8989
'release' => [
9090
'type' => 'RC',
91-
'number' => 1,
92-
'sha256_bz2' => '7de35d39e81f418645a8a81da5802c635fea8c9e367aea36e6e54eaf3e753ad0',
93-
'sha256_gz' => 'ef9a00660be937664e1a02c4bf8487d6addc3a8513a415fc30974a3e84932b39',
94-
'sha256_xz' => '7afb06b0512eadfb3a6f7227aa6cc93530d95f9f97024efa133ec7b05c36cfec',
91+
'number' => 0,
92+
'sha256_bz2' => '',
93+
'sha256_gz' => '',
94+
'sha256_xz' => '',
9595
'date' => '13 August 2026',
9696
'baseurl' => 'https://downloads.php.net/~daniels/',
9797
],

include/releases.inc

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,43 @@
22
$OLDRELEASES = array (
33
8 =>
44
array (
5+
'8.5.9' =>
6+
array (
7+
'announcement' =>
8+
array (
9+
'English' => '/releases/8_5_9.php',
10+
),
11+
'tags' =>
12+
array (
13+
0 => 'security',
14+
),
15+
'date' => '30 Jul 2026',
16+
'source' =>
17+
array (
18+
0 =>
19+
array (
20+
'filename' => 'php-8.5.9.tar.gz',
21+
'name' => 'PHP 8.5.9 (tar.gz)',
22+
'sha256' => 'd735459c2cbaeb0673d416c33d372d9ff261d562f6b29da48f3e6aeaeca083af',
23+
'date' => '30 Jul 2026',
24+
),
25+
1 =>
26+
array (
27+
'filename' => 'php-8.5.9.tar.bz2',
28+
'name' => 'PHP 8.5.9 (tar.bz2)',
29+
'sha256' => '703c082ad9d2946ac647f3596812300d2c62b360d2f31a999021692a9b39476c',
30+
'date' => '30 Jul 2026',
31+
),
32+
2 =>
33+
array (
34+
'filename' => 'php-8.5.9.tar.xz',
35+
'name' => 'PHP 8.5.9 (tar.xz)',
36+
'sha256' => '0db7855f25bcd0ab1d592cdb35e284d6f6a5d2ae0f6f621122e364cc39b708f4',
37+
'date' => '30 Jul 2026',
38+
),
39+
),
40+
'museum' => false,
41+
),
542
'8.4.24' =>
643
array (
744
'announcement' =>

include/version.inc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -20,15 +20,15 @@ $RELEASES = (function () {
2020

2121
/* PHP 8.5 Release */
2222
$data['8.5'] = [
23-
'version' => '8.5.9',
24-
'date' => '30 Jul 2026',
25-
'tags' => ['security'], // Set to ['security'] for security releases.
23+
'version' => '8.5.10',
24+
'date' => '27 Aug 2026',
25+
'tags' => [''], // Set to ['security'] for security releases.
2626
'sha256' => [
2727
// WARNING: Order of SHA256 entries here is DIFFERENT from the
2828
// order in the manifest
29-
'tar.gz' => 'd735459c2cbaeb0673d416c33d372d9ff261d562f6b29da48f3e6aeaeca083af',
30-
'tar.bz2' => '703c082ad9d2946ac647f3596812300d2c62b360d2f31a999021692a9b39476c',
31-
'tar.xz' => '0db7855f25bcd0ab1d592cdb35e284d6f6a5d2ae0f6f621122e364cc39b708f4',
29+
'tar.gz' => 'f5c0ac99b85b3d677de475c2e4f509f9b4f54663f3ee5a84d6d9481a521d4100',
30+
'tar.bz2' => 'd79bd4f3a9248e5cb5833766ba0d51cd35dd01b8727f23f30bcdba6fabc51d3e',
31+
'tar.xz' => '6a8bebaa4d5a979a38db29a9373e9851f60c6b11f72172c585947e78f3081957',
3232
]
3333
];
3434

public/ChangeLog-8.php

Lines changed: 99 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,105 @@
99

1010
<a id="PHP_8_5"></a>
1111

12+
<section class="version" id="8.5.10"><!-- {{{ 8.5.10 -->
13+
<h3>Version 8.5.10</h3>
14+
<b><?php release_date('27-Aug-2026'); ?></b>
15+
<ul><li>Core:
16+
<ul>
17+
<li>Fixed bug <?php githubissuel('php/php-src', 22782); ?> (Const expr FCC crashes under preloading).</li>
18+
<li>Fixed bug <?php githubissuel('php/php-src', 23088); ?> (Stack overflow when comparing deeply nested arrays).</li>
19+
</ul></li>
20+
<li>Date:
21+
<ul>
22+
<li>Fixed leak on double DatePeriod::__construct() call.</li>
23+
</ul></li>
24+
<li>DOM:
25+
<ul>
26+
<li>Fixed bug <?php githubissuel('php/php-src', 23116); ?> (Stack overflow when normalizing a deeply nested DOMDocument).</li>
27+
<li>Fixed bug <?php githubissuel('php/php-src', 23117); ?> (Stack overflow when normalizing a deeply nested Dom\XMLDocument).</li>
28+
<li>Fixed bug <?php githubissuel('php/php-src', 22825); ?> (DOMElement::setAttribute() fails silently when the DTD declares a default value for the attribute).</li>
29+
<li>Fixed bug <?php githubissuel('php/php-src', 23120); ?> (Stack overflow when comparing deeply nested DOM nodes with DOMNode::isEqualNode()).</li>
30+
</ul></li>
31+
<li>Exif:
32+
<ul>
33+
<li>Fixed exif_read_data() allocating a HEIF meta box larger than the file it came from.</li>
34+
</ul></li>
35+
<li>Intl:
36+
<ul>
37+
<li>Fixed IntlListFormatter::__construct() leaving stale global error state after successful calls.</li>
38+
</ul></li>
39+
<li>Opcache:
40+
<ul>
41+
<li>Fixed <?php githubissuel('php/php-src', 22693); ?> (DT_TEXTREL in JIT-generated TLS access on x86_64).</li>
42+
<li>Fixed bug <?php githubissuel('php/php-src', 22763); ?> (JIT fails to clear ZREG_TYPE_ONLY after setting reg).</li>
43+
<li>Fixed bug <?php githubissuel('php/php-src', 22857); ?> (Function JIT emits wrong code for FETCH_OBJ_FUNC_ARG on a property hook getter, losing register-held variables).</li>
44+
<li>Fixed bug <?php githubissuel('php/php-src', 22916); ?> (Preserve parent regs in zend_jit_deoptimizer_start()).</li>
45+
</ul></li>
46+
<li>OpenSSL:
47+
<ul>
48+
<li>Fix missing error check on invalid alpn protocols.</li>
49+
</ul></li>
50+
<li>MBString:
51+
<ul>
52+
<li>Fixed bug <?php githubissuel('php/php-src', 22779); ?> (mb_strrpos() returns the wrong position for a negative offset in a non-UTF-8 encoding).</li>
53+
<li>Fixed bug <?php githubissuel('php/php-src', 21036); ?> (mb_ereg_search_getregs() crashes after mb_eregi() invalidates the regex cache).</li>
54+
</ul></li>
55+
<li>PCRE:
56+
<ul>
57+
<li>Fixed bug <?php githubissuel('php/php-src', 21134); ?> (Crash with \C + UTF-8). Using \C in UTF-8 patterns is now forbidden.</li>
58+
</ul></li>
59+
<li>PDO_ODBC:
60+
<ul>
61+
<li>Fixed bug <?php githubissuel('php/php-src', 23016); ?> (NULL values in long columns come back as garbage binary strings).</li>
62+
</ul></li>
63+
<li>PDO_PGSQL:
64+
<ul>
65+
<li>Fixed several lazy fetch (PDO::ATTR_PREFETCH =&gt; 0) defects: an infinite loop when cleaning up a fetch left in a COPY, a use-after-free when a statement with emulated or disabled prepares is destroyed, a connection left busy for the next fetch, and rows delivered from a result another statement took over.</li>
66+
</ul></li>
67+
<li>Reflection:
68+
<ul>
69+
<li>Fixed bug <?php githubissuel('php/php-src', 22905); ?> (Reflection exception messages truncate on null bytes).</li>
70+
<li>Fixed ReflectionProperty::isLazy() and skipLazyInitialization() using the parent slot when a child class hooks an inherited property.</li>
71+
<li>Fixed segfault in ReflectionMethod::createFromMethodName() on an uninstantiable subclass.</li>
72+
</ul></li>
73+
<li>Session:
74+
<ul>
75+
<li>Fix corruption in mod_mm.</li>
76+
<li>Fixed bug <?php githubissuel('php/php-src', 23043); ?> (broken session id code can cause zend_mm_heap corrupted).</li>
77+
</ul></li>
78+
<li>SimpleXML:
79+
<ul>
80+
<li>Fixed integer element offsets that cannot resolve aliasing an existing element.</li>
81+
<li>Fixed segfault when comparing uninitialized SimpleXMLElement instances.</li>
82+
</ul></li>
83+
<li>Sockets:
84+
<ul>
85+
<li>Fixed socket_set_option() validation error messages for UDP_SEGMENT and SO_LINGER options.</li>
86+
<li>Fixed various memory related issues in ext/sockets.</li>
87+
</ul></li>
88+
<li>SQLite:
89+
<ul>
90+
<li>Fix leak when trying to close db if blob stream is still open.</li>
91+
</ul></li>
92+
<li>Standard:
93+
<ul>
94+
<li>Fixed bug <?php githubissuel('php/php-src', 23111); ?> (Stack overflow in array_walk_recursive() with deeply nested arrays).</li>
95+
<li>Fixed bug <?php githubissuel('php/php-src', 23113); ?> (Stack overflow in array_replace_recursive() with deeply nested arrays).</li>
96+
<li>Fixed bug <?php githubissuel('php/php-src', 23115); ?> (Stack overflow in compact() with deeply nested arrays).</li>
97+
</ul></li>
98+
<li>Streams:
99+
<ul>
100+
<li>Fixed bug <?php githubissuel('php/php-src', 15836); ?> (Use-after-free when a user stream filter accesses $this-&gt;stream during the close flush).</li>
101+
</ul></li>
102+
<li>XSL:
103+
<ul>
104+
<li>Fixed use-after-free when a DOMDocument subclass __clone() retains the stylesheet copy made by XSLTProcessor::importStylesheet().</li>
105+
</ul></li>
106+
</ul>
107+
<!-- }}} --></section>
108+
109+
110+
12111
<section class="version" id="8.5.9"><!-- {{{ 8.5.9 -->
13112
<h3>Version 8.5.9</h3>
14113
<b><?php release_date('30-Jul-2026'); ?></b>

public/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/2026-08-27-3.xml"/>
1213
<xi:include href="entries/2026-08-27-2.xml"/>
1314
<xi:include href="entries/2026-08-27-1.xml"/>
1415
<xi:include href="entries/2026-08-25-1.xml"/>
Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<entry xmlns="http://www.w3.org/2005/Atom">
3+
<title>PHP 8.5.10 Released!</title>
4+
<id>https://www.php.net/archive/2026.php#2026-08-27-3</id>
5+
<published>2026-08-27T22:44:37+00:00</published>
6+
<updated>2026-08-27T22:44:37+00:00</updated>
7+
<link href="https://www.php.net/index.php#2026-08-27-3" rel="alternate" type="text/html"/>
8+
<link href="https://www.php.net/archive/2026.php#2026-08-27-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.10. This is a bug fix release.</p>
13+
14+
<p>All PHP 8.5 users are encouraged to upgrade to this version.</p>
15+
16+
<p>For source downloads of PHP 8.5.10 please visit our <a href="https://www.php.net/downloads.php">downloads page</a>,
17+
Windows source and binaries can also be found <a href="https://www.php.net/downloads.php?os=windows&amp;version=8.5">there</a>.
18+
The list of changes is recorded in the <a href="https://www.php.net/ChangeLog-8.php#8.5.10">ChangeLog</a>.
19+
</p> </div>
20+
</content>
21+
</entry>

public/releases/8_5_10.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php
2+
$_SERVER['BASE_PAGE'] = 'releases/8_5_10.php';
3+
require_once __DIR__ . '/../../include/prepend.inc';
4+
site_header('PHP 8.5.10 Release Announcement', ['cache' => true, 'cache_control' => 30 * 60]);
5+
?>
6+
<h1>PHP 8.5.10 Release Announcement</h1>
7+
8+
<p>The PHP development team announces the immediate availability of PHP 8.5.10. This is a bug fix release.</p>
9+
10+
<p>All PHP 8.5 users are encouraged to upgrade to this version.</p>
11+
12+
<p>For source downloads of PHP 8.5.10 please visit our <a href="https://www.php.net/downloads.php">downloads page</a>,
13+
Windows source and binaries can also be found <a href="https://www.php.net/downloads.php?os=windows&amp;version=8.5">there</a>.
14+
The list of changes is recorded in the <a href="https://www.php.net/ChangeLog-8.php#8.5.10">ChangeLog</a>.
15+
</p>
16+
<?php site_footer();

0 commit comments

Comments
 (0)