Skip to content

Commit e7adfe5

Browse files
committed
Announce PHP 8.3.21
1 parent d3a4fa8 commit e7adfe5

File tree

7 files changed

+144
-10
lines changed

7 files changed

+144
-10
lines changed

ChangeLog-8.php

Lines changed: 60 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1181,6 +1181,66 @@
11811181

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

1184+
<section class="version" id="8.3.21"><!-- {{{ 8.3.21 -->
1185+
<h3>Version 8.3.21</h3>
1186+
<b><?php release_date('08-May-2025'); ?></b>
1187+
<ul><li>Core:
1188+
<ul>
1189+
<li>Fixed bug <?php githubissuel('php/php-src', 18304); ?> (Changing the properties of a DateInterval through dynamic properties triggers a SegFault).</li>
1190+
<li>Fix some leaks in php_scandir.</li>
1191+
</ul></li>
1192+
<li>Filter:
1193+
<ul>
1194+
<li>Fixed bug <?php githubissuel('php/php-src', 18309); ?> (ipv6 filter integer overflow).</li>
1195+
</ul></li>
1196+
<li>GD:
1197+
<ul>
1198+
<li>Fixed imagecrop() overflow with rect argument with x/width y/heigh usage in gdImageCrop().</li>
1199+
<li>Fixed <?php githubissuel('php/php-src', 18243); ?> imagettftext() overflow/underflow on font size value.</li>
1200+
</ul></li>
1201+
<li>Intl:
1202+
<ul>
1203+
<li>Fix reference support for intltz_get_offset().</li>
1204+
</ul></li>
1205+
<li>LDAP:
1206+
<ul>
1207+
<li>Fixed bug <?php githubissuel('php/php-src', 17776); ?> (LDAP_OPT_X_TLS_* options can't be overridden).</li>
1208+
<li>Fix NULL deref on high modification key.</li>
1209+
</ul></li>
1210+
<li>libxml:
1211+
<ul>
1212+
<li>Fixed custom external entity loader returning an invalid resource leading to a confusing TypeError message.</li>
1213+
</ul></li>
1214+
<li>OpenSSL:
1215+
<ul>
1216+
<li>Fix memory leak in openssl_sign() when passing invalid algorithm.</li>
1217+
<li>Fix potential leaks when writing to BIO fails.</li>
1218+
</ul></li>
1219+
<li>PDO Firebird:
1220+
<ul>
1221+
<li>Fixed <?php githubissuel('php/php-src', 18276); ?> - persistent connection - "zend_mm_heap corrupted" with setAttribute() (SakiTakamachi).</li>
1222+
</ul></li>
1223+
<li>SPL:
1224+
<ul>
1225+
<li>Fixed bug <?php githubissuel('php/php-src', 18322); ?> (SplObjectStorage debug handler mismanages memory).</li>
1226+
</ul></li>
1227+
<li>Standard:
1228+
<ul>
1229+
<li>Fixed bug <?php githubissuel('php/php-src', 18145); ?> (php8ts crashes in php_clear_stat_cache()).</li>
1230+
<li>Fixed bug <?php githubissuel('php/php-src', 18209); ?> (Use-after-free in extract() with EXTR_REFS).</li>
1231+
<li>Fixed bug <?php githubissuel('php/php-src', 18212); ?> (fseek with SEEK_CUR whence value and negative offset leads to negative stream position).</li>
1232+
<li>Fix resource leak in iptcembed() on error.</li>
1233+
</ul></li>
1234+
<li>Zip:
1235+
<ul>
1236+
<li>Fix uouv when handling empty options in ZipArchive::addGlob().</li>
1237+
<li>Fix memory leak when handling a too long path in ZipArchive::addGlob().</li>
1238+
</ul></li>
1239+
</ul>
1240+
<!-- }}} --></section>
1241+
1242+
1243+
11841244
<section class="version" id="8.3.20"><!-- {{{ 8.3.20 -->
11851245
<h3>Version 8.3.20</h3>
11861246
<b><?php release_date('10-Apr-2025'); ?></b>

archive/archive.xml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
<uri>http://php.net/contact</uri>
1010
<email>[email protected]</email>
1111
</author>
12+
<xi:include href="entries/2025-05-08-2.xml"/>
1213
<xi:include href="entries/2025-05-08-1.xml"/>
1314
<xi:include href="entries/2025-04-10-3.xml"/>
1415
<xi:include href="entries/2025-04-10-2.xml"/>

archive/entries/2025-05-08-2.xml

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<?xml version="1.0" encoding="utf-8"?>
2+
<entry xmlns="http://www.w3.org/2005/Atom">
3+
<title>PHP 8.3.21 Released!</title>
4+
<id>https://www.php.net/archive/2025.php#2025-05-08-2</id>
5+
<published>2025-05-08T22:02:15+00:00</published>
6+
<updated>2025-05-08T22:02:15+00:00</updated>
7+
<link href="https://www.php.net/index.php#2025-05-08-2" rel="alternate" type="text/html"/>
8+
<link href="https://www.php.net/archive/2025.php#2025-05-08-2" rel="via" type="text/html"/>
9+
<category term="releases" label="New PHP release"/>
10+
<category term="frontpage" label="PHP.net frontpage news"/>
11+
<content type="xhtml">
12+
<div xmlns="http://www.w3.org/1999/xhtml"><p>The PHP development team announces the immediate availability of PHP 8.3.21. This is a bug fix release.</p>
13+
14+
<p>All PHP 8.3 users are encouraged to upgrade to this version.</p>
15+
16+
<p>For source downloads of PHP 8.3.21 please visit our <a href="https://www.php.net/downloads.php">downloads page</a>,
17+
Windows source and binaries can be found on <a href="https://windows.php.net/download/">windows.php.net/download/</a>.
18+
The list of changes is recorded in the <a href="https://www.php.net/ChangeLog-8.php#8.3.21">ChangeLog</a>.
19+
</p> </div>
20+
</content>
21+
</entry>

include/release-qa.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,12 +75,12 @@
7575
'active' => true,
7676
'release' => [
7777
'type' => 'RC',
78-
'number' => 1,
79-
'sha256_bz2' => 'c86adcc8918da561038d671009acb6223fb6ed2263ad6139711674be94ac60a4',
80-
'sha256_gz' => 'b0da1f161a247e83c8c4fcd5b71b1a42a9fcd26d129404955f70fd986c026559',
81-
'sha256_xz' => '6d8bf25e0584cfcb83243fd7d1a90c06d428f1204eea93bb3c027c6e3344a23e',
78+
'number' => 0,
79+
'sha256_bz2' => '',
80+
'sha256_gz' => '',
81+
'sha256_xz' => '',
8282
'date' => '24 Apr 2025',
83-
'baseurl' => 'https://downloads.php.net/~eric/',
83+
'baseurl' => 'https://downloads.php.net/',
8484
],
8585
],
8686

include/releases.inc

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,42 @@
22
$OLDRELEASES = array (
33
8 =>
44
array (
5+
'8.3.20' =>
6+
array (
7+
'announcement' =>
8+
array (
9+
'English' => '/releases/8_3_20.php',
10+
),
11+
'tags' =>
12+
array (
13+
),
14+
'date' => '10 Apr 2025',
15+
'source' =>
16+
array (
17+
0 =>
18+
array (
19+
'filename' => 'php-8.3.20.tar.gz',
20+
'name' => 'PHP 8.3.20 (tar.gz)',
21+
'sha256' => '515ed37529df6b7f569ba68d505713bce23a93a58471dedac4ecfd17c44e5650',
22+
'date' => '10 Apr 2025',
23+
),
24+
1 =>
25+
array (
26+
'filename' => 'php-8.3.20.tar.bz2',
27+
'name' => 'PHP 8.3.20 (tar.bz2)',
28+
'sha256' => '36b4e6a323cd45673a54f296e9d2666b7f5df57641031c77c4fd8137bc4ebeb3',
29+
'date' => '10 Apr 2025',
30+
),
31+
2 =>
32+
array (
33+
'filename' => 'php-8.3.20.tar.xz',
34+
'name' => 'PHP 8.3.20 (tar.xz)',
35+
'sha256' => 'f15914e071b5bddaf1475b5f2ba68107e8b8846655f9e89690fb7cd410b0db6c',
36+
'date' => '10 Apr 2025',
37+
),
38+
),
39+
'museum' => false,
40+
),
541
'8.4.6' =>
642
array (
743
'announcement' =>

include/version.inc

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -32,13 +32,13 @@ $RELEASES = (function () {
3232

3333
/* PHP 8.3 Release */
3434
$data['8.3'] = [
35-
'version' => '8.3.20',
36-
'date' => '10 Apr 2025',
35+
'version' => '8.3.21',
36+
'date' => '8 May 2025',
3737
'tags' => [], // Set to ['security'] for security releases.
3838
'sha256' => [
39-
'tar.gz' => '515ed37529df6b7f569ba68d505713bce23a93a58471dedac4ecfd17c44e5650',
40-
'tar.bz2' => '36b4e6a323cd45673a54f296e9d2666b7f5df57641031c77c4fd8137bc4ebeb3',
41-
'tar.xz' => 'f15914e071b5bddaf1475b5f2ba68107e8b8846655f9e89690fb7cd410b0db6c',
39+
'tar.gz' => 'e7f1748c1fa3d2bf8ef2e00508bd62325ba68c3b830b253bc561225a9ba5457d',
40+
'tar.bz2' => 'd0769e6e11cfa6c59a16de241668be8c7f31a729950a8d06190dfad2d8622b04',
41+
'tar.xz' => '4dfb329f209a552c3716394fc123bb62e80a468b55ce27fc8cb0fd5f30b9dcd6',
4242
]
4343
];
4444

releases/8_3_21.php

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,16 @@
1+
<?php
2+
$_SERVER['BASE_PAGE'] = 'releases/8_3_21.php';
3+
include_once __DIR__ . '/../include/prepend.inc';
4+
site_header('PHP 8.3.21 Release Announcement');
5+
?>
6+
<h1>PHP 8.3.21 Release Announcement</h1>
7+
8+
<p>The PHP development team announces the immediate availability of PHP 8.3.21. This is a bug fix release.</p>
9+
10+
<p>All PHP 8.3 users are encouraged to upgrade to this version.</p>
11+
12+
<p>For source downloads of PHP 8.3.21 please visit our <a href="https://www.php.net/downloads.php">downloads page</a>,
13+
Windows source and binaries can be found on <a href="https://windows.php.net/download/">windows.php.net/download/</a>.
14+
The list of changes is recorded in the <a href="https://www.php.net/ChangeLog-8.php#8.3.21">ChangeLog</a>.
15+
</p>
16+
<?php site_footer();

0 commit comments

Comments
 (0)