Author: Saki Takamachi (SakiTakamachi)
Date: 2025-05-08T23:56:10+09:00
Commit: Announce PHP 8.4.7 · php/web-php@d3a4fa8 · GitHub
Raw diff: PHP 8.4.7 Released!
Announce PHP 8.4.7
Changed paths:
A archive/entries/2025-05-08-1.xml
A releases/8_4_7.php
M ChangeLog-8.php
M archive/archive.xml
M include/release-qa.php
M include/releases.inc
M include/version.inc
Diff:
diff --git a/ChangeLog-8.php b/ChangeLog-8.php
index 71ee307ed6..1c729e21c3 100644
--- a/ChangeLog-8.php
+++ b/ChangeLog-8.php
@@ -9,6 +9,90 @@
<a id="PHP_8_4"></a>
+<section class="version" id="8.4.7"><!-- {{{ 8.4.7 -->
+<h3>Version 8.4.7</h3>
+<b><?php release_date('8-May-2025'); ?></b>
+<ul><li>Core:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 18038); ?> (Lazy proxy calls magic methods twice).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 18209); ?> (Use-after-free in extract() with EXTR_REFS).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 18268); ?> (Segfault in array_walk() on object with added property hooks).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 18304); ?> (Changing the properties of a DateInterval through dynamic properties triggers a SegFault).</li>
+ <li>Fix some leaks in php_scandir.</li>
+</ul></li>
+<li>DBA:
+<ul>
+ <li>FIxed bug <?php githubissuel('php/php-src', 18247); ?> dba_popen() memory leak on invalid path.</li>
+</ul></li>
+<li>Filter:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 18309); ?> (ipv6 filter integer overflow).</li>
+</ul></li>
+<li>GD:
+<ul>
+ <li>Fixed imagecrop() overflow with rect argument with x/width y/heigh usage in gdImageCrop().</li>
+ <li>Fixed <?php githubissuel('php/php-src', 18243); ?> imagettftext() overflow/underflow on font size value.</li>
+</ul></li>
+<li>Intl:
+<ul>
+ <li>Fix reference support for intltz_get_offset().</li>
+</ul></li>
+<li>LDAP:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 17776); ?> (LDAP_OPT_X_TLS_* options can't be overridden).</li>
+ <li>Fix NULL deref on high modification key.</li>
+</ul></li>
+<li>libxml:
+<ul>
+ <li>Fixed custom external entity loader returning an invalid resource leading to a confusing TypeError message.</li>
+</ul></li>
+<li>Opcache:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 18294); ?> (assertion failure zend_jit_ir.c).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 18289); ?> (Fix segfault in JIT).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 18136); ?> (tracing JIT floating point register clobbering on Windows and ARM64).</li>
+</ul></li>
+<li>OpenSSL:
+<ul>
+ <li>Fix memory leak in openssl_sign() when passing invalid algorithm.</li>
+ <li>Fix potential leaks when writing to BIO fails.</li>
+</ul></li>
+<li>PDO Firebird:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 18276); ?> (persistent connection - "zend_mm_heap corrupted" with setAttribute()) (SakiTakamachi).</li>
+ <li>Fixed bug <?php githubissuel('php/php-src', 17383); ?> (PDOException has wrong code and message since PHP 8.4) (SakiTakamachi).</li>
+</ul></li>
+<li>PDO Sqlite:
+<ul>
+ <li>Fix memory leak on error return of collation callback.</li>
+</ul></li>
+<li>PgSql:
+<ul>
+ <li>Fix uouv in pg_put_copy_end().</li>
+</ul></li>
+<li>SPL:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 18322); ?> (SplObjectStorage debug handler mismanages memory).</li>
+</ul></li>
+<li>Standard:
+<ul>
+ <li>Fixed bug <?php githubissuel('php/php-src', 18145); ?> (php8ts crashes in php_clear_stat_cache()).</li>
+ <li>Fix resource leak in iptcembed() on error.</li>
+</ul></li>
+<li>Tests:
+<ul>
+ <li>Address deprecated PHP 8.4 session options to prevent test failures.</li>
+</ul></li>
+<li>Zip:
+<ul>
+ <li>Fix uouv when handling empty options in ZipArchive::addGlob().</li>
+ <li>Fix memory leak when handling a too long path in ZipArchive::addGlob().</li>
+</ul></li>
+</ul>
+<!-- }}} --></section>
+
+
+
<section class="version" id="8.4.6"><!-- {{{ 8.4.6 -->
<h3>Version 8.4.6</h3>
<b><?php release_date('10-Apr-2025'); ?></b>
diff --git a/archive/archive.xml b/archive/archive.xml
index 6e37656f7e..b3e44929c5 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-05-08-1.xml"/>
<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"/>
diff --git a/archive/entries/2025-05-08-1.xml b/archive/entries/2025-05-08-1.xml
new file mode 100644
index 0000000000..ee8f158be5
--- /dev/null
+++ b/archive/entries/2025-05-08-1.xml
@@ -0,0 +1,21 @@
+<?xml version="1.0" encoding="utf-8"?>
+<entry xmlns="http://www.w3.org/2005/Atom">
+ <title>PHP 8.4.7 Released!</title>
+ <id>PHP: News Archive - 2025;
+ <published>2025-05-08T14:51:28+00:00</published>
+ <updated>2025-05-08T14:51:28+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"><p>The PHP development team announces the immediate availability of PHP 8.4.7. 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.7 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/">windows\.php\.net/download/</a>\.
+The list of changes is recorded in the <a href="PHP: PHP 8 ChangeLog.
+</p> </div>
+ </content>
+</entry>
diff --git a/include/release-qa.php b/include/release-qa.php
index 004099557c..aa45dd77d6 100644
--- a/include/release-qa.php
+++ b/include/release-qa.php
@@ -88,12 +88,12 @@
'active' => true,
'release' => [
'type' => 'RC',
- 'number' => 1,
- 'sha256_bz2' => 'acddb1da1b128f984df01347c907a64939f316d7d9bd138b49106f4179b7776f',
- 'sha256_gz' => 'b12d97767aeda4624ea1904c1d93303efe4ffe1ba91970a3c5774ad556918e93',
- 'sha256_xz' => '6cb37632eb65ee311cb4427ad070b6ab27fdaf13e8f0103701b2b78907326c93',
+ 'number' => 0,
+ 'sha256_bz2' => '',
+ 'sha256_gz' => '',
+ 'sha256_xz' => '',
'date' => '24 Apr 2025',
- 'baseurl' => 'Index of /~saki‘,
+ 'baseurl' => 'https://downloads.php.net/’,
],
],
];
diff --git a/include/releases.inc b/include/releases.inc
index 0c7fb85bdb..0f82c59837 100644
--- a/include/releases.inc
+++ b/include/releases.inc
@@ -2,6 +2,42 @@
$OLDRELEASES = array (
8 =>
array (
+ '8.4.6' =>
+ array (
+ 'announcement' =>
+ array (
+ 'English' => '/releases/8_4_6.php',
+ ),
+ 'tags' =>
+ array (
+ ),
+ 'date' => '10 Apr 2025',
+ 'source' =>
+ array (
+ 0 =>
+ array (
+ 'filename' => 'php-8.4.6.tar.gz',
+ 'name' => 'PHP 8.4.6 (tar.gz)',
+ 'sha256' => '49be0f2f45c9b07c9b921d023bf28b1fc781700c829869725681300e72e3faa8',
+ 'date' => '10 Apr 2025',
+ ),
+ 1 =>
+ array (
+ 'filename' => 'php-8.4.6.tar.bz2',
+ 'name' => 'PHP 8.4.6 (tar.bz2)',
+ 'sha256' => '9cf2734509b603f6589617ab52a9712a03e0fe059951cddd2d4623df4bf7c6c6',
+ 'date' => '10 Apr 2025',
+ ),
+ 2 =>
+ array (
+ 'filename' => 'php-8.4.6.tar.xz',
+ 'name' => 'PHP 8.4.6 (tar.xz)',
+ 'sha256' => '089b08a5efef02313483325f3bacd8c4fe311cf1e1e56749d5cc7d059e225631',
+ 'date' => '10 Apr 2025',
+ ),
+ ),
+ 'museum' => false,
+ ),
'8.4.5' =>
array (
'announcement' =>
diff --git a/include/version.inc b/include/version.inc
index 778463774a..29514be214 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.6',
- 'date' => '10 Apr 2025',
+ 'version' => '8.4.7',
+ 'date' => '8 May 2025',
'tags' => , // Set to ['security'] for security releases.
'sha256' => [
- 'tar.gz' => '49be0f2f45c9b07c9b921d023bf28b1fc781700c829869725681300e72e3faa8',
- 'tar.bz2' => '9cf2734509b603f6589617ab52a9712a03e0fe059951cddd2d4623df4bf7c6c6',
- 'tar.xz' => '089b08a5efef02313483325f3bacd8c4fe311cf1e1e56749d5cc7d059e225631',
+ 'tar.gz' => 'fd2be3b9320184e856426e01bd1a428110776ea8e976c3fb6b65808d03fc886a',
+ 'tar.bz2' => '6eccb1b06a4dd9cea314dbe70c762d3d4765471cb6ebf925b9da308978bff988',
+ 'tar.xz' => 'e29f4c23be2816ed005aa3f06bbb8eae0f22cc133863862e893515fc841e65e3',
]
];
diff --git a/releases/8_4_7.php b/releases/8_4_7.php
new file mode 100644
index 0000000000..a2bebfd0af
--- /dev/null
+++ b/releases/8_4_7.php
@@ -0,0 +1,16 @@
+<?php
+$_SERVER['BASE_PAGE'] = 'releases/8_4_7.php';
+include_once __DIR__ . '/../include/prepend.inc';
+site_header('PHP 8.4.7 Release Announcement');
+?>
+<h1>PHP 8.4.7 Release Announcement</h1>
+
+<p>The PHP development team announces the immediate availability of PHP 8.4.7. 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.7 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/">windows\.php\.net/download/</a>\.
+The list of changes is recorded in the <a href="PHP: PHP 8 ChangeLog.
+</p>
+<?php site_footer();