Author: Volker Dusch (edorian)
Date: 2026-06-04T16:10:06+02:00

Commit: 
https://github.com/php/web-php/commit/b4ace8d85124f400281312c889ecce58b6e37b5a
Raw diff: 
https://github.com/php/web-php/commit/b4ace8d85124f400281312c889ecce58b6e37b5a.diff

Announce PHP 8.5.7

Changed paths:
  A  archive/entries/2026-06-04-1.xml
  A  releases/8_5_7.php
  M  ChangeLog-8.php
  M  archive/archive.xml
  M  include/release-qa.php
  M  include/releases.inc
  M  include/version.inc


Diff:

diff --git a/ChangeLog-8.php b/ChangeLog-8.php
index 7b7d4e6fbe..1ddd088546 100644
--- a/ChangeLog-8.php
+++ b/ChangeLog-8.php
@@ -9,6 +9,46 @@
 
 <a id="PHP_8_5"></a>
 
+<section class="version" id="8.5.7"><!-- {{{ 8.5.7 -->
+<h3>Version 8.5.7</h3>
+<b><?php release_date('04-Jun-2026'); ?></b>
+<ul><li>CLI:
+<ul>
+  <li>Fixed bug <?php githubissuel('php/php-src', 21901); ?> (Stale getopt() 
optional value).</li>
+</ul></li>
+<li>Date:
+<ul>
+  <li>Fixed bug <?php githubissuel('php/php-src', 18422); ?> (int overflow in 
php_date_llabs).</li>
+</ul></li>
+<li>DOM:
+<ul>
+  <li>Fixed bug <?php githubissuel('php/php-src', 22077); ?> (UAF in custom 
XPath function).</li>
+</ul></li>
+<li>Opcache:
+<ul>
+  <li>Fixed tracing JIT crash when a VM interrupt is handled during an 
observed user function call.</li>
+  <li>Fixed bug <?php githubissuel('php/php-src', 21746); ?> (Segfault with 
tracing JIT).</li>
+  <li>Fixed bug <?php githubissuel('php/php-src', 22004); ?> (Assertion 
failure at ext/opcache/jit/zend_jit_trace.c).</li>
+  <li>Fixed tailcall VM crash when a VM interrupt is handled from a VM 
helper.</li>
+</ul></li>
+<li>OpenSSL:
+<ul>
+  <li>Fix compatibility issues with OpenSSL 4.0.</li>
+</ul></li>
+<li>Standard:
+<ul>
+  <li>Fixed bug <?php githubissuel('php/php-src', 21689); ?> 
(version_compare() incorrectly handles versions ending with a dot).</li>
+</ul></li>
+<li>URI:
+<ul>
+  <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>
+  <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>
+</ul></li>
+</ul>
+<!-- }}} --></section>
+
+
+
 <section class="version" id="8.5.6"><!-- {{{ 8.5.6 -->
 <h3>Version 8.5.6</h3>
 <b><?php release_date('07-May-2026'); ?></b>
diff --git a/archive/archive.xml b/archive/archive.xml
index 900de1bac1..80d9ee6eaa 100644
--- a/archive/archive.xml
+++ b/archive/archive.xml
@@ -9,6 +9,7 @@
     <uri>http://php.net/contact</uri>
     <email>[email protected]</email>
   </author>
+  <xi:include href="entries/2026-06-04-1.xml"/>
   <xi:include href="entries/2026-06-01-1.xml"/>
   <xi:include href="entries/2026-05-11-1.xml"/>
   <xi:include href="entries/2026-05-07-4.xml"/>
diff --git a/archive/entries/2026-06-04-1.xml b/archive/entries/2026-06-04-1.xml
new file mode 100644
index 0000000000..e99ab3b701
--- /dev/null
+++ b/archive/entries/2026-06-04-1.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<entry xmlns="http://www.w3.org/2005/Atom";>
+  <title>PHP 8.5.7 Released!</title>
+  <id>https://www.php.net/archive/2026.php#2026-06-04-1</id>
+  <published>2026-06-04T14:05:37+00:00</published>
+  <updated>2026-06-04T14:05:37+00:00</updated>
+  <link href="https://www.php.net/index.php#2026-06-04-1"; rel="alternate" 
type="text/html"/>
+  <link href="https://www.php.net/archive/2026.php#2026-06-04-1"; rel="via" 
type="text/html"/>
+  <category term="releases" label="New PHP release"/>
+  <category term="frontpage" label="PHP.net frontpage news"/>
+  <content type="xhtml">
+    <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>
+
+<p>All PHP 8.5 users are encouraged to upgrade to this version.</p>
+
+<p>For source downloads of PHP 8.5.7 please visit our <a 
href="https://www.php.net/downloads.php";>downloads page</a>,
+Windows source and binaries can also be found <a 
href="https://www.php.net/downloads.php?os=windows&amp;version=8.5";>there</a>.
+The list of changes is recorded in the <a 
href="https://www.php.net/ChangeLog-8.php#8.5.7";>ChangeLog</a>.
+</p>    </div>
+  </content>
+</entry>
diff --git a/include/release-qa.php b/include/release-qa.php
index 045d2790d1..bd330b5fd6 100644
--- a/include/release-qa.php
+++ b/include/release-qa.php
@@ -88,10 +88,10 @@
         'active'  => true,
         'release' => [
             'type'       => 'RC',
-            'number'     => 2,
-            'sha256_bz2' => 
'3970d5f90355461be5ad2cb5693127fc4fdbef7887fcb62d865447de20be0dc0',
-            'sha256_gz'  => 
'de7f6c6b374e939a38996a499371d8f7e9eeae7d95aee766ad8f025449d780e7',
-            'sha256_xz'  => 
'b723228ff7b6656555707811447b505215cc363438aeb24e877b9ff6bf59bc0e',
+            'number'     => 0,
+            'sha256_bz2' => '',
+            'sha256_gz'  => '',
+            'sha256_xz'  => '',
             'date'       => '28 May 2026',
             'baseurl'    => 'https://downloads.php.net/~edorian/',
         ],
diff --git a/include/releases.inc b/include/releases.inc
index baf2ee2c0e..342540a042 100644
--- a/include/releases.inc
+++ b/include/releases.inc
@@ -2,6 +2,43 @@
 $OLDRELEASES = array (
   8 => 
   array (
+    '8.5.6' => 
+    array (
+      'announcement' => 
+      array (
+        'English' => '/releases/8_5_6.php',
+      ),
+      'tags' => 
+      array (
+        0 => 'security',
+      ),
+      'date' => '07 May 2026',
+      'source' => 
+      array (
+        0 => 
+        array (
+          'filename' => 'php-8.5.6.tar.gz',
+          'name' => 'PHP 8.5.6 (tar.gz)',
+          'sha256' => 
'169aaa21c2834b38df8e39169f43bc5bea8d4059a816cfbc59be08fc2bae60cd',
+          'date' => '07 May 2026',
+        ),
+        1 => 
+        array (
+          'filename' => 'php-8.5.6.tar.bz2',
+          'name' => 'PHP 8.5.6 (tar.bz2)',
+          'sha256' => 
'4457240f65f0c59a620920d66cdab1b12100a431e03ad9febe38b13a1b25957f',
+          'date' => '07 May 2026',
+        ),
+        2 => 
+        array (
+          'filename' => 'php-8.5.6.tar.xz',
+          'name' => 'PHP 8.5.6 (tar.xz)',
+          'sha256' => 
'826c600b7c6f956bd335558ca3bdbcab23b22126c1cc8d9348be2280a2204bb7',
+          'date' => '07 May 2026',
+        ),
+      ),
+      'museum' => false,
+    ),
     '8.5.5' => 
     array (
       'announcement' => 
diff --git a/include/version.inc b/include/version.inc
index 0cf60e3688..7da6810991 100644
--- a/include/version.inc
+++ b/include/version.inc
@@ -20,15 +20,15 @@ $RELEASES = (function () {
 
     /* PHP 8.5 Release */
     $data['8.5'] = [
-        'version' => '8.5.6',
-        'date' => '07 May 2026',
-        'tags' => ['security'], // Set to ['security'] for security releases.
+        'version' => '8.5.7',
+        'date' => '04 Jun 2026',
+        'tags' => [], // Set to ['security'] for security releases.
         'sha256' => [
             // WARNING: Order of SHA256 entries here is DIFFERENT from the
             // order in the manifest
-            'tar.gz' => 
'169aaa21c2834b38df8e39169f43bc5bea8d4059a816cfbc59be08fc2bae60cd',
-            'tar.bz2' => 
'4457240f65f0c59a620920d66cdab1b12100a431e03ad9febe38b13a1b25957f',
-            'tar.xz' => 
'826c600b7c6f956bd335558ca3bdbcab23b22126c1cc8d9348be2280a2204bb7',
+            'tar.gz' => 
'e5eba93fd6dd3241d0e61e932eb99a3783b40568553fb0e511b660ecd863a049',
+            'tar.bz2' => 
'4ef9355f784d4b320151eb3f31c5941c0da297025eedb97f2838b2ce73dd59bf',
+            'tar.xz' => 
'01ba2ed1c2658dacf91bebc8be6a4885f69b811c7993831fc48e26107ab29985',
         ]
     ];
 
diff --git a/releases/8_5_7.php b/releases/8_5_7.php
new file mode 100644
index 0000000000..0d85b7507c
--- /dev/null
+++ b/releases/8_5_7.php
@@ -0,0 +1,16 @@
+<?php
+$_SERVER['BASE_PAGE'] = 'releases/8_5_7.php';
+include_once __DIR__ . '/../include/prepend.inc';
+site_header('PHP 8.5.7 Release Announcement');
+?>
+<h1>PHP 8.5.7 Release Announcement</h1>
+
+<p>The PHP development team announces the immediate availability of PHP 8.5.7. 
This is a bug fix release.</p>
+
+<p>All PHP 8.5 users are encouraged to upgrade to this version.</p>
+
+<p>For source downloads of PHP 8.5.7 please visit our <a 
href="https://www.php.net/downloads.php";>downloads page</a>,
+Windows source and binaries can also be found <a 
href="https://www.php.net/downloads.php?os=windows&amp;version=8.5";>there</a>.
+The list of changes is recorded in the <a 
href="https://www.php.net/ChangeLog-8.php#8.5.7";>ChangeLog</a>.
+</p>
+<?php site_footer();

Reply via email to