PHP 7.0.4 came out on 3 March 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.
The changes are listed in English, exactly as the PHP developers wrote them (26 in total).
Core
Fixed bug (Low probability segfault in zend_arena). (Laruence) Fixed bug #71441 (Typehinted Generator with return in try/finally crashes). (Bob) Fixed bug #71442 (forward_static_call crash). (Laruence) Fixed bug #71443 (Segfault using built-in webserver with intl using symfony). (Laruence) Fixed bug #71449 (An integer overflow bug in php_implode()). (Stas) Fixed bug #71450 (An integer overflow bug in php_str_to_str_ex()). (Stas) Fixed bug #71474 (Crash because of VM stack corruption on Magento2). (Dmitry) Fixed bug #71485 (Return typehint on internal func causes Fatal error when it throws exception). (Laruence) Fixed bug #71529 (Variable references on array elements don't work when using count). (Nikita) Fixed bug #71601 (finally block not executed after yield from). (Bob) Fixed bug #71637 (Multiple Heap Overflow due to integer overflows in xml/filter_url/addcslashes). (CVE-2016-4344 , CVE-2016-4345 , CVE-2016-4346 ) (Stas)
CLI server
Fixed bug #71559 (Built-in HTTP server, we can download file in web by bug). (Johannes, Anatol)
CURL
Fixed bug #71523 (Copied handle with new option CURLOPT_HTTPHEADER crashes while curl_multi_exec). (Laruence) Fixed memory leak in curl_getinfo(). (Leigh)
Date
Fixed bug #71525 (Calls to date_modify will mutate timelib_rel_time, causing date_date_set issues). (Sean DuBois)
Fileinfo
Fixed bug #71434 (finfo throws notice for specific python file). (Laruence)
FPM
Fixed bug #62172 (FPM not working with Apache httpd 2.4 balancer/fcgi setup). (Matt Haught, Remi) Fixed bug #71269 (php-fpm dumped core). (Mickaël)
Opcache
Fixed bug #71584 (Possible use-after-free of ZCG(cwd) in Zend Opcache). (Yussuf Khalil)
PCRE
Fixed bug #71537 (PCRE segfault from Opcache). (Laruence)
phpdbg
Fixed inherited functions from unspecified files being included in phpdbg_get_executable(). (Bob)
SOAP
Fixed bug #71610 (Type Confusion Vulnerability - SOAP / make_http_soap_request()). (CVE-2016-3185 ) (Stas)
Standard
Fixed bug #71603 (compact() maintains references in php7). (Laruence) Fixed bug #70720 (strip_tags improper php code parsing). (Julien)
XMLRPC
Fixed bug #71501 (xmlrpc_encode_request ignores encoding option). (Hieu Le)
Zip
Fixed bug #71561 (NULL pointer dereference in Zip::ExtractTo). (Laruence)
← Previous release: PHP 7.0.3 Next release: PHP 7.0.5 →
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