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

PHP 5.4.18 came out on 4 July 2013. 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.18

All PHP 5.4 releases

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

Core

  • Fixed value of FILTER_SANITIZE_FULL_SPECIAL_CHARS constant (previously was erroneously set to FILTER_SANITIZE_SPECIAL_CHARS value). (Andrey avp200681 gmail com).
  • Fixed bug #65254 (Exception not catchable when exception thrown in autoload with a namespace). (Laruence)
  • Fixed bug #65108 (is_callable() triggers Fatal Error). (David Soria Parra, Laruence)
  • Fixed bug #65088 (Generated configure script is malformed on OpenBSD). (Adam)
  • Fixed bug #62964 (Possible XSS on "Registered stream filters" info). (david at nnucomputerwhiz dot com)
  • Fixed bug #62672 (Error on serialize of ArrayObject). (Lior Kaplan)
  • Fixed bug #62475 (variant_* functions causes crash when null given as an argument). (Felipe)
  • Fixed bug #60732 (php_error_docref links to invalid pages). (Jakub Vrana)
  • Fixed bug #65226 (chroot() does not get enabled). (Anatol)

CGI

  • Fixed Bug #65143 (Missing php-cgi man page). (Remi)

CLI server

  • Fixed bug #65066 (Cli server not responsive when responding with 422 http status code). (Adam)

CURL

  • Fixed bug #62665 (curl.cainfo doesn't appear in php.ini). (Lior Kaplan)

FPM

  • Fixed bug #63983 (enabling FPM borks compile on FreeBSD). (chibisuke at web dot de, Felipe)

FTP

  • Fixed bug #65228 (FTPs memory leak with SSL). (marco dot beierer at mbsecurity dot ch)

GMP

  • Fixed bug #65227 (Memory leak in gmp_cmp second parameter). (Felipe)

Imap

  • Fixed bug #64467 (Segmentation fault after imap_reopen failure). (askalski at gmail dot com)

Intl

  • Fixed bug #62759 (Buggy grapheme_substr() on edge case). (Stas)
  • Fixed bug #61860 (Offsets may be wrong for grapheme_stri* functions). (Stas)

mysqlnd

  • Fixed segfault in mysqlnd when doing long prepare. (Andrey)

ODBC

  • Fixed bug #61387 (NULL valued anonymous column causes segfault in odbc_fetch_array). (Brandon Kirsch)

Openssl

  • Fixed handling null bytes in subjectAltName (CVE-2013-4248). (Christian Heimes)

PDO

  • Allowed PDO_OCI to compile with Oracle Database 12c client libraries. (Chris Jones)

PDO_dblib

  • Fixed bug #65219 (PDO/dblib not working anymore ("use dbName" not sent)). (Stanley Sufficool)

PDO_pgsql

  • Fixed meta data retrieve when OID is larger than 2^31. (Yasuo)

Phar

  • Fixed Bug #65142 (Missing phar man page). (Remi)
  • Session
  • Fixed bug #62535 ($_SESSION[$key]["cancel_upload"] doesn't work as documented). (Arpad)
  • Fixed bug #35703 (when session_name("123") consist only digits, should warning). (Yasuo)
  • Fixed bug #49175 (mod_files.sh does not support hash bits). Patch by oorza2k5 at gmail dot com (Yasuo)

Sockets

  • Implemented FR #63472 (Setting SO_BINDTODEVICE with socket_set_option). (Damjan Cvetko)

SPL

  • Fixed bug #65136 (RecursiveDirectoryIterator segfault). (Laruence)
  • Fixed bug #61828 (Memleak when calling Directory(Recursive)Iterator /Spl(Temp)FileObject ctor twice). (Laruence)
  • Fixed bug #60560 (SplFixedArray un-/serialize, getSize(), count() return 0, keys are strings). (Adam)

XML

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