Home » Releases » 5.4 » 5.4.45 »

PHP 5.4.7

PHP 5.4 is no longer officially supported by the PHP project.

Official support refers to that provided direct by the PHP Project.

If you install PHP via third-party packages, support timelines may be different. Please read the Release Support Policy for more information.

The latest release of PHP 5.4 is 5.4.45.

Source Code

Change Log

  • core

    • Fixed bug (segfault while build with zts and GOTO vm-kind).
      Laruence
    • Fixed bug #62844 (parse_url() does not recognize //). (Andrew Faulds).
    • Fixed bug #62829 (stdint.h included on platform where HAVE_STDINT_H is not set).
      Felipe
    • Fixed bug #62763 (register_shutdown_function and extending class).
      Laruence
    • Fixed bug #62725 (Calling exit() in a shutdown function does not return the exit value).
      Laruence
    • Fixed bug #62744 (dangling pointers made by zend_disable_class).
      Laruence
    • Fixed bug #62716 (munmap() is called with the incorrect length).
      slangley@google.com
    • Fixed bug #62358 (Segfault when using traits a lot).
      Laruence
    • Fixed bug #62328 (implementing __toString and a cast to string fails) (Laruence)
    • Fixed bug #51363 (Fatal error raised by var_export() not caught by error handler).
      Lonny Kapelushnik
    • Fixed bug #40459 (Stat and Dir stream wrapper methods do not call constructor).
      Stas
  • curl

    • Fixed bug #62912 (CURLINFO_PRIMARY_* AND CURLINFO_LOCAL_* not exposed).
      Pierrick
    • Fixed bug #62839 (curl_copy_handle segfault with CURLOPT_FILE).
      Pierrick
  • intl

    • Fixed Spoofchecker not being registered on ICU 49.1.
      Gustavo
    • Fix bug #62933 (ext/intl compilation error on icu 3.4.1).
      Gustavo
    • Fix bug #62915 (defective cloning in several intl classes).
      Gustavo
  • installation

    • Fixed bug #62460 (php binaries installed as binary.dSYM).
      Reeze Xia
  • pcre

    • Fixed bug #55856 (preg_replace should fail on trailing garbage).
      reg dot php at alf dot nu
  • pdo

    • Fixed bug #62685 (Wrong return datatype in PDO::inTransaction()).
      Laruence
  • reflection

    • Fixed bug #62892 (ReflectionClass::getTraitAliases crashes on importing trait methods as private).
      Felipe
    • Fixed bug #62715 (ReflectionParameter::isDefaultValueAvailable() wrong result).
      Laruence
  • session

    • Fixed bug (segfault due to retval is not initialized).
      Laruence
    • Fixed bug (segfault due to PS(mod_user_implemented) not be reseted when close handler call exit).
      Laruence
  • soap

    • Fixed bug #50997 (SOAP Error when trying to submit 2nd Element of a choice).
      Dmitry
  • spl

    • Fixed bug #62904 (Crash when cloning an object which inherits SplFixedArray) (Laruence)
    • Implemented FR #62840 (Add sort flag to ArrayObject::ksort).
      Laruence
  • standard

    • Fixed bug #62836 (Seg fault or broken object references on unserialize()).
      Laruence
  • fpm

    • Merged PR 121 by minitux to add support for slow request counting on PHP FPM status page.
      Lars

PHP 5.4


  Represents a security release