Skip to content

Commit 94869b4

Browse files
committed
Announce PHP 8.4.2
1 parent cc974cb commit 94869b4

File tree

6 files changed

+194
-6
lines changed

6 files changed

+194
-6
lines changed

ChangeLog-8.php

+113
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,119 @@
99

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

12+
<section class="version" id="8.4.2"><!-- {{{ 8.4.2 -->
13+
<h3>Version 8.4.2</h3>
14+
<b><?php release_date('19-Dec-2024'); ?></b>
15+
<ul><li>BcMath:
16+
<ul>
17+
<li>Fixed bug <?php githubissuel('php/php-src', 16978); ?> (Avoid unnecessary padding with leading zeros) (Saki Takamachi)</li>
18+
</ul></li>
19+
<li>Calendar:
20+
<ul>
21+
<li>Fixed jdtogregorian overflow.</li>
22+
<li>Fixed cal_to_jd julian_days argument overflow.</li>
23+
</ul></li>
24+
<li>COM:
25+
<ul>
26+
<li>Fixed bug <?php githubissuel('php/php-src', 16991); ?> (Getting typeinfo of non DISPATCH variant segfaults).</li>
27+
</ul></li>
28+
<li>Core:
29+
<ul>
30+
<li>Fail early in *nix configuration build script.</li>
31+
<li>Fixed bug <?php githubissuel('php/php-src', 16344); ?> (setRawValueWithoutLazyInitialization() and skipLazyInitialization() may change initialized proxy).</li>
32+
<li>Fixed bug <?php githubissuel('php/php-src', 16727); ?> (Opcache bad signal 139 crash in ZTS bookworm (frankenphp)).</li>
33+
<li>Fixed bug <?php githubissuel('php/php-src', 16799); ?> (Assertion failure at Zend/zend_vm_execute.h:7469).</li>
34+
<li>Fixed bug <?php githubissuel('php/php-src', 16630); ?> (UAF in lexer with encoding translation and heredocs).</li>
35+
<li>Fix is_zend_ptr() huge block comparison.</li>
36+
<li>Fixed potential OOB read in zend_dirname() on Windows.</li>
37+
<li>Fixed bug <?php githubissuel('php/php-src', 15964); ?> (printf() can strip sign of -INF).</li>
38+
</ul></li>
39+
<li>Curl:
40+
<ul>
41+
<li>Fixed bug <?php githubissuel('php/php-src', 16802); ?> (open_basedir bypass using curl extension).</li>
42+
<li>Fix various memory leaks in curl mime handling.</li>
43+
</ul></li>
44+
<li>DBA:
45+
<ul>
46+
<li>Fixed bug <?php githubissuel('php/php-src', 16990); ?> (dba_list() is now zero-indexed instead of using resource ids) (kocsismate)</li>
47+
</ul></li>
48+
<li>DOM:
49+
<ul>
50+
<li>Fixed bug <?php githubissuel('php/php-src', 16777); ?> (Calling the constructor again on a DOM object after it is in a document causes UAF).</li>
51+
<li>Fixed bug <?php githubissuel('php/php-src', 16906); ?> (Reloading document can cause UAF in iterator).</li>
52+
</ul></li>
53+
<li>FPM:
54+
<ul>
55+
<li>Fixed <?php githubissuel('php/php-src', 16432); ?> (PHP-FPM 8.2 SIGSEGV in fpm_get_status).</li>
56+
<li>Fixed bug <?php githubissuel('php/php-src', 16932); ?> (wrong FPM status output).</li>
57+
</ul></li>
58+
<li>GD:
59+
<ul>
60+
<li>Fixed <?php githubissuel('php/php-src', 16776); ?> (imagecreatefromstring overflow).</li>
61+
</ul></li>
62+
<li>GMP:
63+
<ul>
64+
<li>Fixed bug <?php githubissuel('php/php-src', 16890); ?> (array_sum() with GMP can loose precision (LLP64)).</li>
65+
</ul></li>
66+
<li>Hash:
67+
<ul>
68+
<li>Fixed <?php githubissuel('php/php-src', 16711); ?>: Segfault in mhash().</li>
69+
</ul></li>
70+
<li>Opcache:
71+
<ul>
72+
<li>Fixed bug <?php githubissuel('php/php-src', 16851); ?> (JIT_G(enabled) not set correctly on other threads).</li>
73+
<li>Fixed bug <?php githubissuel('php/php-src', 16902); ?> (Set of opcache tests fail zts+aarch64).</li>
74+
<li>Fixed bug <?php githubissuel('php/php-src', 16879); ?> (JIT dead code skipping does not update call_level).</li>
75+
</ul></li>
76+
<li>OpenSSL:
77+
<ul>
78+
<li>Prevent unexpected array entry conversion when reading key.</li>
79+
<li>Fix various memory leaks related to openssl exports.</li>
80+
<li>Fix memory leak in php_openssl_pkey_from_zval().</li>
81+
</ul></li>
82+
<li>PDO:
83+
<ul>
84+
<li>Fixed memory leak of `setFetchMode()`.</li>
85+
</ul></li>
86+
<li>Phar:
87+
<ul>
88+
<li>Fixed bug <?php githubissuel('php/php-src', 16695); ?> (phar:// tar parser and zero-length file header blocks).</li>
89+
</ul></li>
90+
<li>PHPDBG:
91+
<ul>
92+
<li>Fixed bug <?php githubissuel('php/php-src', 15208); ?> (Segfault with breakpoint map and phpdbg_clear()).</li>
93+
</ul></li>
94+
<li>SAPI:
95+
<ul>
96+
<li>Fixed bug <?php githubissuel('php/php-src', 16998); ?> (UBSAN warning in rfc1867).</li>
97+
</ul></li>
98+
<li>SimpleXML:
99+
<ul>
100+
<li>Fixed bug <?php githubissuel('php/php-src', 16808); ?> (Segmentation fault in RecursiveIteratorIterator -&gt;current() with a xml element input).</li>
101+
</ul></li>
102+
<li>SOAP:
103+
<ul>
104+
<li>Fix make check being invoked in ext/soap.</li>
105+
</ul></li>
106+
<li>Standard:
107+
<ul>
108+
<li>Fixed bug <?php githubissuel('php/php-src', 16905); ?> (Internal iterator functions can't handle UNDEF properties).</li>
109+
<li>Fixed bug <?php githubissuel('php/php-src', 16957); ?> (Assertion failure in array_shift with self-referencing array).</li>
110+
</ul></li>
111+
<li>Streams:
112+
<ul>
113+
<li>Fixed network connect poll interuption handling.</li>
114+
</ul></li>
115+
<li>Windows:
116+
<ul>
117+
<li>Fixed bug <?php githubissuel('php/php-src', 16849); ?> (Error dialog causes process to hang).</li>
118+
<li>Windows Server 2025 is now properly reported.</li>
119+
</ul></li>
120+
</ul>
121+
<!-- }}} --></section>
122+
123+
124+
12125
<section class="version" id="8.4.1"><!-- {{{ 8.4.1 -->
13126
<h3>Version 8.4.1</h3>
14127
<b><?php release_date('21-Nov-2024'); ?></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/2024-12-19-3.xml"/>
1213
<xi:include href="entries/2024-12-19-2.xml"/>
1314
<xi:include href="entries/2024-12-19-1.xml"/>
1415
<xi:include href="entries/2024-12-13-1.xml"/>

archive/entries/2024-12-19-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.2 Released!</title>
4+
<id>https://www.php.net/archive/2024.php#2024-12-19-3</id>
5+
<published>2024-12-19T16:53:11+00:00</published>
6+
<updated>2024-12-19T16:53:11+00:00</updated>
7+
<link href="https://www.php.net/index.php#2024-12-19-3" rel="alternate" type="text/html"/>
8+
<link href="https://www.php.net/archive/2024.php#2024-12-19-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.2. 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.2 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.2">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.1' =>
6+
array (
7+
'announcement' =>
8+
array (
9+
'English' => '/releases/8_4_1.php',
10+
),
11+
'tags' =>
12+
array (
13+
0 => 'security',
14+
),
15+
'date' => '21 Nov 2024',
16+
'source' =>
17+
array (
18+
0 =>
19+
array (
20+
'filename' => 'php-8.4.1.tar.gz',
21+
'name' => 'PHP 8.4.1 (tar.gz)',
22+
'sha256' => 'c3d1ce4157463ea43004289c01172deb54ce9c5894d8722f4e805461bf9feaec',
23+
'date' => '21 Nov 2024',
24+
),
25+
1 =>
26+
array (
27+
'filename' => 'php-8.4.1.tar.bz2',
28+
'name' => 'PHP 8.4.1 (tar.bz2)',
29+
'sha256' => 'ef8a270118ed128b765fc31f198c7f4650c8171411b0f6a3a1a3aba11fcacc23',
30+
'date' => '21 Nov 2024',
31+
),
32+
2 =>
33+
array (
34+
'filename' => 'php-8.4.1.tar.xz',
35+
'name' => 'PHP 8.4.1 (tar.xz)',
36+
'sha256' => '94c8a4fd419d45748951fa6d73bd55f6bdf0adaefb8814880a67baa66027311f',
37+
'date' => '21 Nov 2024',
38+
),
39+
),
40+
'museum' => false,
41+
),
542
'8.3.14' =>
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.1',
24-
'date' => '21 Nov 2024',
25-
'tags' => ['security'], // Set to ['security'] for security releases.
23+
'version' => '8.4.2',
24+
'date' => '19 Dec 2024',
25+
'tags' => [], // Set to ['security'] for security releases.
2626
'sha256' => [
27-
'tar.gz' => 'c3d1ce4157463ea43004289c01172deb54ce9c5894d8722f4e805461bf9feaec',
28-
'tar.bz2' => 'ef8a270118ed128b765fc31f198c7f4650c8171411b0f6a3a1a3aba11fcacc23',
29-
'tar.xz' => '94c8a4fd419d45748951fa6d73bd55f6bdf0adaefb8814880a67baa66027311f',
27+
'tar.gz' => '5d3cf82a7f4cafdcfc4f3d98f3e3ee81077ae57c709a5613cbff5834d78a7747',
28+
'tar.bz2' => 'ef4fe9921b885ce3b047792ab60260eaf657e22812be511d19d0e45edf984783',
29+
'tar.xz' => '92636453210f7f2174d6ee6df17a5811368f556a6c2c2cbcf019321e36456e01',
3030
]
3131
];
3232

releases/8_4_2.php

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

0 commit comments

Comments
 (0)