PHP 8.1.19 came out on 11 May 2023. 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 (12 in total).
Core
Fix inconsistent float negation in constant expressions. (ilutov) Fixed bug GH-8841 (php-cli core dump calling a badly formed function). (nielsdos) Fixed bug GH-10737 (PHP 8.1.16 segfaults on line 597 of sapi/apache2handler/sapi_apache2.c). (nielsdos, ElliotNB) Fixed bug GH-11028 (Heap Buffer Overflow in zval_undefined_cv.). (nielsdos) Fixed bug GH-11108 (Incorrect CG(memoize_mode) state after bailout in ??=). (ilutov)
DOM
Fixed bug #80602 (Segfault when using DOMChildNode::before()). (Nathan Freeman) Fixed incorrect error handling in dom_zvals_to_fragment(). (nielsdos)
Exif
Fixed bug GH-9397 (exif read : warnings and errors : Potentially invalid endianess, Illegal IFD size and Undefined index). (nielsdos)
Intl
Fixed bug GH-11071 (TZData version not displayed anymore). (Remi)
PCRE
Fixed bug GH-10968 (Segfault in preg_replace_callback_array()). (ilutov)
Standard
Fixed bug GH-10990 (mail() throws TypeError after iterating over $additional_headers array by reference). (nielsdos) Fixed bug GH-9775 (Duplicates returned by array_unique when using enums). (ilutov)
← Previous release: PHP 8.1.18 Next release: PHP 8.1.20 →
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