Skip to content

Commit 4bcef0e

Browse files
committed
Announce PHP 8.4.12
1 parent 52bd8f7 commit 4bcef0e

7 files changed

Lines changed: 175 additions & 10 deletions

File tree

ChangeLog-8.php

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

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

12+
<section class="version" id="8.4.12"><!-- {{{ 8.4.12 -->
13+
<h3>Version 8.4.12</h3>
14+
<b><?php release_date('28-Aug-2025'); ?></b>
15+
<ul><li>Core:
16+
<ul>
17+
<li>Fixed <?php githubissuel('php/php-src', 19169); ?> build issue with C++17 and ZEND_STATIC_ASSERT macro.</li>
18+
<li>Fixed bug <?php githubissuel('php/php-src', 19053); ?> (Duplicate property slot with hooks and interface property).</li>
19+
<li>Fixed bug <?php githubissuel('php/php-src', 19044); ?> (Protected properties are not scoped according to their prototype).</li>
20+
<li>Fixed bug <?php githubissuel('php/php-src', 18581); ?> (Coerce numeric string keys from iterators when argument unpacking).</li>
21+
<li>Fixed OSS-Fuzz #434346548 (Failed assertion with throwing __toString in binary const expr).</li>
22+
<li>Fixed bug <?php githubissuel('php/php-src', 19305); ?> (Operands may be being released during comparison).</li>
23+
<li>Fixed bug <?php githubissuel('php/php-src', 19303); ?> (Unpacking empty packed array into uninitialized array causes assertion failure).</li>
24+
<li>Fixed bug <?php githubissuel('php/php-src', 19306); ?> (Generator can be resumed while fetching next value from delegated Generator).</li>
25+
<li>Fixed bug <?php githubissuel('php/php-src', 19326); ?> (Calling Generator::throw() on a running generator with a non-Generator delegate crashes).</li>
26+
<li>Fixed bug <?php githubissuel('php/php-src', 19280); ?> (Stale array iterator position on rehashing).</li>
27+
<li>Fixed bug <?php githubissuel('php/php-src', 18736); ?> (Circumvented type check with return by ref + finally).</li>
28+
<li>Fixed bug <?php githubissuel('php/php-src', 19065); ?> (Long match statement can segfault compiler during recursive SSA renaming).</li>
29+
</ul></li>
30+
<li>Calendar:
31+
<ul>
32+
<li>Fixed bug <?php githubissuel('php/php-src', 19371); ?> (integer overflow in calendar.c).</li>
33+
</ul></li>
34+
<li>FTP:
35+
<ul>
36+
<li>Fix theoretical issues with hrtime() not being available.</li>
37+
</ul></li>
38+
<li>GD:
39+
<ul>
40+
<li>Fix incorrect comparison with result of php_stream_can_cast().</li>
41+
</ul></li>
42+
<li>Hash:
43+
<ul>
44+
<li>Fix crash on clone failure.</li>
45+
</ul></li>
46+
<li>Intl:
47+
<ul>
48+
<li>Fix memleak on failure in collator_get_sort_key().</li>
49+
<li>Fix return value on failure for resourcebundle count handler.</li>
50+
</ul></li>
51+
<li>LDAP:
52+
<ul>
53+
<li>Fixed bug <?php githubissuel('php/php-src', 18529); ?> (additional inheriting of TLS int options).</li>
54+
</ul></li>
55+
<li>LibXML:
56+
<ul>
57+
<li>Fixed bug <?php githubissuel('php/php-src', 19098); ?> (libxml&lt;2.13 segmentation fault caused by php_libxml_node_free).</li>
58+
</ul></li>
59+
<li>MbString:
60+
<ul>
61+
<li>Fixed bug <?php githubissuel('php/php-src', 19397); ?> (mb_list_encodings() can cause crashes on shutdown).</li>
62+
</ul></li>
63+
<li>Opcache:
64+
<ul>
65+
<li>Reset global pointers to prevent use-after-free in zend_jit_status().</li>
66+
<li>Fix issue with JIT restart and hooks.</li>
67+
<li>Fix crash with dynamic function defs in hooks during preload.</li>
68+
</ul></li>
69+
<li>OpenSSL:
70+
<ul>
71+
<li>Fixed bug <?php githubissuel('php/php-src', 18986); ?> (OpenSSL backend: incorrect RAND_{load,write}_file() return value check).</li>
72+
<li>Fix error return check of EVP_CIPHER_CTX_ctrl().</li>
73+
<li>Fixed bug <?php githubissuel('php/php-src', 19428); ?> (openssl_pkey_derive segfaults for DH derive with low key_length param).</li>
74+
</ul></li>
75+
<li>PDO Pgsql:
76+
<ul>
77+
<li>Fixed dangling pointer access on _pdo_pgsql_trim_message helper.</li>
78+
</ul></li>
79+
<li>SOAP:
80+
<ul>
81+
<li>Fixed bug <?php githubissuel('php/php-src', 18640); ?> (heap-use-after-free ext/soap/php_encoding.c:299:32 in soap_check_zval_ref).</li>
82+
</ul></li>
83+
<li>Sockets:
84+
<ul>
85+
<li>Fix some potential crashes on incorrect argument value.</li>
86+
</ul></li>
87+
<li>Standard:
88+
<ul>
89+
<li>Fixed OSS Fuzz #433303828 (Leak in failed unserialize() with opcache).</li>
90+
<li>Fix theoretical issues with hrtime() not being available.</li>
91+
<li>Fixed bug <?php githubissuel('php/php-src', 19300); ?> (Nested array_multisort invocation with error breaks).</li>
92+
</ul></li>
93+
<li>Windows:
94+
<ul>
95+
<li>Free opened_path when opened_path_len &gt;= MAXPATHLEN.</li>
96+
</ul></li>
97+
</ul>
98+
<!-- }}} --></section>
99+
100+
101+
12102
<section class="version" id="8.4.11"><!-- {{{ 8.4.11 -->
13103
<h3>Version 8.4.11</h3>
14104
<b><?php release_date('31-Jul-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/2025-08-28-1.xml"/>
1213
<xi:include href="entries/2025-08-25-1.xml"/>
1314
<xi:include href="entries/2025-08-20-1.xml"/>
1415
<xi:include href="entries/2025-08-14-1.xml"/>

archive/entries/2025-08-28-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.4.12 Released!</title>
4+
<id>https://www.php.net/archive/2025.php#2025-08-28-1</id>
5+
<published>2025-08-28T12:15:15+00:00</published>
6+
<updated>2025-08-28T12:15:15+00:00</updated>
7+
<link href="https://www.php.net/index.php#2025-08-28-1" rel="alternate" type="text/html"/>
8+
<link href="https://www.php.net/archive/2025.php#2025-08-28-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.4.12. 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.12 please visit our <a href="https://www.php.net/downloads.php">downloads page</a>,
17+
Windows source and binaries can be found on <a href="https://windows.php.net/download/">windows.php.net/download/</a>.
18+
The list of changes is recorded in the <a href="https://www.php.net/ChangeLog-8.php#8.4.12">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
@@ -88,12 +88,12 @@
8888
'active' => true,
8989
'release' => [
9090
'type' => 'RC',
91-
'number' => 1,
92-
'sha256_bz2' => 'fd0565634394fe7f175c4dfee0aa8fbbde1ae58ad468c2a5b86cdd9ae14fa5f1',
93-
'sha256_gz' => '0392cd9d3f6310b3b266e8dd71d2852630854ee0b6d21facbc2fb301bc29e8e2',
94-
'sha256_xz' => '3b0b299f4fefe348ffbceeee08efa2db85782a290efd09f2996107b34403c062',
91+
'number' => 0,
92+
'sha256_bz2' => '',
93+
'sha256_gz' => '',
94+
'sha256_xz' => '',
9595
'date' => '14 Aug 2025',
96-
'baseurl' => 'https://downloads.php.net/~saki/',
96+
'baseurl' => 'https://downloads.php.net/',
9797
],
9898
],
9999

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.11' =>
6+
array (
7+
'announcement' =>
8+
array (
9+
'English' => '/releases/8_4_11.php',
10+
),
11+
'tags' =>
12+
array (
13+
0 => '',
14+
),
15+
'date' => '31 Jul 2025',
16+
'source' =>
17+
array (
18+
0 =>
19+
array (
20+
'filename' => 'php-8.4.11.tar.gz',
21+
'name' => 'PHP 8.4.11 (tar.gz)',
22+
'sha256' => '422548cd8cf14ab0264ba510d3586476b0e77a3272356ba486bc82e706dc6cc8',
23+
'date' => '31 Jul 2025',
24+
),
25+
1 =>
26+
array (
27+
'filename' => 'php-8.4.11.tar.bz2',
28+
'name' => 'PHP 8.4.11 (tar.bz2)',
29+
'sha256' => '2c39c75b54df89b01195b72ad0ee1fcd490c71db18bc52bcd61fb2ffb57b26fa',
30+
'date' => '31 Jul 2025',
31+
),
32+
2 =>
33+
array (
34+
'filename' => 'php-8.4.11.tar.xz',
35+
'name' => 'PHP 8.4.11 (tar.xz)',
36+
'sha256' => '04cd331380a8683a5c2503938eb51764d48d507c53ad4208d2c82e0eed779a00',
37+
'date' => '31 Jul 2025',
38+
),
39+
),
40+
'museum' => false,
41+
),
542
'8.4.10' =>
643
array (
744
'announcement' =>

include/version.inc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -20,13 +20,13 @@ $RELEASES = (function () {
2020

2121
/* PHP 8.4 Release */
2222
$data['8.4'] = [
23-
'version' => '8.4.11',
24-
'date' => '31 Jul 2025',
23+
'version' => '8.4.12',
24+
'date' => '28 Aug 2025',
2525
'tags' => [''], // Set to ['security'] for security releases.
2626
'sha256' => [
27-
'tar.gz' => '422548cd8cf14ab0264ba510d3586476b0e77a3272356ba486bc82e706dc6cc8',
28-
'tar.bz2' => '2c39c75b54df89b01195b72ad0ee1fcd490c71db18bc52bcd61fb2ffb57b26fa',
29-
'tar.xz' => '04cd331380a8683a5c2503938eb51764d48d507c53ad4208d2c82e0eed779a00',
27+
'tar.gz' => '4963b0d3a6ca8a391317d1b80309c2cfdebf4318b131ff8e7d19e3ab79da9104',
28+
'tar.bz2' => '2ebd5382eb090d603087da649ed21de64b079616bc9a02abbc532b89b17e3468',
29+
'tar.xz' => 'c1b7978cbb5054eed6c749bde4444afc16a3f2268101fb70a7d5d9b1083b12ad',
3030
]
3131
];
3232

releases/8_4_12.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_12.php';
3+
include_once __DIR__ . '/../include/prepend.inc';
4+
site_header('PHP 8.4.12 Release Announcement');
5+
?>
6+
<h1>PHP 8.4.12 Release Announcement</h1>
7+
8+
<p>The PHP development team announces the immediate availability of PHP 8.4.12. 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.12 please visit our <a href="https://www.php.net/downloads.php">downloads page</a>,
13+
Windows source and binaries can be found on <a href="https://windows.php.net/download/">windows.php.net/download/</a>.
14+
The list of changes is recorded in the <a href="https://www.php.net/ChangeLog-8.php#8.4.12">ChangeLog</a>.
15+
</p>
16+
<?php site_footer();

0 commit comments

Comments
 (0)