Skip to content

Commit b4ace8d

Browse files
committed
Announce PHP 8.5.7
1 parent fdc4341 commit b4ace8d

7 files changed

Lines changed: 125 additions & 10 deletions

File tree

ChangeLog-8.php

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

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

12+
<section class="version" id="8.5.7"><!-- {{{ 8.5.7 -->
13+
<h3>Version 8.5.7</h3>
14+
<b><?php release_date('04-Jun-2026'); ?></b>
15+
<ul><li>CLI:
16+
<ul>
17+
<li>Fixed bug <?php githubissuel('php/php-src', 21901); ?> (Stale getopt() optional value).</li>
18+
</ul></li>
19+
<li>Date:
20+
<ul>
21+
<li>Fixed bug <?php githubissuel('php/php-src', 18422); ?> (int overflow in php_date_llabs).</li>
22+
</ul></li>
23+
<li>DOM:
24+
<ul>
25+
<li>Fixed bug <?php githubissuel('php/php-src', 22077); ?> (UAF in custom XPath function).</li>
26+
</ul></li>
27+
<li>Opcache:
28+
<ul>
29+
<li>Fixed tracing JIT crash when a VM interrupt is handled during an observed user function call.</li>
30+
<li>Fixed bug <?php githubissuel('php/php-src', 21746); ?> (Segfault with tracing JIT).</li>
31+
<li>Fixed bug <?php githubissuel('php/php-src', 22004); ?> (Assertion failure at ext/opcache/jit/zend_jit_trace.c).</li>
32+
<li>Fixed tailcall VM crash when a VM interrupt is handled from a VM helper.</li>
33+
</ul></li>
34+
<li>OpenSSL:
35+
<ul>
36+
<li>Fix compatibility issues with OpenSSL 4.0.</li>
37+
</ul></li>
38+
<li>Standard:
39+
<ul>
40+
<li>Fixed bug <?php githubissuel('php/php-src', 21689); ?> (version_compare() incorrectly handles versions ending with a dot).</li>
41+
</ul></li>
42+
<li>URI:
43+
<ul>
44+
<li>Fixed CVE-2026-44927 (In uriparser before 1.0.2, there is pointer difference truncation to int in various places). (CVE-2026-44927)</li>
45+
<li>Fixed CVE-2026-44928 (In uriparser before 1.0.2, the function family EqualsUri can misclassify two unequal URIs as equal). (CVE-2026-44928)</li>
46+
</ul></li>
47+
</ul>
48+
<!-- }}} --></section>
49+
50+
51+
1252
<section class="version" id="8.5.6"><!-- {{{ 8.5.6 -->
1353
<h3>Version 8.5.6</h3>
1454
<b><?php release_date('07-May-2026'); ?></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-06-04-1.xml"/>
1213
<xi:include href="entries/2026-06-01-1.xml"/>
1314
<xi:include href="entries/2026-05-11-1.xml"/>
1415
<xi:include href="entries/2026-05-07-4.xml"/>

archive/entries/2026-06-04-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.7 Released!</title>
4+
<id>https://www.php.net/archive/2026.php#2026-06-04-1</id>
5+
<published>2026-06-04T14:05:37+00:00</published>
6+
<updated>2026-06-04T14:05:37+00:00</updated>
7+
<link href="https://www.php.net/index.php#2026-06-04-1" rel="alternate" type="text/html"/>
8+
<link href="https://www.php.net/archive/2026.php#2026-06-04-1" 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.7. 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.7 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.7">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' => 2,
92-
'sha256_bz2' => '3970d5f90355461be5ad2cb5693127fc4fdbef7887fcb62d865447de20be0dc0',
93-
'sha256_gz' => 'de7f6c6b374e939a38996a499371d8f7e9eeae7d95aee766ad8f025449d780e7',
94-
'sha256_xz' => 'b723228ff7b6656555707811447b505215cc363438aeb24e877b9ff6bf59bc0e',
91+
'number' => 0,
92+
'sha256_bz2' => '',
93+
'sha256_gz' => '',
94+
'sha256_xz' => '',
9595
'date' => '28 May 2026',
9696
'baseurl' => 'https://downloads.php.net/~edorian/',
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.6' =>
6+
array (
7+
'announcement' =>
8+
array (
9+
'English' => '/releases/8_5_6.php',
10+
),
11+
'tags' =>
12+
array (
13+
0 => 'security',
14+
),
15+
'date' => '07 May 2026',
16+
'source' =>
17+
array (
18+
0 =>
19+
array (
20+
'filename' => 'php-8.5.6.tar.gz',
21+
'name' => 'PHP 8.5.6 (tar.gz)',
22+
'sha256' => '169aaa21c2834b38df8e39169f43bc5bea8d4059a816cfbc59be08fc2bae60cd',
23+
'date' => '07 May 2026',
24+
),
25+
1 =>
26+
array (
27+
'filename' => 'php-8.5.6.tar.bz2',
28+
'name' => 'PHP 8.5.6 (tar.bz2)',
29+
'sha256' => '4457240f65f0c59a620920d66cdab1b12100a431e03ad9febe38b13a1b25957f',
30+
'date' => '07 May 2026',
31+
),
32+
2 =>
33+
array (
34+
'filename' => 'php-8.5.6.tar.xz',
35+
'name' => 'PHP 8.5.6 (tar.xz)',
36+
'sha256' => '826c600b7c6f956bd335558ca3bdbcab23b22126c1cc8d9348be2280a2204bb7',
37+
'date' => '07 May 2026',
38+
),
39+
),
40+
'museum' => false,
41+
),
542
'8.5.5' =>
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.6',
24-
'date' => '07 May 2026',
25-
'tags' => ['security'], // Set to ['security'] for security releases.
23+
'version' => '8.5.7',
24+
'date' => '04 Jun 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' => '169aaa21c2834b38df8e39169f43bc5bea8d4059a816cfbc59be08fc2bae60cd',
30-
'tar.bz2' => '4457240f65f0c59a620920d66cdab1b12100a431e03ad9febe38b13a1b25957f',
31-
'tar.xz' => '826c600b7c6f956bd335558ca3bdbcab23b22126c1cc8d9348be2280a2204bb7',
29+
'tar.gz' => 'e5eba93fd6dd3241d0e61e932eb99a3783b40568553fb0e511b660ecd863a049',
30+
'tar.bz2' => '4ef9355f784d4b320151eb3f31c5941c0da297025eedb97f2838b2ce73dd59bf',
31+
'tar.xz' => '01ba2ed1c2658dacf91bebc8be6a4885f69b811c7993831fc48e26107ab29985',
3232
]
3333
];
3434

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

0 commit comments

Comments
 (0)