PHP 8.1.22 came out on 3 August 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-11625 (DOMElement::replaceWith() doesn't replace node with DOMDocumentFragment but just deletes node or causes wrapping <></> depending on libxml2 version). (nielsdos)
Fileinfo
Fixed bug GH-11298 (finfo returns wrong mime type for xz files). (Anatol)
FTP
Fix context option check for "overwrite". (JonasQuinten)
Fixed bug GH-10562 (Memory leak and invalid state with consecutive ftp_nb_fget). (nielsdos)
GD
Fix most of the external libgd test failures. (Michael Orlitzky)
Hash
Fix use-of-uninitialized-value in hash_pbkdf2(), fix missing $options parameter in signature. (ilutov)
Intl
Fix memory leak in MessageFormatter::format() on failure. (Girgias)
Libxml
Fixed bug GHSA-3qrf-m4j2-pcrr (Security issue with external entity loading in XML without enabling it). (CVE-2023-3823) (nielsdos, ilutov)
Fixed bug GH-10914 (OPCache with Enum and Callback functions results in segmentation fault). (nielsdos)
Prevent potential deadlock if accelerated globals cannot be allocated. (nielsdos)
PCNTL
Fixed bug GH-11498 (SIGCHLD is not always returned from proc_open). (nielsdos)
PCRE
Mangle PCRE regex cache key with JIT option. (mvorisek)
PDO
Fix GH-11587 (After php8.1, when PDO::ATTR_EMULATE_PREPARES is true and PDO::ATTR_STRINGIFY_FETCHES is true, decimal zeros are no longer filled). (SakiTakamachi)
PDO SQLite
Fix GH-11492 (Make test failure: ext/pdo_sqlite/tests/bug_42589.phpt). (KapitanOczywisty, CViniciusSDias)
Phar
Add missing check on EVP_VerifyUpdate() in phar util. (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.