PHP 5.6.21 came out on 28 April 2016. 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 (19 in total).
Core
Fixed bug #69537 (__debugInfo with empty string for key gives error). (krakjoe) Fixed bug #71841 (EG(error_zval) is not handled well). (Laruence)
BCmath
Fixed bug #72093 (bcpowmod accepts negative scale and corrupts _one_ definition). (Stas)
Curl
Fixed bug #71831 (CURLOPT_NOPROXY applied as long instead of string). (Michael Sierks)
Date
Fixed bug #71889 (DateInterval::format Segmentation fault). (Thomas Punt)
EXIF
Fixed bug #72094 (Out of bounds heap read access in exif header processing). (Stas)
GD
Fixed bug #71952 (Corruption inside imageaffinematrixget). (Stas) Fixed bug #71912 (libgd: signedness vulnerability). (CVE-2016-3074 ) (Stas)
Intl
Fixed bug #72061 (Out-of-bounds reads in zif_grapheme_stripos with negative offset). (Stas)
OCI8
Fixed bug #71422 (Fix ORA-01438: value larger than specified precision allowed for this column). (Chris Jones)
ODBC
Fixed bug #63171 (Script hangs after max_execution_time). (Remi)
Opcache
Fixed bug #71843 (null ptr deref ZEND_RETURN_SPEC_CONST_HANDLER). (Laruence)
PDO
Fixed bug #52098 (Own PDOStatement implementation ignore __call()). (Daniel Kalaspuffar, Julien) Fixed bug #71447 (Quotes inside comments not properly handled). (Matteo)
Postgres
Fixed bug #71820 (pg_fetch_object binds parameters before call constructor). (Anatol)
SPL
Fixed bug #67582 (Cloned SplObjectStorage with overwritten getHash fails offsetExists()). (Nikita)
Standard
Fixed bug #71840 (Unserialize accepts wrongly data). (Ryat, Laruence) Fixed bug #67512 (php_crypt() crashes if crypt_r() does not exist or _REENTRANT is not defined). (Nikita)
XML
Fixed bug #72099 (xml_parse_into_struct segmentation fault). (Stas)
← Previous release: PHP 5.6.20 Next release: PHP 5.6.22 →
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