PHP 7.2.2 came out on 1 February 2018. 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 (25 in total).
Core
Fixed bug #75742 (potential memleak in internal classes's static members). (Laruence) Fixed bug #75679 (Path 260 character problem). (Anatol) Fixed bug #75614 (Some non-portable == in shell scripts). (jdolecek) Fixed bug #75786 (segfault when using spread operator on generator passed by reference). (Nikita) Fixed bug #75799 (arg of get_defined_functions is optional). (carusogabriel) Fixed bug #75396 (Exit inside generator finally results in fatal error). (Nikita)
FCGI
Fixed bug #75794 (getenv() crashes on Windows 7.2.1 when second parameter is false). (Anatol)
IMAP
Fixed bug #75774 (imap_append HeapCorruction). (Anatol)
Opcache
Fixed bug #75720 (File cache not populated after SHM runs full). (Dmitry) Fixed bug #75687 (var 8 (TMP) has array key type but not value type). (Nikita, Laruence) Fixed bug #75698 (Using @ crashes php7.2-fpm). (Nikita) Fixed bug #75579 (Interned strings buffer overflow may cause crash). (Dmitry)
PDO
Fixed bug #75616 (PDO extension doesn't allow to be built shared on Darwin). (jdolecek)
PDO MySQL
Fixed bug #75615 (PDO Mysql module can't be built as module). (jdolecek)
PGSQL
Fixed bug #75671 (pg_version() crashes when called on a connection to cockroach). (magicaltux at gmail dot com)
Readline
Fixed bug #75775 (readline_read_history segfaults with empty file). (Anatol)
SAPI
Fixed bug #75735 ([embed SAPI] Segmentation fault in sapi_register_post_entry). (Laruence)
SOAP
Fixed bug #70469 (SoapClient generates E_ERROR even if exceptions=1 is used). (Anton Artamonov) Fixed bug #75502 (Segmentation fault in zend_string_release). (Nikita)
SPL
Fixed bug #75717 (RecursiveArrayIterator does not traverse arrays by reference). (Nikita) Fixed bug #75242 (RecursiveArrayIterator doesn't have constants from parent class). (Nikita) Fixed bug #73209 (RecursiveArrayIterator does not iterate object properties). (Nikita)
Standard
Fixed bug #75781 (substr_count incorrect result). (Laruence) Fixed bug #75653 (array_values don't work on empty array). (Nikita)
Zip
Display headers (buildtime) and library (runtime) versions in phpinfo (with libzip >= 1.3.1). (Remi)
← Previous release: PHP 7.2.1 Next release: PHP 7.2.3 →
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