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

PHP 7.0.3 came out on 4 February 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.3

All PHP 7.0 releases

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

Core

  • Added support for new HTTP 451 code. (Julien)
  • Fixed bug #71039 (exec functions ignore length but look for NULL termination). (Anatol)
  • Fixed bug #71089 (No check to duplicate zend_extension). (Remi)
  • Fixed bug #71201 (round() segfault on 64-bit builds). (Anatol)
  • Fixed bug #71221 (Null pointer deref (segfault) in get_defined_vars via ob_start). (hugh at allthethings dot co dot nz)
  • Fixed bug #71248 (Wrong interface is enforced). (Dmitry)
  • Fixed bug #71273 (A wrong ext directory setup in php.ini leads to crash). (Anatol)
  • Fixed Bug #71275 (Bad method called on cloning an object having a trait). (Bob)
  • Fixed bug #71297 (Memory leak with consecutive yield from). (Bob)
  • Fixed bug #71300 (Segfault in zend_fetch_string_offset). (Laruence)
  • Fixed bug #71314 (var_export(INF) prints INF.0). (Andrea)
  • Fixed bug #71323 (Output of stream_get_meta_data can be falsified by its input). (Leo Gaspard)
  • Fixed bug #71336 (Wrong is_ref on properties as exposed via get_object_vars()). (Laruence)
  • Fixed bug #71459 (Integer overflow in iptcembed()). (Stas)

Apache2handler

  • Fix >2G Content-Length headers in apache2handler. (Adam Harvey)

CURL

  • Fixed bug #71227 (Can't compile php_curl statically). (Anatol)
  • Fixed bug #71225 (curl_setopt() fails to set CURLOPT_POSTFIELDS with reference to CURLFile). (Laruence)

GD

  • Improved fix for bug #70976. (Remi)

Interbase

  • Fixed Bug #71305 (Crash when optional resource is omitted). (Laruence, Anatol)

LDAP

  • Fixed bug #71249 (ldap_mod_replace/ldap_mod_add store value as string "Array"). (Laruence)

mbstring

  • Fixed bug #71397 (mb_send_mail segmentation fault). (Andrea, Yasuo)

OpenSSL

  • Fixed bug #71475 (openssl_seal() uninitialized memory usage). (Stas)

Phar

  • Fixed bug #71354 (Heap corruption in tar/zip/phar parser). (CVE-2016-4342) (Stas)
  • Fixed bug #71331 (Uninitialized pointer in phar_make_dirstream()). (CVE-2016-4343) (Stas)
  • Fixed bug #71391 (NULL Pointer Dereference in phar_tar_setupmetadata()). (Stas)
  • Fixed bug #71488 (Stack overflow when decompressing tar archives). (CVE-2016-2554) (Stas)

SOAP

  • Fixed bug #70979 (crash with bad soap request). (Anatol)

SPL

  • Fixed bug #71204 (segfault if clean spl_autoload_funcs while autoloading). (Laruence)
  • Fixed bug #71202 (Autoload function registered by another not activated immediately). (Laruence)
  • Fixed bug #71311 (Use-after-free vulnerability in SPL(ArrayObject, unserialize)). (Sean Heelan)
  • Fixed bug #71313 (Use-after-free vulnerability in SPL(SplObjectStorage, unserialize)). (Sean Heelan)

Standard

  • Fixed bug #71287 (Error message contains hexadecimal instead of decimal number). (Laruence)
  • Fixed bug #71264 (file_put_contents() returns unexpected value when filesystem runs full). (Laruence)
  • Fixed bug #71245 (file_get_contents() ignores "header" context option if it's a reference). (Laruence)
  • Fixed bug #71220 (Null pointer deref (segfault) in compact via ob_start). (hugh at allthethings dot co dot nz)
  • Fixed bug #71190 (substr_replace converts integers in original $search array to strings). (Laruence)
  • Fixed bug #71188 (str_replace converts integers in original $search array to strings). (Laruence)
  • Fixed bug #71132, #71197 (range() segfaults). (Thomas Punt)

WDDX

  • Fixed bug #71335 (Type Confusion in WDDX Packet Deserialization). (Stas)

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