PHP 7.0.21 came out on 6 July 2017. 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.
The changes are listed in English, exactly as the PHP developers wrote them (27 in total).
Core
Fixed bug #74738 (Multiple [PATH=] and [HOST=] sections not properly parsed). (Manuel Mausz) Fixed bug #74658 (Undefined constants in array properties result in broken properties). (Laruence) Fixed misparsing of abstract unix domain socket names. (Sara) Fixed bug #74101 , bug #74614 (Unserialize Heap Use-After-Free (READ: 1) in zval_get_type). (Nikita) Fixed bug #74111 (Heap buffer overread (READ: 1) finish_nested_data from unserialize). (Nikita) Fixed bug #74603 (PHP INI Parsing Stack Buffer Overflow Vulnerability). (Stas) Fixed bug #74819 (wddx_deserialize() heap out-of-bound read via php_parse_date()). (Derick)
DOM
Fixed bug #69373 (References to deleted XPath query results). (ttoohey)
GD
Fixed bug #74435 (Buffer over-read into uninitialized memory). (cmb)
Intl
Fixed bug #73473 (Stack Buffer Overflow in msgfmt_parse_message). (libnex) Fixed bug #74705 (Wrong reflection on Collator::getSortKey and collator_get_sort_key). (Tyson Andre, Remi) Fixed bug #73634 (grapheme_strpos illegal memory access). (Stas)
OCI8
Add TAF callback (PR #2459 ). (KoenigsKind)
Opcache
Fixed bug #74663 (Segfault with opcache.memory_protect and validate_timestamp). (Laruence)
OpenSSL
Fixed bug #74651 (negative-size-param (-1) in memcpy in zif_openssl_seal()). (Stas)
PCRE
Fixed bug #74087 (Segmentation fault in PHP7.1.1(compiled using the bundled PCRE library)). (Stas)
PDO_OCI
Support Instant Client 12.2 in --with-pdo-oci configure option. (Tianfang Yang)
Reflection
Fixed bug #74673 (Segfault when cast Reflection object to string with undefined constant). (Laruence)
SPL
Fixed bug #74478 (null coalescing operator failing with SplFixedArray). (jhdxr)
Standard
Fixed bug #74708 (Invalid Reflection signatures for random_bytes and random_int). (Tyson Andre, Remi) Fixed bug #73648 (Heap buffer overflow in substr). (Stas)
FTP
Fixed bug #74598 (ftp:// wrapper ignores context arg). (Sara)
PHAR
Fixed bug #74386 (Phar::__construct reflection incorrect). (villfa)
SOAP Fixed bug #74679 (Incorrect conversion array with WSDL_CACHE_MEMORY). (Dmitry)
Streams
Fixed bug #74556 (stream_socket_get_name() returns '\0'). (Sara)
← Previous release: PHP 7.0.20 Next release: PHP 7.0.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