PHP 8.1.20 came out on 8 June 2023. Below is the full list of changes it made, grouped by the part of PHP that each one affects.
Security This release fixed security problems, but PHP 8.1 no longer gets any updates. If your site still runs on PHP 8.1, it should be moved to a version of PHP that is still supported.
Fixed bug GH-11180 (hash_file() appears to be restricted to 3 arguments). (nielsdos)
LibXML
Fixed bug GH-11160 (Few tests failed building with new libxml 2.11.0). (nielsdos)
Opcache
Fixed bug GH-11134 (Incorrect match default branch optimization). (ilutov)
Fixed too wide OR and AND range inference. (nielsdos)
Fixed bug GH-11245 (In some specific cases SWITCH with one default statement will cause segfault). (nielsdos)
PGSQL
Fixed parameter parsing of pg_lo_export(). (kocsismate)
Phar
Fixed bug GH-11099 (Generating phar.php during cross-compile can't be done). (peter279k)
Soap
Fixed bug GHSA-76gg-c692-v2mw (Missing error check and insufficient random bytes in HTTP Digest authentication for SOAP). (CVE-2023-3247) (nielsdos, timwolla)
Fixed bug GH-8426 (make test fail while soap extension build). (nielsdos)
SPL
Fixed bug GH-11178 (Segmentation fault in spl_array_it_get_current_data (PHP 8.1.18)). (nielsdos)
If you don't want to use our tool or have already tried what follows is a list of three simple tests you can perform to determine your PHP version.We have listed them in order of complexity, starting with the easiest.