Skip to content

Commit 780f5fa

Browse files
Announce PHP 8.5.2
1 parent 0b39536 commit 780f5fa

File tree

7 files changed

+159
-10
lines changed

7 files changed

+159
-10
lines changed

ChangeLog-8.php

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

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

12+
<section class="version" id="8.5.2"><!-- {{{ 8.5.2 -->
13+
<h3>Version 8.5.2</h3>
14+
<b><?php release_date('15-Jan-2026'); ?></b>
15+
<ul><li>Core:
16+
<ul>
17+
<li>Fix OSS-Fuzz #465488618 (Wrong assumptions when dumping function signature with dynamic class const lookup default argument).</li>
18+
<li>Fixed bug <?php githubissuel('php/php-src', 20695); ?> (Assertion failure in normalize_value() when parsing malformed INI input via parse_ini_string()).</li>
19+
<li>Fixed bug <?php githubissuel('php/php-src', 20714); ?> (Uncatchable exception thrown in generator).</li>
20+
<li>Fixed bug <?php githubissuel('php/php-src', 20352); ?> (UAF in php_output_handler_free via re-entrant ob_start() during error deactivation).</li>
21+
<li>Fixed bug <?php githubissuel('php/php-src', 20745); ?> ("Casting out of range floats to int" applies to strings).</li>
22+
</ul></li>
23+
<li>DOM:
24+
<ul>
25+
<li>Fixed bug <?php githubissuel('php/php-src', 20722); ?> (Null pointer dereference in DOM namespace node cloning via clone on malformed objects).</li>
26+
<li>Fixed bug <?php githubissuel('php/php-src', 20444); ?> (Dom\XMLDocument::C14N() seems broken compared to DOMDocument::C14N()).</li>
27+
</ul></li>
28+
<li>EXIF:
29+
<ul>
30+
<li>Fixed bug <?php githubissuel('php/php-src', 20631); ?> (Integer underflow in exif HEIF parsing when pos.size &lt; 2).</li>
31+
</ul></li>
32+
<li>Intl:
33+
<ul>
34+
<li>Fix leak in umsg_format_helper().</li>
35+
</ul></li>
36+
<li>LDAP:
37+
<ul>
38+
<li>Fix memory leak in ldap_set_options().</li>
39+
</ul></li>
40+
<li>Lexbor:
41+
<ul>
42+
<li>Fixed bug <?php githubissuel('php/php-src', 20668); ?> (\Uri\WhatWg\Url::withHost() crashes (SEGV) for URLs using the file: scheme).</li>
43+
</ul></li>
44+
<li>Mbstring:
45+
<ul>
46+
<li>Fixed bug <?php githubissuel('php/php-src', 20674); ?> (mb_decode_mimeheader does not handle separator).</li>
47+
</ul></li>
48+
<li>PCNTL:
49+
<ul>
50+
<li>Fixed bug with pcntl_getcpuaffinity() on solaris regarding invalid process ids handling.</li>
51+
</ul></li>
52+
<li>Phar:
53+
<ul>
54+
<li>Fixed bug <?php githubissuel('php/php-src', 20732); ?> (Phar::LoadPhar undefined behavior when reading fails).</li>
55+
<li>Fix SplFileInfo::openFile() in write mode.</li>
56+
<li>Fix build on legacy OpenSSL 1.1.0 systems.</li>
57+
<li><?php bugfix(74154); ?> (Phar extractTo creates empty files).</li>
58+
</ul></li>
59+
<li>Session:
60+
<ul>
61+
<li>Fix support for MM module.</li>
62+
</ul></li>
63+
<li>Sqlite3:
64+
<ul>
65+
<li>Fixed bug <?php githubissuel('php/php-src', 20699); ?> (SQLite3Result fetchArray return array|false, null returned).</li>
66+
</ul></li>
67+
<li>Standard:
68+
<ul>
69+
<li>Fix error check for proc_open() command.</li>
70+
<li>Fix memory leak in mail() when header key is numeric.</li>
71+
<li>Fixed bug <?php githubissuel('php/php-src', 20582); ?> (Heap Buffer Overflow in iptcembed).</li>
72+
</ul></li>
73+
<li>URI:
74+
<ul>
75+
<li>Fixed bug <?php githubissuel('php/php-src', 20771); ?> (Assertion failure when getUnicodeHost() returns empty string).</li>
76+
</ul></li>
77+
<li>Zlib:
78+
<ul>
79+
<li>Fix OOB gzseek() causing assertion failure.</li>
80+
</ul></li>
81+
</ul>
82+
<!-- }}} --></section>
83+
84+
85+
1286
<section class="version" id="8.5.1"><!-- {{{ 8.5.1 -->
1387
<h3>Version 8.5.1</h3>
1488
<b><?php release_date('18-Dec-2025'); ?></b>

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-01-15-3.xml"/>
1213
<xi:include href="entries/2026-01-15-2.xml"/>
1314
<xi:include href="entries/2026-01-15-1.xml"/>
1415
<xi:include href="entries/2025-12-18-5.xml"/>

archive/entries/2026-01-15-3.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.2 Released!</title>
4+
<id>https://www.php.net/archive/2026.php#2026-01-15-3</id>
5+
<published>2026-01-15T23:57:49+00:00</published>
6+
<updated>2026-01-15T23:57:49+00:00</updated>
7+
<link href="https://www.php.net/index.php#2026-01-15-3" rel="alternate" type="text/html"/>
8+
<link href="https://www.php.net/archive/2026.php#2026-01-15-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.2. 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.2 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.2">ChangeLog</a>.
19+
</p> </div>
20+
</content>
21+
</entry>

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' => '622b2d9471bd10d054a7d5938e66072512fad367b97e147165c0a864746b94ff',
93-
'sha256_gz' => '12f39245d139c956af072b45c3adbf9bb8b35d23a03e401cd502a83ed00d4d39',
94-
'sha256_xz' => '5ba316ea268c80bb50468baecf8e040971fad328239d526dcc0a986c1d72b13b',
91+
'number' => 0,
92+
'sha256_bz2' => '',
93+
'sha256_gz' => '',
94+
'sha256_xz' => '',
9595
'date' => '01 Jan 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.1' =>
6+
array (
7+
'announcement' =>
8+
array (
9+
'English' => '/releases/8_5_1.php',
10+
),
11+
'tags' =>
12+
array (
13+
0 => 'security',
14+
),
15+
'date' => '18 Dec 2025',
16+
'source' =>
17+
array (
18+
0 =>
19+
array (
20+
'filename' => 'php-8.5.1.tar.gz',
21+
'name' => 'PHP 8.5.1 (tar.gz)',
22+
'sha256' => '915492958081409a5e3ef99df969bcfa5b33bdf9517bd077991747e17fa2c1b7',
23+
'date' => '18 Dec 2025',
24+
),
25+
1 =>
26+
array (
27+
'filename' => 'php-8.5.1.tar.bz2',
28+
'name' => 'PHP 8.5.1 (tar.bz2)',
29+
'sha256' => '55f428c426e7241752ea9afff160bb64c32a9321cbd6d17d1c145b8df8823737',
30+
'date' => '18 Dec 2025',
31+
),
32+
2 =>
33+
array (
34+
'filename' => 'php-8.5.1.tar.xz',
35+
'name' => 'PHP 8.5.1 (tar.xz)',
36+
'sha256' => '3f5bf99ce81201f526d25e288eddb2cfa111d068950d1e9a869530054ff98815',
37+
'date' => '18 Dec 2025',
38+
),
39+
),
40+
'museum' => false,
41+
),
542
'8.3.29' =>
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.1',
24-
'date' => '18 Dec 2025',
25-
'tags' => ['security'], // Set to ['security'] for security releases.
23+
'version' => '8.5.2',
24+
'date' => '15 Jan 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' => '915492958081409a5e3ef99df969bcfa5b33bdf9517bd077991747e17fa2c1b7',
30-
'tar.bz2' => '55f428c426e7241752ea9afff160bb64c32a9321cbd6d17d1c145b8df8823737',
31-
'tar.xz' => '3f5bf99ce81201f526d25e288eddb2cfa111d068950d1e9a869530054ff98815',
29+
'tar.gz' => '379ccccefcc85f28286444cf01bc0db017c79d513417267f5bb1d804b8428c22',
30+
'tar.bz2' => 'f7efdeccc3a810b18920692306536b99a3ba86610dbd0795a296cf77d3fb3a06',
31+
'tar.xz' => 'cb75a9b00a2806f7390dd64858ef42a47b443b3475769c8af6af33a18b1381f1',
3232
]
3333
];
3434

releases/8_5_2.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_2.php';
3+
include_once __DIR__ . '/../include/prepend.inc';
4+
site_header('PHP 8.5.2 Release Announcement');
5+
?>
6+
<h1>PHP 8.5.2 Release Announcement</h1>
7+
8+
<p>The PHP development team announces the immediate availability of PHP 8.5.2. 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.2 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.2">ChangeLog</a>.
15+
</p>
16+
<?php site_footer();

0 commit comments

Comments
 (0)