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

Author: Calvin Buckley (NattyNarwhal)
Date: 2025-04-10T18:15:46-03:00

Commit: Announce PHP 8.4.6 · php/web-php@77d8a8c · GitHub
Raw diff: PHP 8.4.6 Released!

Announce PHP 8.4.6

Changed paths:
  A archive/entries/2025-04-10-3.xml
  A releases/8_4_6.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 32dc71b5bd..71ee307ed6 100644
--- a/ChangeLog-8.php
+++ b/ChangeLog-8.php
@@ -9,6 +9,94 @@

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

+<section class="version" id="8.4.6"><!-- {{{ 8.4.6 -->
+<h3>Version 8.4.6</h3>
+<b><?php release_date('10-Apr-2025'); ?></b>
+<ul><li>BCMath:
+<ul>
+ <li>Fixed pointer subtraction for scale.</li>
+</ul></li>
+<li>Core:
+<ul>
+ <li>Fixed property hook backing value access in multi-level inheritance.</li>
+ <li>Fixed accidentally inherited default value in overridden virtual properties.</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 17376); ?> (Broken JIT polymorphism for property hooks added to child class).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 17913); ?> (ReflectionFunction::isDeprecated() returns incorrect results for closures created from magic __call()).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 17941); ?> (Stack-use-after-return with lazy objects and hooks).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 17988); ?> (Incorrect handling of hooked props without get hook in get_object_vars()).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 17998); ?> (Skipped lazy object initialization on primed SIMPLE_WRITE cache).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 17998); ?> (Assignment to backing value in set hook of lazy proxy calls hook again).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 17961); ?> (use-after-free during dl()'ed module class destruction).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 15367); ?> (dl() of module with aliased class crashes in shutdown).</li>
+ <li>Fixed OSS-Fuzz #403308724.</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 13193); ?> again (Significant performance degradation in 'foreach').</li>
+</ul></li>
+<li>DBA:
+<ul>
+ <li>Fixed assertion violation when opening the same file with dba_open multiple times.</li>
+</ul></li>
+<li>DOM:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 17991); ?> (Assertion failure dom_attr_value_write).</li>
+ <li>Fix weird unpack behaviour in DOM.</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 18090); ?> (DOM: Svg attributes and tag names are being lowercased).</li>
+ <li>Fix xinclude destruction of live attributes.</li>
+</ul></li>
+<li>Fuzzer:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 18081); ?> (Memory leaks in error paths of fuzzer SAPI).</li>
+</ul></li>
+<li>GD:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 17984); ?> (calls with arguments as array with references).</li>
+</ul></li>
+<li>LDAP:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 18015); ?> (Error messages for ldap_mod_replace are confusing).</li>
+</ul></li>
+<li>Mbstring:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 17989); ?> (mb_output_handler crash with unset http_output_conv_mimetypes).</li>
+</ul></li>
+<li>Opcache:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 15834); ?> (Segfault with hook "simple get" cache slot and minimal JIT).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 17966); ?> (Symfony JIT 1205 assertion failure).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 18037); ?> (SEGV Zend/zend_execute.c).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 18050); ?> (IN_ARRAY optimization in DFA pass is broken).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 18113); ?> (stack-buffer-overflow ext/opcache/jit/ir/ir_sccp.c).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 18112); ?> (NULL access with preloading and INI option).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 18107); ?> (Opcache CFG jmp optimization with try-finally breaks the exception table).</li>
+</ul></li>
+<li>PDO:
+<ul>
+ <li>Fix memory leak when destroying PDORow.</li>
+</ul></li>
+<li>Standard:
+<ul>
+ <li>Fix memory leaks in array_any() / array_all().</li>
+</ul></li>
+<li>SOAP:
+<ul>
+ <li><?php bugfix(66049); ?> (Typemap can break parsing in parse_packet_soap leading to a segfault) .</li>
+</ul></li>
+<li>SPL:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 18018); ?> (RC1 data returned from offsetGet causes UAF in ArrayObject).</li>
+</ul></li>
+<li>Treewide:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 17736); ?> (Assertion failure zend_reference_destroy()).</li>
+</ul></li>
+<li>Windows:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 17836); ?> (zend_vm_gen.php shouldn't break on Windows line endings).</li>
+</ul></li>
+</ul>
+<!-- }}} --></section>
+
+
+
<section class="version" id="8.4.5"><!-- {{{ 8.4.5 -->
<h3>Version 8.4.5</h3>
<b><?php release_date('13-Mar-2025'); ?></b>
diff --git a/archive/archive.xml b/archive/archive.xml
index 55de1e8238..6e37656f7e 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-04-10-3.xml"/>
   <xi:include href="entries/2025-04-10-2.xml"/>
   <xi:include href="entries/2025-04-10-1.xml"/>
   <xi:include href="entries/2025-03-14-1.xml"/>
diff --git a/archive/entries/2025-04-10-3.xml b/archive/entries/2025-04-10-3.xml
new file mode 100644
index 0000000000..912da0a603
--- /dev/null
+++ b/archive/entries/2025-04-10-3.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.6 Released!</title>
+ <id>PHP: News Archive - 2025;
+ <published>2025-04-10T21:09:01+00:00</published>
+ <updated>2025-04-10T21:09:01+00:00</updated>
+ <link href="PHP: Hypertext Preprocessor; rel="alternate" type="text/html"/>
+ <link href="PHP: News Archive - 2025; 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.6. 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.6 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 f7f10e8b30..0c7fb85bdb 100644
--- a/include/releases.inc
+++ b/include/releases.inc
@@ -2,6 +2,43 @@
$OLDRELEASES = array (
   8 =>
   array (
+ '8.4.5' =>
+ array (
+ 'announcement' =>
+ array (
+ 'English' => '/releases/8_4_5.php',
+ ),
+ 'tags' =>
+ array (
+ 0 => 'security',
+ ),
+ 'date' => '13 Mar 2025',
+ 'source' =>
+ array (
+ 0 =>
+ array (
+ 'filename' => 'php-8.4.5.tar.gz',
+ 'name' => 'PHP 8.4.5 (tar.gz)',
+ 'sha256' => 'f05530d350f1ffe279e097c2af7a8d78cab046ef99d91f6b3151b06f0ab05d05',
+ 'date' => '13 Mar 2025',
+ ),
+ 1 =>
+ array (
+ 'filename' => 'php-8.4.5.tar.bz2',
+ 'name' => 'PHP 8.4.5 (tar.bz2)',
+ 'sha256' => '9378c78887d0cd7462fc5c17f2de30c852f20f79d28795e2573fe3250d39436e',
+ 'date' => '13 Mar 2025',
+ ),
+ 2 =>
+ array (
+ 'filename' => 'php-8.4.5.tar.xz',
+ 'name' => 'PHP 8.4.5 (tar.xz)',
+ 'sha256' => '0d3270bbce4d9ec617befce52458b763fd461d475f1fe2ed878bb8573faed327',
+ 'date' => '13 Mar 2025',
+ ),
+ ),
+ 'museum' => false,
+ ),
     '8.3.19' =>
     array (
       'announcement' =>
diff --git a/include/version.inc b/include/version.inc
index 311fbb4189..778463774a 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.5',
- 'date' => '13 Mar 2025',
- 'tags' => ['security'], // Set to ['security'] for security releases.
+ 'version' => '8.4.6',
+ 'date' => '10 Apr 2025',
+ 'tags' => , // Set to ['security'] for security releases.
         'sha256' => [
- 'tar.gz' => 'f05530d350f1ffe279e097c2af7a8d78cab046ef99d91f6b3151b06f0ab05d05',
- 'tar.bz2' => '9378c78887d0cd7462fc5c17f2de30c852f20f79d28795e2573fe3250d39436e',
- 'tar.xz' => '0d3270bbce4d9ec617befce52458b763fd461d475f1fe2ed878bb8573faed327',
+ 'tar.gz' => '49be0f2f45c9b07c9b921d023bf28b1fc781700c829869725681300e72e3faa8',
+ 'tar.bz2' => '9cf2734509b603f6589617ab52a9712a03e0fe059951cddd2d4623df4bf7c6c6',
+ 'tar.xz' => '089b08a5efef02313483325f3bacd8c4fe311cf1e1e56749d5cc7d059e225631',
         ]
     ];

diff --git a/releases/8_4_6.php b/releases/8_4_6.php
new file mode 100644
index 0000000000..8be76d8473
--- /dev/null
+++ b/releases/8_4_6.php
@@ -0,0 +1,16 @@
+<?php
+$_SERVER['BASE_PAGE'] = 'releases/8_4_6.php';
+include_once __DIR__ . '/../include/prepend.inc';
+site_header('PHP 8.4.6 Release Announcement');
+?>
+<h1>PHP 8.4.6 Release Announcement</h1>
+
+<p>The PHP development team announces the immediate availability of PHP 8.4.6. 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.6 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();