Version History of PHP 5.4.1

  • CLI Server
    • Fixed bug #61461 (missing checks around malloc() calls).
    • Implemented #60850 (Built in web server does not set $_SERVER['SCRIPT_FILENAME'] when using router).
  • Core
    • Fixed crash in ZTS using same class in many threads.
    • Fixed bug #61374 (html_entity_decode tries to decode code points that don't exist in ISO-8859-1).
    • Fixed bug #61225 (Incorrect lexing of 0b00*+<NUM>).
    • Fixed bug #61106 (Segfault when using header_register_callback).
    • Fixed bug #61052 (Missing error check in trait 'insteadof' clause).
    • Fixed bug #61011 (Crash when an exception is thrown by __autoload accessing a static property).
    • Fixed bug #60978 (exit code incorrect).
    • Fixed bug #60911 (Confusing error message when extending traits).
    • Fixed bug #60717 (Order of traits in use statement can cause a fatal error).
    • Fixed bug #60573 (type hinting with "self" keyword causes weird errors).
  • Fileinfo
    • Fix fileinfo test problems.
  • Intl
    • Fixed bug #61487 (Incorrent bounds checking in grapheme_strpos).
  • mbstring
    • MFH mb_ereg_replace_callback() for security enhancements.
  • mysqlnd
    • Fixed bug #60948 (mysqlnd FTBFS when -Wformat-security is enabled).
  • Standard
    • Fixed memory leak in substr_replace.
    • Make max_file_uploads ini directive settable outside of php.
    • Fixed bug #61409 (Bad formatting on phpinfo()).
    • Fixed bug #60222 (time_nanosleep() does validate input params).
    • Fixed bug #60106 (stream_socket_server silently truncates long unix socket paths).