Skip to content

Commit ef7ea9d

Browse files
committed
Announce PHP 8.4.5
1 parent 61207f6 commit ef7ea9d

File tree

6 files changed

+189
-6
lines changed

6 files changed

+189
-6
lines changed

ChangeLog-8.php

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

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

12+
<section class="version" id="8.4.5"><!-- {{{ 8.4.5 -->
13+
<h3>Version 8.4.5</h3>
14+
<b><?php release_date('13-Mar-2025'); ?></b>
15+
<ul><li>BCMath:
16+
<ul>
17+
<li>Fixed bug <?php githubissuel('php/php-src', 17398); ?> (bcmul memory leak).</li>
18+
</ul></li>
19+
<li>Core:
20+
<ul>
21+
<li>Fixed bug <?php githubissuel('php/php-src', 17623); ?> (Broken stack overflow detection for variable compilation).</li>
22+
<li>Fixed bug <?php githubissuel('php/php-src', 17618); ?> (UnhandledMatchError does not take zend.exception_ignore_args=1 into account).</li>
23+
<li>Fix fallback paths in fast_long_{add,sub}_function.</li>
24+
<li>Fixed bug OSS-Fuzz #391975641 (Crash when accessing property backing value by reference).</li>
25+
<li>Fixed bug <?php githubissuel('php/php-src', 17718); ?> (Calling static methods on an interface that has `__callStatic` is allowed).</li>
26+
<li>Fixed bug <?php githubissuel('php/php-src', 17713); ?> (ReflectionProperty::getRawValue() and related methods may call hooks of overridden properties).</li>
27+
<li>Fixed bug <?php githubissuel('php/php-src', 17916); ?> (Final abstract properties should error).</li>
28+
<li>Fixed bug <?php githubissuel('php/php-src', 17866); ?> (zend_mm_heap corrupted error after upgrading from 8.4.3 to 8.4.4).</li>
29+
<li>Fixed <?php githubsecurityl('php/php-src', 'rwp7-7vc6-8477'); ?> (Reference counting in php_request_shutdown causes Use-After-Free). (CVE-2024-11235)</li>
30+
</ul></li>
31+
<li>DOM:
32+
<ul>
33+
<li>Fixed bug <?php githubissuel('php/php-src', 17609); ?> (Typo in error message: Dom\NO_DEFAULT_NS instead of Dom\HTML_NO_DEFAULT_NS).</li>
34+
<li>Fixed bug <?php githubissuel('php/php-src', 17802); ?> (\Dom\HTMLDocument querySelector attribute name is case sensitive in HTML).</li>
35+
<li>Fixed bug <?php githubissuel('php/php-src', 17847); ?> (xinclude destroys live node).</li>
36+
<li>Fix using Dom\Node with Dom\XPath callbacks.</li>
37+
</ul></li>
38+
<li>GD:
39+
<ul>
40+
<li>Fixed bug <?php githubissuel('php/php-src', 17703); ?> (imagescale with both width and height negative values triggers only an Exception on width).</li>
41+
<li>Fixed bug <?php githubissuel('php/php-src', 17772); ?> (imagepalettetotruecolor crash with memory_limit=2M).</li>
42+
</ul></li>
43+
<li>FFI:
44+
<ul>
45+
<li>Fix FFI Parsing of Pointer Declaration Lists.</li>
46+
</ul></li>
47+
<li>FPM:
48+
<ul>
49+
<li>Fixed bug <?php githubissuel('php/php-src', 17643); ?> (FPM with httpd ProxyPass encoded PATH_INFO env).</li>
50+
</ul></li>
51+
<li>LDAP:
52+
<ul>
53+
<li>Fixed bug <?php githubissuel('php/php-src', 17704); ?> (ldap_search fails when $attributes contains a non-packed array with numerical keys).</li>
54+
</ul></li>
55+
<li>LibXML:
56+
<ul>
57+
<li>Fixed <?php githubsecurityl('php/php-src', 'wg4p-4hqh-c3g9'); ?> (Reocurrence of #72714).</li>
58+
<li>Fixed <?php githubsecurityl('php/php-src', 'p3x9-6h7p-cgfc'); ?> (libxml streams use wrong `content-type` header when requesting a redirected resource). (CVE-2025-1219)</li>
59+
</ul></li>
60+
<li>MBString:
61+
<ul>
62+
<li>Fixed bug <?php githubissuel('php/php-src', 17503); ?> (Undefined float conversion in mb_convert_variables).</li>
63+
</ul></li>
64+
<li>Opcache:
65+
<ul>
66+
<li>Fixed bug <?php githubissuel('php/php-src', 17654); ?> (Multiple classes using same trait causes function JIT crash).</li>
67+
<li>Fixed bug <?php githubissuel('php/php-src', 17577); ?> (JIT packed type guard crash).</li>
68+
<li>Fixed bug <?php githubissuel('php/php-src', 17747); ?> (Exception on reading property in register-based FETCH_OBJ_R breaks JIT).</li>
69+
<li>Fixed bug <?php githubissuel('php/php-src', 17715); ?> (Null pointer deref in observer API when calling cases() method on preloaded enum).</li>
70+
<li>Fixed bug <?php githubissuel('php/php-src', 17868); ?> (Cannot allocate memory with tracing JIT on 8.4.4).</li>
71+
</ul></li>
72+
<li>PDO_SQLite:
73+
<ul>
74+
<li>Fixed <?php githubissuel('php/php-src', 17837); ?> ()::getColumnMeta() on unexecuted statement segfaults).</li>
75+
<li>Fix cycle leak in sqlite3 setAuthorizer().</li>
76+
<li>Fix memory leaks in pdo_sqlite callback registration.</li>
77+
</ul></li>
78+
<li>Phar:
79+
<ul>
80+
<li>Fixed bug <?php githubissuel('php/php-src', 17808); ?>: PharFileInfo refcount bug.</li>
81+
</ul></li>
82+
<li>PHPDBG:
83+
<ul>
84+
<li>Partially fixed bug <?php githubissuel('php/php-src', 17387); ?> (Trivial crash in phpdbg lexer).</li>
85+
<li>Fix memory leak in phpdbg calling registered function.</li>
86+
</ul></li>
87+
<li>Reflection:
88+
<ul>
89+
<li>Fixed bug <?php githubissuel('php/php-src', 15902); ?> (Core dumped in ext/reflection/php_reflection.c).</li>
90+
<li>Fixed missing final and abstract flags when dumping properties.</li>
91+
</ul></li>
92+
<li>Standard:
93+
<ul>
94+
<li><?php bugfix(72666); ?> (stat cache clearing inconsistent between file:// paths and plain paths).</li>
95+
</ul></li>
96+
<li>Streams:
97+
<ul>
98+
<li>Fixed bug <?php githubissuel('php/php-src', 17650); ?> (realloc with size 0 in user_filters.c).</li>
99+
<li>Fix memory leak on overflow in _php_stream_scandir().</li>
100+
<li>Fixed GHSA-hgf54-96fm-v528 (Stream HTTP wrapper header check might omit basic auth header). (CVE-2025-1736)</li>
101+
<li>Fixed <?php githubsecurityl('php/php-src', '52jp-hrpf-2jff'); ?> (Stream HTTP wrapper truncate redirect location to 1024 bytes). (CVE-2025-1861)</li>
102+
<li>Fixed <?php githubsecurityl('php/php-src', 'pcmh-g36c-qc44'); ?> (Streams HTTP wrapper does not fail for headers without colon). (CVE-2025-1734)</li>
103+
<li>Fixed <?php githubsecurityl('php/php-src', 'v8xr-gpvj-cx9g'); ?> (Header parser of `http` stream wrapper does not handle folded headers). (CVE-2025-1217)</li>
104+
</ul></li>
105+
<li>Windows:
106+
<ul>
107+
<li>Fixed phpize for Windows 11 (24H2).</li>
108+
<li>Fixed <?php githubissuel('php/php-src', 17855); ?> (CURL_STATICLIB flag set even if linked with shared lib).</li>
109+
</ul></li>
110+
<li>Zlib:
111+
<ul>
112+
<li>Fixed bug <?php githubissuel('php/php-src', 17745); ?> (zlib extension incorrectly handles object arguments).</li>
113+
<li>Fix memory leak when encoding check fails.</li>
114+
<li>Fix zlib support for large files.</li>
115+
</ul></li>
116+
</ul>
117+
<!-- }}} --></section>
118+
119+
120+
12121
<section class="version" id="8.4.4"><!-- {{{ 8.4.4 -->
13122
<h3>Version 8.4.4</h3>
14123
<b><?php release_date('13-Feb-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>[email protected]</email>
1111
</author>
12+
<xi:include href="entries/2025-03-13-3.xml"/>
1213
<xi:include href="entries/2025-03-13-2.xml"/>
1314
<xi:include href="entries/2025-03-13-1.xml"/>
1415
<xi:include href="entries/2025-02-13-2.xml"/>

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

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.4.4' =>
6+
array (
7+
'announcement' =>
8+
array (
9+
'English' => '/releases/8_4_4.php',
10+
),
11+
'tags' =>
12+
array (
13+
),
14+
'date' => '13 Feb 2025',
15+
'source' =>
16+
array (
17+
0 =>
18+
array (
19+
'filename' => 'php-8.4.4.tar.gz',
20+
'name' => 'PHP 8.4.4 (tar.gz)',
21+
'sha256' => '719551f50a81961f802aa9102bf4a1a0b5a315074330ab37bc8035a15f4be71b',
22+
'date' => '13 Feb 2025',
23+
),
24+
1 =>
25+
array (
26+
'filename' => 'php-8.4.4.tar.bz2',
27+
'name' => 'PHP 8.4.4 (tar.bz2)',
28+
'sha256' => '192a325fd3ca09b6c528dd6014ee07d803c3162514d4bb0d3e0981d00ac700ec',
29+
'date' => '13 Feb 2025',
30+
),
31+
2 =>
32+
array (
33+
'filename' => 'php-8.4.4.tar.xz',
34+
'name' => 'PHP 8.4.4 (tar.xz)',
35+
'sha256' => '05a6c9a2cc894dd8be719ecab221b311886d5e0c02cb6fac648dd9b3459681ac',
36+
'date' => '13 Feb 2025',
37+
),
38+
),
39+
'museum' => false,
40+
),
541
'8.3.17' =>
642
array (
743
'announcement' =>

include/version.inc

Lines changed: 6 additions & 6 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.4',
24-
'date' => '13 Feb 2025',
25-
'tags' => [], // Set to ['security'] for security releases.
23+
'version' => '8.4.5',
24+
'date' => '13 Mar 2025',
25+
'tags' => ['security'], // Set to ['security'] for security releases.
2626
'sha256' => [
27-
'tar.gz' => '719551f50a81961f802aa9102bf4a1a0b5a315074330ab37bc8035a15f4be71b',
28-
'tar.bz2' => '192a325fd3ca09b6c528dd6014ee07d803c3162514d4bb0d3e0981d00ac700ec',
29-
'tar.xz' => '05a6c9a2cc894dd8be719ecab221b311886d5e0c02cb6fac648dd9b3459681ac',
27+
'tar.gz' => 'f05530d350f1ffe279e097c2af7a8d78cab046ef99d91f6b3151b06f0ab05d05',
28+
'tar.bz2' => '9378c78887d0cd7462fc5c17f2de30c852f20f79d28795e2573fe3250d39436e',
29+
'tar.xz' => '0d3270bbce4d9ec617befce52458b763fd461d475f1fe2ed878bb8573faed327',
3030
]
3131
];
3232

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

0 commit comments

Comments
 (0)