×
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.0.8 release notes: what changed

PHP 7.0.8 came out on 23 June 2016. 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.0 no longer gets any updates. If your site still runs on PHP 7.0, it should be moved to a version of PHP that is still supported.

What changed in PHP 7.0.8

All PHP 7.0 releases

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

Core

  • Fixed bug #72218 (If host name cannot be resolved then PHP 7 crashes). (Esminis at esminis dot lt)
  • Fixed bug #72221 (segfault, past-the-end access). (Lauri Kenttä)
  • Fixed bug #72268 (Integer Overflow in nl2br()). (Stas)
  • Fixed bug #72275 (Integer Overflow in json_encode()/json_decode()/ json_utf8_to_utf16()). (Stas)
  • Fixed bug #72400 (Integer Overflow in addcslashes/addslashes). (Stas)
  • Fixed bug #72403 (Integer Overflow in Length of String-typed ZVAL). (Stas)

Date

  • Fixed bug #63740 (strtotime seems to use both sunday and monday as start of week). (Derick)

FPM

  • Fixed bug #72308 (fastcgi_finish_request and logging environment variables). (Laruence)

GD

  • Fixed bug #66387 (Stack overflow with imagefilltoborder). (CVE-2015-8874) (cmb)
  • Fixed bug #72298 (pass2_no_dither out-of-bounds access). (Stas)
  • Fixed bug #72337 (invalid dimensions can lead to crash). (Pierre)
  • Fixed bug #72339 (Integer Overflow in _gd2GetHeader() resulting in heap overflow). (CVE-2016-5766) (Pierre)
  • Fixed bug #72407 (NULL Pointer Dereference at _gdScaleVert). (Stas)
  • Fixed bug #72446 (Integer Overflow in gdImagePaletteToTrueColor() resulting in heap overflow). (CVE-2016-5767) (Pierre)

Intl

  • Fixed bug #70484 (selectordinal doesn't work with named parameters). (Anatol)

mbstring

mcrypt

OpenSSL

  • Fixed bug #72140 (segfault after calling ERR_free_strings()). (Jakub Zelenka)

PCRE

  • Fixed bug #72143 (preg_replace uses int instead of size_t). (Joe)

PDO_pgsql

  • Fixed bug #71573 (Segfault (core dumped) if paramno beyond bound). (Laruence)
  • Fixed bug #72294 (Segmentation fault/invalid pointer in connection with pgsql_stmt_dtor). (Anatol)

Phar

  • Fixed bug #72321 (invalid free in phar_extract_file()). (hji at dyntopia dot com)

Phpdbg

  • Fixed bug #72284 (phpdbg fatal errors with coverage). (Bob)

Postgres

  • Fixed bug #72195 (pg_pconnect/pg_connect cause use-after-free). (Laruence)
  • Fixed bug #72197 (pg_lo_create arbitrary read). (Anatol)

Standard

  • Fixed bug #72369 (array_merge() produces references in PHP7). (Dmitry)
  • Fixed bug #72300 (ignore_user_abort(false) has no effect). (Laruence)
  • Fixed bug #72229 (Wrong reference when serialize/unserialize an object). (Laruence)
  • Fixed bug #72193 (dns_get_record returns array containing elements of type 'unknown'). (Laruence)
  • Fixed bug #72017 (range() with float step produces unexpected result). (Thomas Punt)

WDDX

XML

  • Fixed bug #72206 (xml_parser_create/xml_parser_free leaks mem). (Joe)

XMLRPC

  • Fixed bug #72155 (use-after-free caused by get_zval_xmlrpc_type). (Joe, Laruence)

Zip

  • Fixed ug #72258 (ZipArchive converts filenames to unrecoverable form). (Anatol)
  • Fixed bug #72434 (ZipArchive class Use After Free Vulnerability in PHP's GC algorithm and unserialize). (CVE-2016-5773) (Dmitry)

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