Skip to content

Commit 77d8a8c

Browse files
committed
Announce PHP 8.4.6
1 parent a2cf64f commit 77d8a8c

File tree

6 files changed

+169
-6
lines changed

6 files changed

+169
-6
lines changed

ChangeLog-8.php

+88
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,94 @@
99

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

12+
<section class="version" id="8.4.6"><!-- {{{ 8.4.6 -->
13+
<h3>Version 8.4.6</h3>
14+
<b><?php release_date('10-Apr-2025'); ?></b>
15+
<ul><li>BCMath:
16+
<ul>
17+
<li>Fixed pointer subtraction for scale.</li>
18+
</ul></li>
19+
<li>Core:
20+
<ul>
21+
<li>Fixed property hook backing value access in multi-level inheritance.</li>
22+
<li>Fixed accidentally inherited default value in overridden virtual properties.</li>
23+
<li>Fixed bug <?php githubissuel('php/php-src', 17376); ?> (Broken JIT polymorphism for property hooks added to child class).</li>
24+
<li>Fixed bug <?php githubissuel('php/php-src', 17913); ?> (ReflectionFunction::isDeprecated() returns incorrect results for closures created from magic __call()).</li>
25+
<li>Fixed bug <?php githubissuel('php/php-src', 17941); ?> (Stack-use-after-return with lazy objects and hooks).</li>
26+
<li>Fixed bug <?php githubissuel('php/php-src', 17988); ?> (Incorrect handling of hooked props without get hook in get_object_vars()).</li>
27+
<li>Fixed bug <?php githubissuel('php/php-src', 17998); ?> (Skipped lazy object initialization on primed SIMPLE_WRITE cache).</li>
28+
<li>Fixed bug <?php githubissuel('php/php-src', 17998); ?> (Assignment to backing value in set hook of lazy proxy calls hook again).</li>
29+
<li>Fixed bug <?php githubissuel('php/php-src', 17961); ?> (use-after-free during dl()'ed module class destruction).</li>
30+
<li>Fixed bug <?php githubissuel('php/php-src', 15367); ?> (dl() of module with aliased class crashes in shutdown).</li>
31+
<li>Fixed OSS-Fuzz #403308724.</li>
32+
<li>Fixed bug <?php githubissuel('php/php-src', 13193); ?> again (Significant performance degradation in 'foreach').</li>
33+
</ul></li>
34+
<li>DBA:
35+
<ul>
36+
<li>Fixed assertion violation when opening the same file with dba_open multiple times.</li>
37+
</ul></li>
38+
<li>DOM:
39+
<ul>
40+
<li>Fixed bug <?php githubissuel('php/php-src', 17991); ?> (Assertion failure dom_attr_value_write).</li>
41+
<li>Fix weird unpack behaviour in DOM.</li>
42+
<li>Fixed bug <?php githubissuel('php/php-src', 18090); ?> (DOM: Svg attributes and tag names are being lowercased).</li>
43+
<li>Fix xinclude destruction of live attributes.</li>
44+
</ul></li>
45+
<li>Fuzzer:
46+
<ul>
47+
<li>Fixed bug <?php githubissuel('php/php-src', 18081); ?> (Memory leaks in error paths of fuzzer SAPI).</li>
48+
</ul></li>
49+
<li>GD:
50+
<ul>
51+
<li>Fixed bug <?php githubissuel('php/php-src', 17984); ?> (calls with arguments as array with references).</li>
52+
</ul></li>
53+
<li>LDAP:
54+
<ul>
55+
<li>Fixed bug <?php githubissuel('php/php-src', 18015); ?> (Error messages for ldap_mod_replace are confusing).</li>
56+
</ul></li>
57+
<li>Mbstring:
58+
<ul>
59+
<li>Fixed bug <?php githubissuel('php/php-src', 17989); ?> (mb_output_handler crash with unset http_output_conv_mimetypes).</li>
60+
</ul></li>
61+
<li>Opcache:
62+
<ul>
63+
<li>Fixed bug <?php githubissuel('php/php-src', 15834); ?> (Segfault with hook "simple get" cache slot and minimal JIT).</li>
64+
<li>Fixed bug <?php githubissuel('php/php-src', 17966); ?> (Symfony JIT 1205 assertion failure).</li>
65+
<li>Fixed bug <?php githubissuel('php/php-src', 18037); ?> (SEGV Zend/zend_execute.c).</li>
66+
<li>Fixed bug <?php githubissuel('php/php-src', 18050); ?> (IN_ARRAY optimization in DFA pass is broken).</li>
67+
<li>Fixed bug <?php githubissuel('php/php-src', 18113); ?> (stack-buffer-overflow ext/opcache/jit/ir/ir_sccp.c).</li>
68+
<li>Fixed bug <?php githubissuel('php/php-src', 18112); ?> (NULL access with preloading and INI option).</li>
69+
<li>Fixed bug <?php githubissuel('php/php-src', 18107); ?> (Opcache CFG jmp optimization with try-finally breaks the exception table).</li>
70+
</ul></li>
71+
<li>PDO:
72+
<ul>
73+
<li>Fix memory leak when destroying PDORow.</li>
74+
</ul></li>
75+
<li>Standard:
76+
<ul>
77+
<li>Fix memory leaks in array_any() / array_all().</li>
78+
</ul></li>
79+
<li>SOAP:
80+
<ul>
81+
<li><?php bugfix(66049); ?> (Typemap can break parsing in parse_packet_soap leading to a segfault) .</li>
82+
</ul></li>
83+
<li>SPL:
84+
<ul>
85+
<li>Fixed bug <?php githubissuel('php/php-src', 18018); ?> (RC1 data returned from offsetGet causes UAF in ArrayObject).</li>
86+
</ul></li>
87+
<li>Treewide:
88+
<ul>
89+
<li>Fixed bug <?php githubissuel('php/php-src', 17736); ?> (Assertion failure zend_reference_destroy()).</li>
90+
</ul></li>
91+
<li>Windows:
92+
<ul>
93+
<li>Fixed bug <?php githubissuel('php/php-src', 17836); ?> (zend_vm_gen.php shouldn't break on Windows line endings).</li>
94+
</ul></li>
95+
</ul>
96+
<!-- }}} --></section>
97+
98+
99+
12100
<section class="version" id="8.4.5"><!-- {{{ 8.4.5 -->
13101
<h3>Version 8.4.5</h3>
14102
<b><?php release_date('13-Mar-2025'); ?></b>

archive/archive.xml

+1
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<uri>http://php.net/contact</uri>
1010
<email>[email protected]</email>
1111
</author>
12+
<xi:include href="entries/2025-04-10-3.xml"/>
1213
<xi:include href="entries/2025-04-10-2.xml"/>
1314
<xi:include href="entries/2025-04-10-1.xml"/>
1415
<xi:include href="entries/2025-03-14-1.xml"/>

archive/entries/2025-04-10-3.xml

+21
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.6 Released!</title>
4+
<id>https://www.php.net/archive/2025.php#2025-04-10-3</id>
5+
<published>2025-04-10T21:09:01+00:00</published>
6+
<updated>2025-04-10T21:09:01+00:00</updated>
7+
<link href="https://www.php.net/index.php#2025-04-10-3" rel="alternate" type="text/html"/>
8+
<link href="https://www.php.net/archive/2025.php#2025-04-10-3" 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.6. 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.6 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.6">ChangeLog</a>.
19+
</p> </div>
20+
</content>
21+
</entry>

include/releases.inc

+37
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,43 @@
22
$OLDRELEASES = array (
33
8 =>
44
array (
5+
'8.4.5' =>
6+
array (
7+
'announcement' =>
8+
array (
9+
'English' => '/releases/8_4_5.php',
10+
),
11+
'tags' =>
12+
array (
13+
0 => 'security',
14+
),
15+
'date' => '13 Mar 2025',
16+
'source' =>
17+
array (
18+
0 =>
19+
array (
20+
'filename' => 'php-8.4.5.tar.gz',
21+
'name' => 'PHP 8.4.5 (tar.gz)',
22+
'sha256' => 'f05530d350f1ffe279e097c2af7a8d78cab046ef99d91f6b3151b06f0ab05d05',
23+
'date' => '13 Mar 2025',
24+
),
25+
1 =>
26+
array (
27+
'filename' => 'php-8.4.5.tar.bz2',
28+
'name' => 'PHP 8.4.5 (tar.bz2)',
29+
'sha256' => '9378c78887d0cd7462fc5c17f2de30c852f20f79d28795e2573fe3250d39436e',
30+
'date' => '13 Mar 2025',
31+
),
32+
2 =>
33+
array (
34+
'filename' => 'php-8.4.5.tar.xz',
35+
'name' => 'PHP 8.4.5 (tar.xz)',
36+
'sha256' => '0d3270bbce4d9ec617befce52458b763fd461d475f1fe2ed878bb8573faed327',
37+
'date' => '13 Mar 2025',
38+
),
39+
),
40+
'museum' => false,
41+
),
542
'8.3.19' =>
643
array (
744
'announcement' =>

include/version.inc

+6-6
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.5',
24-
'date' => '13 Mar 2025',
25-
'tags' => ['security'], // Set to ['security'] for security releases.
23+
'version' => '8.4.6',
24+
'date' => '10 Apr 2025',
25+
'tags' => [], // Set to ['security'] for security releases.
2626
'sha256' => [
27-
'tar.gz' => 'f05530d350f1ffe279e097c2af7a8d78cab046ef99d91f6b3151b06f0ab05d05',
28-
'tar.bz2' => '9378c78887d0cd7462fc5c17f2de30c852f20f79d28795e2573fe3250d39436e',
29-
'tar.xz' => '0d3270bbce4d9ec617befce52458b763fd461d475f1fe2ed878bb8573faed327',
27+
'tar.gz' => '49be0f2f45c9b07c9b921d023bf28b1fc781700c829869725681300e72e3faa8',
28+
'tar.bz2' => '9cf2734509b603f6589617ab52a9712a03e0fe059951cddd2d4623df4bf7c6c6',
29+
'tar.xz' => '089b08a5efef02313483325f3bacd8c4fe311cf1e1e56749d5cc7d059e225631',
3030
]
3131
];
3232

releases/8_4_6.php

+16
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php
2+
$_SERVER['BASE_PAGE'] = 'releases/8_4_6.php';
3+
include_once __DIR__ . '/../include/prepend.inc';
4+
site_header('PHP 8.4.6 Release Announcement');
5+
?>
6+
<h1>PHP 8.4.6 Release Announcement</h1>
7+
8+
<p>The PHP development team announces the immediate availability of PHP 8.4.6. 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.6 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.6">ChangeLog</a>.
15+
</p>
16+
<?php site_footer();

0 commit comments

Comments
 (0)