Skip to content

Commit c5537f0

Browse files
committed
Announce PHP 8.1.20
1 parent cbbb53f commit c5537f0

File tree

6 files changed

+150
-6
lines changed

6 files changed

+150
-6
lines changed

ChangeLog-8.php

Lines changed: 70 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -843,6 +843,76 @@
843843

844844
<a id="PHP_8_1"></a>
845845

846+
<section class="version" id="8.1.20"><!-- {{{ 8.1.20 -->
847+
<h3>Version 8.1.20</h3>
848+
<b><?php release_date('08-Jun-2023'); ?></b>
849+
<ul><li>Core:
850+
<ul>
851+
<li>Fixed bug <?php githubissuel('php/php-src', 9068); ?> (Conditional jump or move depends on uninitialised value(s)).</li>
852+
<li>Fixed bug <?php githubissuel('php/php-src', 11189); ?> (Exceeding memory limit in zend_hash_do_resize leaves the array in an invalid state).</li>
853+
<li>Fixed bug <?php githubissuel('php/php-src', 11222); ?> (foreach by-ref may jump over keys during a rehash).</li>
854+
</ul></li>
855+
<li>Date:
856+
<ul>
857+
<li>Fixed bug <?php githubissuel('php/php-src', 11281); ?> (DateTimeZone::getName() does not include seconds in offset).</li>
858+
</ul></li>
859+
<li>Exif:
860+
<ul>
861+
<li>Fixed bug <?php githubissuel('php/php-src', 10834); ?> (exif_read_data() cannot read smaller stream wrapper chunk sizes).</li>
862+
</ul></li>
863+
<li>FPM:
864+
<ul>
865+
<li>Fixed bug <?php githubissuel('php/php-src', 10461); ?> (PHP-FPM segfault due to after free usage of child-&gt;ev_std(out|err)).</li>
866+
<li><?php bugfix(64539); ?> (FPM status page: query_string not properly JSON encoded).</li>
867+
<li>Fixed memory leak for invalid primary script file handle.</li>
868+
</ul></li>
869+
<li>Hash:
870+
<ul>
871+
<li>Fixed bug <?php githubissuel('php/php-src', 11180); ?> (hash_file() appears to be restricted to 3 arguments).</li>
872+
</ul></li>
873+
<li>LibXML:
874+
<ul>
875+
<li>Fixed bug <?php githubissuel('php/php-src', 11160); ?> (Few tests failed building with new libxml 2.11.0).</li>
876+
</ul></li>
877+
<li>Opcache:
878+
<ul>
879+
<li>Fixed bug <?php githubissuel('php/php-src', 11134); ?> (Incorrect match default branch optimization).</li>
880+
<li>Fixed too wide OR and AND range inference.</li>
881+
<li>Fixed bug <?php githubissuel('php/php-src', 11245); ?> (In some specific cases SWITCH with one default statement will cause segfault).</li>
882+
</ul></li>
883+
<li>PGSQL:
884+
<ul>
885+
<li>Fixed parameter parsing of pg_lo_export().</li>
886+
</ul></li>
887+
<li>Phar:
888+
<ul>
889+
<li>Fixed bug <?php githubissuel('php/php-src', 11099); ?> (Generating phar.php during cross-compile can't be done).</li>
890+
</ul></li>
891+
<li>Soap:
892+
<ul>
893+
<li>Fixed bug GHSA-76gg-c692-v2mw (Missing error check and insufficient random bytes in HTTP Digest authentication for SOAP).</li>
894+
<li>Fixed bug <?php githubissuel('php/php-src', 8426); ?> (make test fail while soap extension build).</li>
895+
</ul></li>
896+
<li>SPL:
897+
<ul>
898+
<li>Fixed bug <?php githubissuel('php/php-src', 11178); ?> (Segmentation fault in spl_array_it_get_current_data (PHP 8.1.18)).</li>
899+
</ul></li>
900+
<li>Standard:
901+
<ul>
902+
<li>Fixed bug <?php githubissuel('php/php-src', 11138); ?> (move_uploaded_file() emits open_basedir warning for source file).</li>
903+
<li>Fixed bug <?php githubissuel('php/php-src', 11274); ?> (POST/PATCH request switches to GET after a HTTP 308 redirect).</li>
904+
</ul></li>
905+
<li>Streams:
906+
<ul>
907+
<li>Fixed bug <?php githubissuel('php/php-src', 10031); ?> ([Stream] STREAM_NOTIFY_PROGRESS over HTTP emitted irregularly for last chunk of data).</li>
908+
<li>Fixed bug <?php githubissuel('php/php-src', 11175); ?> (Stream Socket Timeout).</li>
909+
<li>Fixed bug <?php githubissuel('php/php-src', 11177); ?> (ASAN UndefinedBehaviorSanitizer when timeout = -1 passed to stream_socket_accept/stream_socket_client).</li>
910+
</ul></li>
911+
</ul>
912+
<!-- }}} --></section>
913+
914+
915+
846916
<section class="version" id="8.1.19"><!-- {{{ 8.1.19 -->
847917
<h3>Version 8.1.19</h3>
848918
<b><?php release_date('11-May-2023'); ?></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/2023-06-08-4.xml"/>
1213
<xi:include href="entries/2023-06-08-3.xml"/>
1314
<xi:include href="entries/2023-06-08-2.xml"/>
1415
<xi:include href="entries/2023-06-08-1.xml"/>

archive/entries/2023-06-08-4.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.1.20 Released!</title>
4+
<id>https://www.php.net/archive/2023.php#2023-06-08-4</id>
5+
<published>2023-06-08T18:24:16+00:00</published>
6+
<updated>2023-06-08T18:24:16+00:00</updated>
7+
<link href="https://www.php.net/index.php#2023-06-08-4" rel="alternate" type="text/html"/>
8+
<link href="https://www.php.net/archive/2023.php#2023-06-08-4" 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.1.20. This is a security release.</p>
13+
14+
<p>All PHP 8.1 users are encouraged to upgrade to this version.</p>
15+
16+
<p>For source downloads of PHP 8.1.20 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.1.20">ChangeLog</a>.
19+
</p> </div>
20+
</content>
21+
</entry>

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.1.19' =>
6+
array (
7+
'announcement' =>
8+
array (
9+
'English' => '/releases/8_1_19.php',
10+
),
11+
'tags' =>
12+
array (
13+
),
14+
'date' => '11 May 2023',
15+
'source' =>
16+
array (
17+
0 =>
18+
array (
19+
'filename' => 'php-8.1.19.tar.gz',
20+
'name' => 'PHP 8.1.19 (tar.gz)',
21+
'sha256' => '0ebb6b0ecf5d8e355c2f1362807f9b73c6e803d496c5ad3e4fb00be989988372',
22+
'date' => '11 May 2023',
23+
),
24+
1 =>
25+
array (
26+
'filename' => 'php-8.1.19.tar.bz2',
27+
'name' => 'PHP 8.1.19 (tar.bz2)',
28+
'sha256' => '64207207fda30be926a2ef1f66ff266bf1fdc7e03339bc99fbba0a1245e4279b',
29+
'date' => '11 May 2023',
30+
),
31+
2 =>
32+
array (
33+
'filename' => 'php-8.1.19.tar.xz',
34+
'name' => 'PHP 8.1.19 (tar.xz)',
35+
'sha256' => 'f42f0e93467415b2d30aa5b7ac825f0079a74207e0033010383cdc1e13657379',
36+
'date' => '11 May 2023',
37+
),
38+
),
39+
'museum' => false,
40+
),
541
'8.2.6' =>
642
array (
743
'announcement' =>

include/version.inc

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

3333
/* PHP 8.1 Release */
3434
$data['8.1'] = [
35-
'version' => '8.1.19',
36-
'date' => '11 May 2023',
37-
'tags' => [], // Set to ['security'] for security releases.
35+
'version' => '8.1.20',
36+
'date' => '08 Jun 2023',
37+
'tags' => ['security'], // Set to ['security'] for security releases.
3838
'sha256' => [
39-
'tar.gz' => '0ebb6b0ecf5d8e355c2f1362807f9b73c6e803d496c5ad3e4fb00be989988372',
40-
'tar.bz2' => '64207207fda30be926a2ef1f66ff266bf1fdc7e03339bc99fbba0a1245e4279b',
41-
'tar.xz' => 'f42f0e93467415b2d30aa5b7ac825f0079a74207e0033010383cdc1e13657379',
39+
'tar.gz' => 'b7d3e2a0c5bed37bb39e4627550d0ee5a4a600042b83c63037b0f5f84793cbe6',
40+
'tar.bz2' => '55578587514a2707500f85319e57c0d4df9b8803cdb26566595ac4bf459dc4dd',
41+
'tar.xz' => '4c9973f599e93ed5e8ce2b45ce1d41bb8fb54ce642824fd23e56b52fd75029a6',
4242
]
4343
];
4444

releases/8_1_20.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_1_20.php';
3+
include_once __DIR__ . '/../include/prepend.inc';
4+
site_header('PHP 8.1.20 Release Announcement');
5+
?>
6+
<h1>PHP 8.1.20 Release Announcement</h1>
7+
8+
<p>The PHP development team announces the immediate availability of PHP 8.1.20. This is a security release.</p>
9+
10+
<p>All PHP 8.1 users are encouraged to upgrade to this version.</p>
11+
12+
<p>For source downloads of PHP 8.1.20 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.1.20">ChangeLog</a>.
15+
</p>
16+
<?php site_footer();

0 commit comments

Comments
 (0)