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

PHP 5.6.6 came out on 19 February 2015. Below is the full list of changes it made, grouped by the part of PHP that each one affects.

What changed in PHP 5.6.6

All PHP 5.6 releases

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

Core

  • Removed support for multi-line headers, as the are deprecated by RFC 7230. (Stas)
  • Fixed bug #67068 (getClosure returns somethings that's not a closure). (Danack at basereality dot com)
  • Fixed bug #68942 (Use after free vulnerability in unserialize() with DateTimeZone). (CVE-2015-0273) (Stas)
  • Fixed bug #68925 (Mitigation for CVE-2015-0235 – GHOST: glibc gethostbyname buffer overflow). (Stas)
  • Fixed Bug #67988 (htmlspecialchars() does not respect default_charset specified by ini_set) (Yasuo)
  • Added NULL byte protection to exec, system and passthru. (Yasuo)

Dba

  • Fixed bug #68711 (useless comparisons). (bugreports at internot dot info)

Enchant

  • Fixed bug #68552 (heap buffer overflow in enchant_broker_request_dict()). (CVE-2014-9705) (Antony)

Fileinfo

  • Fixed bug #68827 (Double free with disabled ZMM). (Joshua Rogers)
  • Fixed bug #67647 (Bundled libmagic 5.17 does not detect quicktime files correctly). (Anatol)
  • Fixed bug #68731 (finfo_buffer doesn't extract the correct mime with some gifs). (Anatol)

FPM

  • Fixed bug #66479 (Wrong response to FCGI_GET_VALUES). (Frank Stolle)
  • Fixed bug #68571 (core dump when webserver close the socket). (redfoxli069 at gmail dot com, Laruence)

JSON

  • Fixed bug #50224 (json_encode() does not always encode a float as a float) by adding JSON_PRESERVE_ZERO_FRACTION. (Juan Basso)

LIBXML

  • Fixed bug #64938 (libxml_disable_entity_loader setting is shared between threads). (Martin Jansen)

Mysqli

  • Fixed bug #68114 (linker error on some OS X machines with fixed width decimal support) (Keyur Govande)
  • Fixed bug #68657 (Reading 4 byte floats with Mysqli and libmysqlclient has rounding errors) (Keyur Govande)

Opcache

  • Fixed bug with try blocks being removed when extended_info opcode generation is turned on. (Laruence)

PDO_mysql

  • Fixed bug #68750 (PDOMysql with mysqlnd does not allow the usage of named pipes). (steffenb198 at aol dot com)

Phar

Pgsql

  • Fixed Bug #65199 (pg_copy_from() modifies input array variable) (Yasuo)

Session

  • Fixed bug #68941 (mod_files.sh is a bash-script) (bugzilla at ii.nl, Yasuo)
  • Fixed Bug #66623 (no EINTR check on flock) (Yasuo)
  • Fixed bug #68063 (Empty session IDs do still start sessions) (Yasuo)

Sqlite3

  • Fixed bug #68260 (SQLite3Result::fetchArray declares wrong required_num_args). (Julien)

Standard

  • Fixed bug #65272 (flock() out parameter not set correctly in windows). (Daniel Lowrey)
  • Fixed bug #69033 (Request may get env. variables from previous requests if PHP works as FastCGI). (Anatol)

Streams

  • Fixed bug which caused call after final close on streams filter. (Bob)

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