Skip to content

Commit 13c77df

Browse files
committed
Announce PHP 8.4.22
1 parent b4ace8d commit 13c77df

7 files changed

Lines changed: 127 additions & 11 deletions

File tree

ChangeLog-8.php

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1030,6 +1030,47 @@
10301030

10311031
<a id="PHP_8_4"></a>
10321032

1033+
<section class="version" id="8.4.22"><!-- {{{ 8.4.22 -->
1034+
<h3>Version 8.4.22</h3>
1035+
<b><?php release_date('04-Jun-2026'); ?></b>
1036+
<ul><li>Date:
1037+
<ul>
1038+
<li>Fixed bug <?php githubissuel('php/php-src', 18422); ?> (int overflow in php_date_llabs).</li>
1039+
</ul></li>
1040+
<li>Intl:
1041+
<ul>
1042+
<li>Fix incorrect argument positions in out-of-bounds errors for IntlCalendar::set(), IntlCalendar::setDate(), IntlCalendar::setDateTime(), and IntlGregorianCalendar date/time construction.</li>
1043+
<li>Expose Spoofchecker restriction-level APIs on all supported ICU versions.</li>
1044+
<li>Fix SpoofChecker::setAllowedChars() and IntlDateFormatter::__construct() to report PHP constant names instead of ICU constant names in user-visible error messages.</li>
1045+
</ul></li>
1046+
<li>MySQLnd:
1047+
<ul>
1048+
<li>Fix persistent free of non-persistent connect_attr key (David Carlier).</li>
1049+
</ul></li>
1050+
<li>Opcache:
1051+
<ul>
1052+
<li>Fixed tracing JIT crash when a VM interrupt is handled during an observed user function call.</li>
1053+
<li>Fixed bug <?php githubissuel('php/php-src', 22004); ?> (Assertion failure at ext/opcache/jit/zend_jit_trace.c).</li>
1054+
</ul></li>
1055+
<li>OpenSSL:
1056+
<ul>
1057+
<li>Fix compatibility issues with OpenSSL 4.0.</li>
1058+
</ul></li>
1059+
<li>SPL:
1060+
<ul>
1061+
<li>Fix SplFixedArray::setSize leak when destructor grows during clear.</li>
1062+
<li>Fixed bug <?php githubissuel('php/php-src', 21933); ?> (use after free of self-freeing MultipleIterator children).</li>
1063+
</ul></li>
1064+
<li>Standard:
1065+
<ul>
1066+
<li>Fixed bug <?php githubissuel('php/php-src', 21689); ?> (version_compare() incorrectly handles versions ending with a dot).</li>
1067+
<li>Fixed ip2long() leading zeros handling inconsistency on AIX.</li>
1068+
</ul></li>
1069+
</ul>
1070+
<!-- }}} --></section>
1071+
1072+
1073+
10331074
<section class="version" id="8.4.21"><!-- {{{ 8.4.21 -->
10341075
<h3>Version 8.4.21</h3>
10351076
<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-2.xml"/>
1213
<xi:include href="entries/2026-06-04-1.xml"/>
1314
<xi:include href="entries/2026-06-01-1.xml"/>
1415
<xi:include href="entries/2026-05-11-1.xml"/>

archive/entries/2026-06-04-2.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.4.22 Released!</title>
4+
<id>https://www.php.net/archive/2026.php#2026-06-04-2</id>
5+
<published>2026-06-04T22:14:47+00:00</published>
6+
<updated>2026-06-04T22:14:47+00:00</updated>
7+
<link href="https://www.php.net/index.php#2026-06-04-2" rel="alternate" type="text/html"/>
8+
<link href="https://www.php.net/archive/2026.php#2026-06-04-2" 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.4.22. This is a bug fix release.</p>
13+
14+
<p>All PHP 8.4 users are encouraged to upgrade to this version.</p>
15+
16+
<p>For source downloads of PHP 8.4.22 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.4">there</a>.
18+
The list of changes is recorded in the <a href="https://www.php.net/ChangeLog-8.php#8.4.22">ChangeLog</a>.
19+
</p> </div>
20+
</content>
21+
</entry>

include/release-qa.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,12 @@
7575
'active' => true,
7676
'release' => [
7777
'type' => 'RC',
78-
'number' => 1,
79-
'sha256_bz2' => '7d36abec8664850c5bc81691a349b3d1fdb888f8598c6d0230342fe8a4a6f2d4',
80-
'sha256_gz' => '34ad40683315db9cf76f2d8f79eb06f4363e76e76bc88f489a64c9512af38c43',
81-
'sha256_xz' => 'f68e7270cc4460b9816bdf647dfe9fc8e8b6e385e77299ac7b8d6f17f75d3098',
78+
'number' => 0,
79+
'sha256_bz2' => '',
80+
'sha256_gz' => '',
81+
'sha256_xz' => '',
8282
'date' => '21 May 2026',
83-
'baseurl' => 'https://downloads.php.net/~saki/',
83+
'baseurl' => 'https://downloads.php.net/',
8484
],
8585
],
8686

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.4.21' =>
6+
array (
7+
'announcement' =>
8+
array (
9+
'English' => '/releases/8_4_21.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.4.21.tar.gz',
21+
'name' => 'PHP 8.4.21 (tar.gz)',
22+
'sha256' => 'db96ee0a8e5ee7b73a4913a2aeddc162ba2ef16cd34b9347b5b9a6150e1f8e48',
23+
'date' => '07 May 2026',
24+
),
25+
1 =>
26+
array (
27+
'filename' => 'php-8.4.21.tar.bz2',
28+
'name' => 'PHP 8.4.21 (tar.bz2)',
29+
'sha256' => '5e0bd287f3be35bf57c211b010527ae5e10a88170f96e64d336044eb5faef430',
30+
'date' => '07 May 2026',
31+
),
32+
2 =>
33+
array (
34+
'filename' => 'php-8.4.21.tar.xz',
35+
'name' => 'PHP 8.4.21 (tar.xz)',
36+
'sha256' => '7cf5d8ab12c3b2016875bcfaec71bef1ef0b07bed6148f2c447577074431f984',
37+
'date' => '07 May 2026',
38+
),
39+
),
40+
'museum' => false,
41+
),
542
'8.5.6' =>
643
array (
744
'announcement' =>

include/version.inc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,13 +34,13 @@ $RELEASES = (function () {
3434

3535
/* PHP 8.4 Release */
3636
$data['8.4'] = [
37-
'version' => '8.4.21',
38-
'date' => '07 May 2026',
39-
'tags' => ['security'], // Set to ['security'] for security releases.
37+
'version' => '8.4.22',
38+
'date' => '04 Jun 2026',
39+
'tags' => [], // Set to ['security'] for security releases.
4040
'sha256' => [
41-
'tar.gz' => 'db96ee0a8e5ee7b73a4913a2aeddc162ba2ef16cd34b9347b5b9a6150e1f8e48',
42-
'tar.bz2' => '5e0bd287f3be35bf57c211b010527ae5e10a88170f96e64d336044eb5faef430',
43-
'tar.xz' => '7cf5d8ab12c3b2016875bcfaec71bef1ef0b07bed6148f2c447577074431f984',
41+
'tar.gz' => 'a012c2c9724baf214a70b41b40a7e130906b8855e54268afa5bc4ae17bc9d823',
42+
'tar.bz2' => '4b16e7e2c384ce25e07d28eb949855c4b4fe0d1b7b9ec9c8eebd05d0cfa9c532',
43+
'tar.xz' => '696c0f6ad92e94c59059c1eb6e300842b8d050934226efcdf00f2a413cb083cf',
4444
]
4545
];
4646

releases/8_4_22.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_4_22.php';
3+
include_once __DIR__ . '/../include/prepend.inc';
4+
site_header('PHP 8.4.22 Release Announcement');
5+
?>
6+
<h1>PHP 8.4.22 Release Announcement</h1>
7+
8+
<p>The PHP development team announces the immediate availability of PHP 8.4.22. This is a bug fix release.</p>
9+
10+
<p>All PHP 8.4 users are encouraged to upgrade to this version.</p>
11+
12+
<p>For source downloads of PHP 8.4.22 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.4">there</a>.
14+
The list of changes is recorded in the <a href="https://www.php.net/ChangeLog-8.php#8.4.22">ChangeLog</a>.
15+
</p>
16+
<?php site_footer();

0 commit comments

Comments
 (0)