[PHP-WEBMASTER] [web-php] master: Announce PHP 8.4.3

Author: Saki Takamachi (SakiTakamachi)
Date: 2025-01-17T10:22:03+09:00

Commit: Announce PHP 8.4.3 · php/web-php@d8b2e42 · GitHub
Raw diff: PHP 8.4.3 Released!

Announce PHP 8.4.3

Changed paths:
  A archive/entries/2025-01-17-1.xml
  A releases/8_4_3.php
  M ChangeLog-8.php
  M archive/archive.xml
  M include/releases.inc
  M include/version.inc

Diff:

diff --git a/ChangeLog-8.php b/ChangeLog-8.php
index 838addaefe..56197e5bf9 100644
--- a/ChangeLog-8.php
+++ b/ChangeLog-8.php
@@ -9,6 +9,136 @@

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

+<section class="version" id="8.4.3"><!-- {{{ 8.4.3 -->
+<h3>Version 8.4.3</h3>
+<b><?php release_date('16-Jan-2025'); ?></b>
+<ul><li>BcMath:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 17049); ?> (Correctly compare 0 and -0).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 17061); ?> (Now Number::round() does not remove trailing zeros).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 17064); ?> (Correctly round rounding mode with zero edge case).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 17275); ?> (Fixed the calculation logic of dividend scale).</li>
+</ul></li>
+<li>Core:
+<ul>
+ <li>Fixed bug OSS-Fuzz #382922236 (Duplicate dynamic properties in hooked object iterator properties table).</li>
+ <li>Fixed unstable get_iterator pointer for hooked classes in shm on Windows.</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 17106); ?> (ZEND_MATCH_ERROR misoptimization).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 17162); ?> (zend_array_try_init() with dtor can cause engine UAF).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 17101); ?> (AST-&gt;string does not reproduce constructor property promotion correctly).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 17200); ?> (Incorrect dynamic prop offset in hooked prop iterator).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 17216); ?> (Trampoline crash on error).</li>
+</ul></li>
+<li>DBA:
+<ul>
+ <li>Skip test if inifile is disabled.</li>
+</ul></li>
+<li>DOM:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 17145); ?> (DOM memory leak).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 17201); ?> (Dom\TokenList issues with interned string replace).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 17224); ?> (UAF in importNode).</li>
+</ul></li>
+<li>Embed:
+<ul>
+ <li>Make build command for program using embed portable.</li>
+</ul></li>
+<li>FFI:
+<ul>
+ <li><?php bugfix(79075); ?> (FFI header parser chokes on comments).</li>
+ <li>Fix memory leak on ZEND_FFI_TYPE_CHAR conversion failure.</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 16013); ?> and bug #80857 (Big endian issues).</li>
+</ul></li>
+<li>Fileinfo:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 17039); ?> (PHP 8.4: Incorrect MIME content type).</li>
+</ul></li>
+<li>FPM:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 13437); ?> (FPM: ERROR: scoreboard: failed to lock (already locked)).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 17112); ?> (Macro redefinitions).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 17208); ?> (bug64539-status-json-encoding.phpt fail on 32-bits).</li>
+</ul></li>
+<li>GD:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 16255); ?> (Unexpected nan value in ext/gd/libgd/gd_filter.c).</li>
+ <li>Ported fix for libgd bug 276 (Sometimes pixels are missing when storing images as BMPs).</li>
+</ul></li>
+<li>Gettext:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 17202); ?> (Segmentation fault ext/gettext/gettext.c bindtextdomain()).</li>
+</ul></li>
+<li>Iconv:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 17047); ?> (UAF on iconv filter failure).</li>
+</ul></li>
+<li>LDAP:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 17280); ?> (ldap_search() fails when $attributes array has holes).</li>
+</ul></li>
+<li>LibXML:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 17223); ?> (Memory leak in libxml encoding handling).</li>
+</ul></li>
+<li>MBString:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 17112); ?> (Macro redefinitions).</li>
+</ul></li>
+<li>Opcache:
+<ul>
+ <li>opcache_get_configuration() properly reports jit_prof_threshold.</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 17140); ?> (Assertion failure in JIT trace exit with ZEND_FETCH_DIM_FUNC_ARG).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 17151); ?> (Incorrect RC inference of op1 of FETCH_OBJ and INIT_METHOD_CALL).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 17246); ?> (GC during SCCP causes segfault).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 17257); ?> (UBSAN warning in ext/opcache/jit/zend_jit_vm_helpers.c).</li>
+</ul></li>
+<li>PCNTL:
+<ul>
+ <li>Fix memory leak in cleanup code of pcntl_exec() when a non stringable value is encountered past the first entry.</li>
+</ul></li>
+<li>PgSql:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 17158); ?> (pg_fetch_result Shows Incorrect ArgumentCountError Message when Called With 1 Argument).</li>
+ <li>Fixed further ArgumentCountError for calls with flexible number of arguments.</li>
+</ul></li>
+<li>Phar:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 17137); ?> (Segmentation fault ext/phar/phar.c).</li>
+</ul></li>
+<li>SimpleXML:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 17040); ?> (SimpleXML's unset can break DOM objects).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 17153); ?> (SimpleXML crash when using autovivification on document).</li>
+</ul></li>
+<li>Sockets:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 16276); ?> (socket_strerror overflow handling with INT_MIN).</li>
+ <li>Fixed overflow on SO_LINGER values setting, strengthening values check on SO_SNDTIMEO/SO_RCVTIMEO for socket_set_option().</li>
+</ul></li>
+<li>SPL:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 17198); ?> (SplFixedArray assertion failure with get_object_vars).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 17225); ?> (NULL deref in spl_directory.c).</li>
+</ul></li>
+<li>Streams:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 17037); ?> (UAF in user filter when adding existing filter name due to incorrect error handling).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 16810); ?> (overflow on fopen HTTP wrapper timeout value).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 17067); ?> (glob:// wrapper doesn't cater to CWD for ZTS builds).</li>
+</ul></li>
+<li>Windows:
+<ul>
+ <li>Hardened proc_open() against cmd.exe hijacking.</li>
+</ul></li>
+<li>XML:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 1718); ?> (unreachable program point in zend_hash).</li>
+</ul></li>
+</ul>
+<!-- }}} --></section>
+
+
+
<section class="version" id="8.4.2"><!-- {{{ 8.4.2 -->
<h3>Version 8.4.2</h3>
<b><?php release_date('19-Dec-2024'); ?></b>
diff --git a/archive/archive.xml b/archive/archive.xml
index 7355ef1ed7..2b2bb0a817 100644
--- a/archive/archive.xml
+++ b/archive/archive.xml
@@ -9,6 +9,7 @@
     <uri>PHP: Manual Quick Reference;
     <email>php-webmaster@lists.php.net</email>
   </author>
+ <xi:include href="entries/2025-01-17-1.xml"/>
   <xi:include href="entries/2025-01-16-1.xml"/>
   <xi:include href="entries/2025-01-13-1.xml"/>
   <xi:include href="entries/2024-12-31-1.xml"/>
diff --git a/archive/entries/2025-01-17-1.xml b/archive/entries/2025-01-17-1.xml
new file mode 100644
index 0000000000..cd30ce5116
--- /dev/null
+++ b/archive/entries/2025-01-17-1.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<entry xmlns="http://www.w3.org/2005/Atom&quot;&gt;
+ <title>PHP 8.4.3 Released!</title>
+ <id>PHP: Manual Quick Reference;
+ <published>2025-01-17T01:15:24+00:00</published>
+ <updated>2025-01-17T01:15:24+00:00</updated>
+ <link href="PHP: Hypertext Preprocessor; rel="alternate" type="text/html"/>
+ <link href="PHP: Manual Quick Reference; rel="via" type="text/html"/>
+ <category term="releases" label="New PHP release"/>
+ <category term="frontpage" label="PHP.net frontpage news"/>
+ <content type="xhtml">
+ <div xmlns="http://www.w3.org/1999/xhtml&quot;&gt;&lt;p&gt;The PHP development team announces the immediate availability of PHP 8.4.3. This is a bug fix release.</p>
+
+<p>All PHP 8.4 users are encouraged to upgrade to this version.</p>
+
+<p>For source downloads of PHP 8.4.3 please visit our <a href="PHP: Manual Quick Reference page</a>,
+Windows source and binaries can be found on <a href="https://windows.php.net/download/&quot;&gt;windows\.php\.net/download/&lt;/a&gt;\.
+The list of changes is recorded in the <a href="PHP: PHP 8 ChangeLog.
+</p> </div>
+ </content>
+</entry>
diff --git a/include/releases.inc b/include/releases.inc
index 5b193f5828..04d19c0a9b 100644
--- a/include/releases.inc
+++ b/include/releases.inc
@@ -2,6 +2,42 @@
$OLDRELEASES = array (
   8 =>
   array (
+ '8.4.2' =>
+ array (
+ 'announcement' =>
+ array (
+ 'English' => '/releases/8_4_2.php',
+ ),
+ 'tags' =>
+ array (
+ ),
+ 'date' => '19 Dec 2024',
+ 'source' =>
+ array (
+ 0 =>
+ array (
+ 'filename' => 'php-8.4.2.tar.gz',
+ 'name' => 'PHP 8.4.2 (tar.gz)',
+ 'sha256' => '5d3cf82a7f4cafdcfc4f3d98f3e3ee81077ae57c709a5613cbff5834d78a7747',
+ 'date' => '19 Dec 2024',
+ ),
+ 1 =>
+ array (
+ 'filename' => 'php-8.4.2.tar.bz2',
+ 'name' => 'PHP 8.4.2 (tar.bz2)',
+ 'sha256' => 'ef4fe9921b885ce3b047792ab60260eaf657e22812be511d19d0e45edf984783',
+ 'date' => '19 Dec 2024',
+ ),
+ 2 =>
+ array (
+ 'filename' => 'php-8.4.2.tar.xz',
+ 'name' => 'PHP 8.4.2 (tar.xz)',
+ 'sha256' => '92636453210f7f2174d6ee6df17a5811368f556a6c2c2cbcf019321e36456e01',
+ 'date' => '19 Dec 2024',
+ ),
+ ),
+ 'museum' => false,
+ ),
     '8.3.15' =>
     array (
       'announcement' =>
diff --git a/include/version.inc b/include/version.inc
index 0be865c744..9b9c6b9b6b 100644
--- a/include/version.inc
+++ b/include/version.inc
@@ -20,13 +20,13 @@ $RELEASES = (function () {

     /* PHP 8.4 Release */
     $data['8.4'] = [
- 'version' => '8.4.2',
- 'date' => '19 Dec 2024',
+ 'version' => '8.4.3',
+ 'date' => '16 Jan 2025',
         'tags' => , // Set to ['security'] for security releases.
         'sha256' => [
- 'tar.gz' => '5d3cf82a7f4cafdcfc4f3d98f3e3ee81077ae57c709a5613cbff5834d78a7747',
- 'tar.bz2' => 'ef4fe9921b885ce3b047792ab60260eaf657e22812be511d19d0e45edf984783',
- 'tar.xz' => '92636453210f7f2174d6ee6df17a5811368f556a6c2c2cbcf019321e36456e01',
+ 'tar.gz' => '45b88555b31487401b42c8bd36f2c45d84992bc93ae4c1a23d93bb3347984ecb',
+ 'tar.bz2' => 'd6b12379d1f1df216d1932840a31b14fed1e0fc7e8db1e9d1795f75a1e75ead9',
+ 'tar.xz' => '5c42173cbde7d0add8249c2e8a0c19ae271f41d8c47d67d72bdf91a88dcc7e4b',
         ]
     ];

diff --git a/releases/8_4_3.php b/releases/8_4_3.php
new file mode 100644
index 0000000000..e1700cba28
--- /dev/null
+++ b/releases/8_4_3.php
@@ -0,0 +1,16 @@
+<?php
+$_SERVER['BASE_PAGE'] = 'releases/8_4_3.php';
+include_once __DIR__ . '/../include/prepend.inc';
+site_header('PHP 8.4.3 Release Announcement');
+?>
+<h1>PHP 8.4.3 Release Announcement</h1>
+
+<p>The PHP development team announces the immediate availability of PHP 8.4.3. This is a bug fix release.</p>
+
+<p>All PHP 8.4 users are encouraged to upgrade to this version.</p>
+
+<p>For source downloads of PHP 8.4.3 please visit our <a href="PHP: Manual Quick Reference page</a>,
+Windows source and binaries can be found on <a href="https://windows.php.net/download/&quot;&gt;windows\.php\.net/download/&lt;/a&gt;\.
+The list of changes is recorded in the <a href="PHP: PHP 8 ChangeLog.
+</p>
+<?php site_footer();