Skip to content

Commit

Permalink
Announce PHP 8.4.3
Browse files Browse the repository at this point in the history
  • Loading branch information
SakiTakamachi committed Jan 17, 2025
1 parent 0ab9d27 commit d8b2e42
Show file tree
Hide file tree
Showing 6 changed files with 209 additions and 5 deletions.
130 changes: 130 additions & 0 deletions ChangeLog-8.php
Original file line number Diff line number Diff line change
Expand Up @@ -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>
Expand Down
1 change: 1 addition & 0 deletions archive/archive.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
<uri>http://php.net/contact</uri>
<email>[email protected]</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"/>
Expand Down
21 changes: 21 additions & 0 deletions archive/entries/2025-01-17-1.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="utf-8"?>
<entry xmlns="http://www.w3.org/2005/Atom">
<title>PHP 8.4.3 Released!</title>
<id>https://www.php.net/archive/2025.php#2025-01-17-1</id>
<published>2025-01-17T01:15:24+00:00</published>
<updated>2025-01-17T01:15:24+00:00</updated>
<link href="https://www.php.net/index.php#2025-01-17-1" rel="alternate" type="text/html"/>
<link href="https://www.php.net/archive/2025.php#2025-01-17-1" 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.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="https://www.php.net/downloads.php">downloads 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="https://www.php.net/ChangeLog-8.php#8.4.3">ChangeLog</a>.
</p> </div>
</content>
</entry>
36 changes: 36 additions & 0 deletions include/releases.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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' =>
Expand Down
10 changes: 5 additions & 5 deletions include/version.inc
Original file line number Diff line number Diff line change
Expand Up @@ -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',
]
];

Expand Down
16 changes: 16 additions & 0 deletions releases/8_4_3.php
Original file line number Diff line number Diff line change
@@ -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="https://www.php.net/downloads.php">downloads 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="https://www.php.net/ChangeLog-8.php#8.4.3">ChangeLog</a>.
</p>
<?php site_footer();

0 comments on commit d8b2e42

Please sign in to comment.