PHP 8.1.5 came out on 14 April 2022. Below is the full list of changes it made, grouped by the part of PHP that each one affects.
The changes are listed in English, exactly as the PHP developers wrote them (18 in total).
Core
Fixed bug GH-8176 (Enum values in property initializers leak). (Bob) Fixed freeing of internal attribute arguments. (Bob) Fixed bug GH-8070 (memory leak of internal function attribute hash). (Tim Düsterhus) Fixed bug GH-8160 (ZTS support on Alpine is broken). (Michael Voříšek)
Filter
Fixed signedness confusion in php_filter_validate_domain(). (cmb)
Intl
Fixed bug GH-8115 (Can't catch arg type deprecation when instantiating Intl classes). (ilutov) Fixed bug GH-8142 (Compilation error on cygwin). (David Carlier) Fixed bug GH-7734 (Fix IntlPartsIterator key off-by-one error and first key). (ilutov)
MBString
Fixed bug GH-8208 (mb_encode_mimeheader: $indent functionality broken). (cmb)
MySQLi
Fixed bug GH-8068 (mysqli_fetch_object creates inaccessible properties). (cmb)
Pcntl
Fixed bug GH-8142 (Compilation error on cygwin). (David Carlier)
PgSQL
Fixed result_type related stack corruption on LLP64 architectures. (cmb) Fixed bug GH-8253 (pg_insert() fails for references). (cmb)
Sockets
Fixed Solaris builds. (David Carlier) Fix undefined behavior in php_set_inet6_addr. (ilutov)
SPL
Fixed bug GH-8121 (SplFileObject - seek and key with csv file inconsistent). (cmb) Fixed bug GH-8192 (Cannot override DirectoryIterator::current() without return typehint in 8.1). (Nikita)
Standard
Fixed bug GH-8048 (Force macOS to use statfs). (risner)
← Previous release: PHP 8.1.4 Next release: PHP 8.1.6 →
This list comes from the NEWS file that the PHP developers keep with the PHP source code, and the same list is also published on php.net .
Related articles
Useful articles to help you determine if you need to upgrade your server's PHP version and how to go about doing so.
Read more →
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.
Read more →
← Back to Guide Index
Article last updated: 21st October, 2026