Skip to content

Commit 98b0eb6

Browse files
Announce PHP 8.5.8
1 parent e7f6ed5 commit 98b0eb6

7 files changed

Lines changed: 163 additions & 10 deletions

File tree

ChangeLog-8.php

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

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

12+
<section class="version" id="8.5.8"><!-- {{{ 8.5.8 -->
13+
<h3>Version 8.5.8</h3>
14+
<b><?php release_date('02-Jul-2026'); ?></b>
15+
<ul><li>Core:
16+
<ul>
17+
<li>Fixed bug <?php githubissuel('php/php-src', 22280); ?> (Incorrect compile error for goto to label preceding try/finally block).</li>
18+
<li>Fixed bug <?php githubissuel('php/php-src', 22112); ?> (Assertion when error handler throws during NaN to bool/string coercion).</li>
19+
</ul></li>
20+
<li>BCMath:
21+
<ul>
22+
<li>Fixed issues with oversized allocations and signed overflow in bcround() and BcMath\Number::round().</li>
23+
</ul></li>
24+
<li>Date:
25+
<ul>
26+
<li>Fix incorrect recurrence check of DatePeriod::createFromISO8601String().</li>
27+
</ul></li>
28+
<li>Exif:
29+
<ul>
30+
<li>Read correct value for single and double tags.</li>
31+
</ul></li>
32+
<li>GD:
33+
<ul>
34+
<li>Fixed bug <?php githubissuel('php/php-src', 22121); ?> (Double free in gdImageSetStyle() after overflow-triggered early return).</li>
35+
</ul></li>
36+
<li>Intl:
37+
<ul>
38+
<li>Fix incorrect argument positions for invalid start/end arguments in transliterator_transliterate().</li>
39+
<li>Fixed IntlTimeZone::getDisplayName() to synchronize object error state for invalid display types.</li>
40+
</ul></li>
41+
<li>Lexbor:
42+
<ul>
43+
<li>Merge patch c3a6847.</li>
44+
</ul></li>
45+
<li>Opcache:
46+
<ul>
47+
<li>Fixed bug <?php githubissuel('php/php-src', 22265); ?> (Another tailcall vm_interrupt bug).</li>
48+
<li>Fixed bug <?php githubissuel('php/php-src', 20469); ?> (Unsafe inheritance cache replay with reentrant autoloading).</li>
49+
<li>Fixed bug <?php githubissuel('php/php-src', 21972); ?> (Corrupted variable type when a typed by-value return contains a reference wrapper).</li>
50+
</ul></li>
51+
<li>OpenSSL:
52+
<ul>
53+
<li>Fixed bug <?php githubissuel('php/php-src', 22187); ?> (Memory corruption (zend_mm_heap corrupted) in openssl_encrypt with AES-WRAP-PAD). (CVE-2026-14355)</li>
54+
</ul></li>
55+
<li>Phar:
56+
<ul>
57+
<li>Fixed a bypass of the magic ".phar" directory protection in Phar::addEmptyDir() for paths starting with "/.phar", while allowing non-magic directory names that merely share the ".phar" prefix.</li>
58+
</ul></li>
59+
<li>Reflection:
60+
<ul>
61+
<li>Preserve class-name case in ReflectionClass::getProperty() error messages and autoloading.</li>
62+
</ul></li>
63+
<li>SOAP:
64+
<ul>
65+
<li>Fixed bug <?php githubissuel('php/php-src', 22218); ?> (SoapServer::handle() crash on $_SERVER not being an array).</li>
66+
<li>Fixed bug <?php githubissuel('php/php-src', 22285); ?> (Soap server requires the raw input to be passed to $server-&gt;handle).</li>
67+
</ul></li>
68+
<li>Sqlite:
69+
<ul>
70+
<li>Fix error checks for column retrieval.</li>
71+
</ul></li>
72+
<li>URI:
73+
<ul>
74+
<li>Add LEXBOR_STATIC to CFLAGS_URI on Windows so ext/uri does not see LXB_API as __declspec(dllimport) when linked statically into PHP.</li>
75+
<li>Clean error logs before each Uri\WhatWg\Url wither call so that errors from previous wither calls are not returned the next time a UrlValidationError is thrown.</li>
76+
</ul></li>
77+
<li>Zip:
78+
<ul>
79+
<li>Fixed error-related memory leaks.</li>
80+
</ul></li>
81+
<li>Zlib:
82+
<ul>
83+
<li>Fixed memory leak if deflate initialization fails and there is a dict.</li>
84+
<li>Fixed memory leak in inflate_add().</li>
85+
</ul></li>
86+
</ul>
87+
<!-- }}} --></section>
88+
89+
90+
1291
<section class="version" id="8.5.7"><!-- {{{ 8.5.7 -->
1392
<h3>Version 8.5.7</h3>
1493
<b><?php release_date('04-Jun-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-07-02-5.xml"/>
1213
<xi:include href="entries/2026-07-02-4.xml"/>
1314
<xi:include href="entries/2026-07-02-3.xml"/>
1415
<xi:include href="entries/2026-07-02-2.xml"/>

archive/entries/2026-07-02-5.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.8 Released!</title>
4+
<id>https://www.php.net/archive/2026.php#2026-07-02-5</id>
5+
<published>2026-07-02T19:55:50+00:00</published>
6+
<updated>2026-07-02T19:55:50+00:00</updated>
7+
<link href="https://www.php.net/index.php#2026-07-02-5" rel="alternate" type="text/html"/>
8+
<link href="https://www.php.net/archive/2026.php#2026-07-02-5" 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.8. This is a security 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.8 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.8">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' => '353379137daafd2164011e36349d3ba9625b98f41d82a0451ec53f20462b68a0',
93-
'sha256_gz' => '57f93d2e0d76a26ac955e30cfab81dd910fc48e8bf78b3a15ff67df63a92ac72',
94-
'sha256_xz' => 'b4c8d96c481f3aa9b6cf2b5b01e190a70e657b5decda658b7c0cd11616deb9d4',
91+
'number' => 0,
92+
'sha256_bz2' => '',
93+
'sha256_gz' => '',
94+
'sha256_xz' => '',
9595
'date' => '18 June 2026',
9696
'baseurl' => 'https://downloads.php.net/~daniels/',
9797
],

include/releases.inc

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,42 @@
22
$OLDRELEASES = array (
33
8 =>
44
array (
5+
'8.5.7' =>
6+
array (
7+
'announcement' =>
8+
array (
9+
'English' => '/releases/8_5_7.php',
10+
),
11+
'tags' =>
12+
array (
13+
),
14+
'date' => '04 Jun 2026',
15+
'source' =>
16+
array (
17+
0 =>
18+
array (
19+
'filename' => 'php-8.5.7.tar.gz',
20+
'name' => 'PHP 8.5.7 (tar.gz)',
21+
'sha256' => 'e5eba93fd6dd3241d0e61e932eb99a3783b40568553fb0e511b660ecd863a049',
22+
'date' => '04 Jun 2026',
23+
),
24+
1 =>
25+
array (
26+
'filename' => 'php-8.5.7.tar.bz2',
27+
'name' => 'PHP 8.5.7 (tar.bz2)',
28+
'sha256' => '4ef9355f784d4b320151eb3f31c5941c0da297025eedb97f2838b2ce73dd59bf',
29+
'date' => '04 Jun 2026',
30+
),
31+
2 =>
32+
array (
33+
'filename' => 'php-8.5.7.tar.xz',
34+
'name' => 'PHP 8.5.7 (tar.xz)',
35+
'sha256' => '01ba2ed1c2658dacf91bebc8be6a4885f69b811c7993831fc48e26107ab29985',
36+
'date' => '04 Jun 2026',
37+
),
38+
),
39+
'museum' => false,
40+
),
541
'8.4.22' =>
642
array (
743
'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.7',
24-
'date' => '04 Jun 2026',
25-
'tags' => [], // Set to ['security'] for security releases.
23+
'version' => '8.5.8',
24+
'date' => '02 Jul 2026',
25+
'tags' => ['security'], // 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' => 'e5eba93fd6dd3241d0e61e932eb99a3783b40568553fb0e511b660ecd863a049',
30-
'tar.bz2' => '4ef9355f784d4b320151eb3f31c5941c0da297025eedb97f2838b2ce73dd59bf',
31-
'tar.xz' => '01ba2ed1c2658dacf91bebc8be6a4885f69b811c7993831fc48e26107ab29985',
29+
'tar.gz' => '6ebc55e52af4396385e689f7af0f28944fbbf966843433b573e9dc1dc03df539',
30+
'tar.bz2' => '22f938efc6c4eaa8bf2e40ae11466140309496aa5d5a19204272fb2596fd11dd',
31+
'tar.xz' => '58910198d19e873048fe87cdfe16bc790025417ede3d1651bfa1c4b533d573f2',
3232
]
3333
];
3434

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

0 commit comments

Comments
 (0)