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

PHP 5.4.8 came out on 18 October 2012. Below is the full list of changes it made, grouped by the part of PHP that each one affects.

What changed in PHP 5.4.8

All PHP 5.4 releases

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

CLI server

  • Implemented FR #63242 (Default error page in PHP built-in web server uses outdated html/css). (pascal.chevrel@free.fr)
  • Changed response to unknown HTTP method to 501 according to RFC. (Niklas Lindgren).
  • Support HTTP PATCH method. Patch by Niklas Lindgren, GitHub PR #190. (Lars)

Core

  • Fixed bug #63219 (Segfault when aliasing trait method when autoloader throws excpetion). (Laruence)
  • Added optional second argument for assert() to specify custom message. Patch by Lonny Kapelushnik (lonny@lonnylot.com). (Lars)
  • Support building PHP with the native client toolchain. (Stuart Langley)
  • Added --offline option for tests. (Remi)
  • Fixed bug #63162 (parse_url does not match password component). (husman)
  • Fixed bug #63111 (is_callable() lies for abstract static method). (Dmitry)
  • Fixed bug #63093 (Segfault while load extension failed in zts-build). (Laruence)
  • Fixed bug #62976 (Notice: could not be converted to int when comparing some builtin classes). (Laruence)
  • Fixed bug #62955 (Only one directive is loaded from "Per Directory Values" Windows registry). (aserbulov at parallels dot com)
  • Fixed bug #62907 (Double free when use traits). (Dmitry)
  • Fixed bug #61767 (Shutdown functions not called in certain error situation). (Dmitry)
  • Fixed bug #60909 (custom error handler throwing Exception + fatal error = no shutdown function). (Dmitry)
  • Fixed bug #60723 (error_log error time has changed to UTC ignoring default timezone). (Laruence)

cURL

  • Fixed bug #62085 (file_get_contents a remote file by Curl wrapper will cause cpu Soaring). (Pierrick)

Date

  • Fixed bug #62896 ("DateTime->modify('+0 days')" modifies DateTime object) (Lonny Kapelushnik)
  • Fixed bug #62561 (DateTime add 'P1D' adds 25 hours). (Lonny Kapelushnik)

DOM

  • Fixed bug #63015 (Incorrect arginfo for DOMErrorHandler). (Rob)

FPM

  • Fixed bug #62954 (startup problems fpm / php-fpm). (fat)
  • Fixed bug #62886 (PHP-FPM may segfault/hang on startup). (fat)
  • Fixed bug #63085 (Systemd integration and daemonize). (remi, fat)
  • Fixed bug #62947 (Unneccesary warnings on FPM). (fat)
  • Fixed bug #62887 (Only /status?plain&full gives "last request cpu"). (fat)
  • Fixed bug #62216 (Add PID to php-fpm init.d script). (fat)

OCI8

  • Fixed bug #60901 (Improve "tail" syntax for AIX installation) (Chris Jones)

OpenSSL

  • Implemented FR #61421 (OpenSSL signature verification missing RMD160, SHA224, SHA256, SHA384, SHA512). (Mark Jones)

PDO

  • Fixed bug #63258 (seg fault with PDO and dblib using DBSETOPT(H->link, DBQUOTEDIDENT, 1)). (Laruence)
  • Fixed bug #63235 (buffer overflow in use of SQLGetDiagRec). (Martin Osvald, Remi)

PDO Firebird

  • Fixed bug #63214 (Large PDO Firebird Queries). (james at kenjim dot com)
  • SOAP
  • Fixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice). (Dmitry)

SPL

  • Bug #62987 (Assigning to ArrayObject[null][something] overrides all undefined variables). (Laruence)

mbstring

  • Allow passing null as a default value to mb_substr() and mb_strcut(). Patch by Alexander Moskaliov via GitHub PR #133. (Lars)

Filter extension

  • Bug #49510: Boolean validation fails with FILTER_NULL_ON_FAILURE with empty string or false. (Lars)
  • Sockets
  • Fixed bug #63000 (MCAST_JOIN_GROUP on OSX is broken, merge of PR 185 by Igor Wiedler). (Lars)

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