Skip to content

Commit

Permalink
Merge branch 'php:master' into sticky-manual-navs
Browse files Browse the repository at this point in the history
  • Loading branch information
davidmcguiredesign authored Jan 25, 2025
2 parents d416e1a + 2cf9118 commit 017fd78
Show file tree
Hide file tree
Showing 28 changed files with 573 additions and 88 deletions.
249 changes: 249 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 Expand Up @@ -653,6 +783,125 @@

<a id="PHP_8_3"></a>

<section class="version" id="8.3.16"><!-- {{{ 8.3.16 -->
<h3>Version 8.3.16</h3>
<b><?php release_date('16-Jan-2025'); ?></b>
<ul><li>Core:
<ul>
<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', 17211); ?> (observer segfault on function loaded with dl()).</li>
<li>Fixed bug <?php githubissuel('php/php-src', 17216); ?> (Trampoline crash on error).</li>
</ul></li>
<li>Date:
<ul>
<li>Fixed bug <?php githubissuel('php/php-src', 14709); ?> DatePeriod::__construct() overflow on recurrences.</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', 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>Filter:
<ul>
<li>Fixed bug <?php githubissuel('php/php-src', 16944); ?> (Fix filtering special IPv4 and IPv6 ranges, by using information from RFC 6890).</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', 17246); ?> (GC during SCCP causes segfault).</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', 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.3.15"><!-- {{{ 8.3.15 -->
<h3>Version 8.3.15</h3>
<b><?php release_date('19-Dec-2024'); ?></b>
Expand Down
21 changes: 21 additions & 0 deletions archive/2025.php
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?php

$_SERVER['BASE_PAGE'] = 'archive/2025.php';
include_once __DIR__ . '/../include/prepend.inc';
include_once __DIR__ . '/../include/pregen-news.inc';
news_archive_sidebar();
site_header("News Archive - 2025");
?>

<h1>News Archive - 2025</h1>

<p>
Here are the most important news items we have published in 2025 on PHP.net.
</p>

<hr>

<?php

print_news($NEWS_ENTRIES, null, 500, 2025);
site_footer(['elephpants' => true, 'sidebar' => $SIDEBAR_DATA]);
5 changes: 5 additions & 0 deletions archive/archive.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,11 @@
<uri>http://php.net/contact</uri>
<email>[email protected]</email>
</author>
<xi:include href="entries/2025-01-17-2.xml"/>
<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"/>
<xi:include href="entries/2024-12-19-3.xml"/>
<xi:include href="entries/2024-12-19-2.xml"/>
<xi:include href="entries/2024-12-19-1.xml"/>
Expand Down
21 changes: 21 additions & 0 deletions archive/entries/2024-12-31-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" xmlns:default="http://php.net/ns/news">
<title>Web Summer Camp 2025</title>
<id>https://www.php.net/archive/2024.php#2024-12-31-1</id>
<published>2024-12-31T15:56:51+01:00</published>
<updated>2024-12-31T15:56:51+01:00</updated>
<link href="https://www.php.net/conferences/index.php#2024-12-31-1" rel="alternate" type="text/html"/>
<link href="https://www.websummercamp.com" rel="via" type="text/html"/>
<default:finalTeaserDate xmlns="http://php.net/ns/news">2025-07-03</default:finalTeaserDate>
<category term="conferences" label="Conference announcement"/>
<default:newsImage xmlns="http://php.net/ns/news" link="https://www.websummercamp.com" title="Web Summer Camp 2025">websc.png</default:newsImage>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<p>Web Summer Camp is a unique <b>3-day international conference</b> for web professionals, focused on providing <b>intensive knowledge exchange and hands-on workshops</b>. It is set in a relaxed summer environment, offering a full-day program with numerous opportunities for learning and sharing experiences with web designers, developers, founders, and other web aficionados. The program will be divided into <b>six tracks, one being focused on PHP</b>. Other tracks include Javascript, Python, UX, etc.
</p>

<p>The nextedition will be held on <b>July 3rd-5th 2025 in Opatija, Croatia</b>. Call for papers is open till March 15th 2025. For more information see the web site: <a href="https://www.websummercamp.com">Web Summer Camp 2025</a>.
</p>
</div>
</content>
</entry>
20 changes: 20 additions & 0 deletions archive/entries/2025-01-13-1.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<entry xmlns="http://www.w3.org/2005/Atom" xmlns:default="http://php.net/ns/news">
<title>API Platform Conference 2025</title>
<id>https://www.php.net/archive/2025.php#2025-01-13-1</id>
<published>2025-01-13T14:56:53+00:00</published>
<updated>2025-01-13T14:56:53+00:00</updated>
<link href="https://www.php.net/conferences/index.php#2025-01-13-1" rel="alternate" type="text/html"/>
<link href="https://api-platform.com/fr/con/2025/" rel="via" type="text/html"/>
<default:finalTeaserDate xmlns="http://php.net/ns/news">2025-09-18</default:finalTeaserDate>
<category term="conferences" label="Conference announcement"/>
<default:newsImage xmlns="http://php.net/ns/news" link="https://api-platform.com/fr/con/2025/" title="API Platform Conference 2025">api-platform-con-2025.png</default:newsImage>
<content type="xhtml">
<div xmlns="http://www.w3.org/1999/xhtml">
<p><b>We are thrilled to announce that the API Platform Conference will return on September 18th and 19th, 2025, both in Lille (France) and online.</b></p>
<p>The API Platform Conference is a two-day event that highlights the latest trends, best practices, and case studies related to API Platform and its ecosystem, including PHP, Symfony, JavaScript, AI, FrankenPHP, performance, and tools.</p>
<p>With nearly 30 talks delivered in both English and French, the conference is a must-attend for innovative companies, project leaders, and skilled developers. If you're a developer, CTO, or decision-maker specializing in these technologies, this event is tailored for you!</p>
<p><b>The <a href="https://conference-hall.io/api-platform-conference-2025-lille-and-online">call for papers</a> for the API Platform Conference 2025 is open until March 23.</b> Final speakers will be announced starting May 14. Submit your pitch, and you could join us for this special anniversary edition: <a href="https://api-platform.com/con/2025/">https://api-platform.com/con/2025/</a></p>
</div>
</content>
</entry>
21 changes: 21 additions & 0 deletions archive/entries/2025-01-16-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.3.16 Released!</title>
<id>https://www.php.net/archive/2025.php#2025-01-16-1</id>
<published>2025-01-16T16:36:10+00:00</published>
<updated>2025-01-16T16:36:10+00:00</updated>
<link href="https://www.php.net/index.php#2025-01-16-1" rel="alternate" type="text/html"/>
<link href="https://www.php.net/archive/2025.php#2025-01-16-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.3.16. This is a bug fix release.</p>

<p>All PHP 8.3 users are encouraged to upgrade to this version.</p>

<p>For source downloads of PHP 8.3.16 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.3.16">ChangeLog</a>.
</p> </div>
</content>
</entry>
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>
Loading

0 comments on commit 017fd78

Please sign in to comment.