Version History of PHP 5.5.1

Core:

  • Fixed bug #65254 (Exception not catchable when exception thrown in autoload with a namespace).
  • Fixed bug #65088 (Generated configure script is malformed on OpenBSD).
  • Fixed bug #65108 (is_callable() triggers Fatal Error).
  • Fixed bug #65035 (yield / exit segfault).
  • Fixed bug #65161 (Generator + autoload + syntax error = segfault).
  • Fixed bug #65226 (chroot() does not get enabled).
  • hex2bin() raises E_WARNING for invalid hex string.

OPcache:

  • Fixed bug #64827 (Segfault in zval_mark_grey (zend_gc.c)).
  • OPcache is now compatible with LiteSpeed SAPI.

CGI:

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

CLI server:

  • Fixed bug #65066 (Cli server not responsive when responding with 422 http status code).
  • DateTime:
  • Fixed bug #65184 (strftime() returns insufficient-length string under multibyte locales).

GD:

  • Fixed bug #65070 (bgcolor does not use the same format as the input image with imagerotate).
  • Fixed bug #65060 (imagecreatefrom... crashes with user streams).
  • Fixed bug #65084 (imagecreatefromjpeg fails with URL).
  • Fix gdImageCreateFromWebpCtx and use same logic to load WebP image that other formats.

Intl:

  • Add IntlCalendar::setMinimalDaysInFirstWeek()/intlcal_set_minimal_days_in_first_week().
  • Fixed trailing space in name of constant IntlCalendar::FIELD_FIELD_COUNT.
  • Fixed bug #62759 (Buggy grapheme_substr() on edge case).
  • Fixed bug #61860 (Offsets may be wrong for grapheme_stri* functions).

OCI8:

  • Bump PECL package info version check to allow PECL installs with PHP 5.5+.

PDO:

  • Allowed PDO_OCI to compile with Oracle Database 12c client libraries.

Pgsql:

  • pg_unescape_bytea() raises E_WARNING for invalid inputs.

Phar:

  • Fixed bug #65142 (Missing phar man page).

Session:

  • Added optional create_sid() argument to session_set_save_handler(), SessionHandler and new SessionIdInterface.

Sockets:

  • #63472Setting SO_BINDTODEVICE with socket_set_option.
  • Allowed specifying paths in the abstract namespace for the functions socket_bind(), socket_connect() and socket_sendmsg().
  • Fixed bug #65260sendmsg() ancillary data construction for SCM_RIGHTS is faulty.

SPL:

  • Fixed bug #65136RecursiveDirectoryIterator segfault.
  • Fixed bug #61828Memleak when calling Directory(Recursive)Iterator/Spl(Temp)FileObject ctor twice.

CGI/FastCGI SAPI:

  • Added PHP_FCGI_BACKLOG, overrides the default listen backlog.