×
UpdatePHP Pro Log in Register
PHP expiry alert : PHP v8.1 has recently expired. Is your website still running this version? Click here for more details
SAFE versions of PHP: 8.5.12, 8.4.27, 8.3.36, 8.2.35
☰

PHP 7.2.8 release notes: what changed

PHP 7.2.8 came out on 19 July 2018. 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 7.2 no longer gets any updates. If your site still runs on PHP 7.2, it should be moved to a version of PHP that is still supported.

What changed in PHP 7.2.8

All PHP 7.2 releases

The changes are listed in English, exactly as the PHP developers wrote them (20 in total).

Core

  • Fixed bug #76534 (PHP hangs on 'illegal string offset on string references with an error handler). (Laruence)
  • Fixed bug #76520 (Object creation leaks memory when executed over HTTP). (Nikita)
  • Fixed bug #76502 (Chain of mixed exceptions and errors does not serialize properly). (Nikita)

Date

  • Fixed bug #76462 (Undefined property: DateInterval::$f). (Anatol)

EXIF

  • Fixed bug #76409 (heap use after free in _php_stream_free). (cmb)
  • Fixed bug #76423 (Int Overflow lead to Heap OverFlow in exif_thumbnail_extract of exif.c). (Stas)
  • Fixed bug #76557 (heap-buffer-overflow (READ of size 48) while reading exif data). (Stas)

FPM

  • Fixed bug #73342 (Vulnerability in php-fpm by changing stdin to non-blocking). (Nikita)

GMP

  • Fixed bug #74670 (Integer Underflow when unserializing GMP and possible other classes). (Nikita)

intl

  • Fixed bug #76556 (get_debug_info handler for BreakIterator shows wrong type). (cmb)

mbstring

  • Fixed bug #76532 (Integer overflow and excessive memory usage in mb_strimwidth). (MarcusSchwarz)

Opcache

  • Fixed bug #76477 (Opcache causes empty return value). (Nikita, Laruence)

PGSQL

  • Fixed bug #76548 (pg_fetch_result did not fetch the next row). (Anatol)

phpdbg

  • Fix arginfo wrt. optional/required parameters. (cmb)

Reflection

  • Fixed bug #76536 (PHP crashes with core dump when throwing exception in error handler). (Laruence)
  • Fixed bug #75231 (ReflectionProperty#getValue() incorrectly works with inherited classes). (Nikita)

Standard

  • Fixed bug #76505 (array_merge_recursive() is duplicating sub-array keys). (Laruence)
  • Fixed bug #71848 (getimagesize with $imageinfo returns false). (cmb)

Win32

  • Fixed bug #76459 (windows linkinfo lacks openbasedir check). (Anatol)

ZIP

  • Fixed bug #76461 (OPSYS_Z_CPM defined instead of OPSYS_CPM). (Dennis Birkholz, Remi)

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.

Back to Guide Index
Article last updated: 21st October, 2026