PHP 8.2.12 released

PHP 8.2.12 is now released as a bug fix release. Specific updates include:

  • Core:
    • Fixed bug  GH-12207 (memory leak when class uses trait with doc block).
    • Fixed bug  GH-12215 (Module entry overwritten causing type error in ext/dom).
    • Fixed bug  GH-12273 (__builtin_cpu_init check).
    • Fixed bug  #80092 (ZTS + preload = segfault on shutdown).
  • CLI:
    • Make sure a single Date header is present.
  • CType:
    • Fixed bug  GH-11997 (ctype_alnum is 5x slower in PHP 8.1 or higher).
  • DOM:
    • Restore the old namespace coordination behavior.
    • Fixed bug  GH-8996 (DOMNode serialization on PHP ^8.1).
  • Fileinfo:
    • Fixed bug  GH-11891 (fileinfo returns text/xml for some svg files).
  • Hash:
    • Fixed bug  GH-12186 (segfault of copying/cloning finalized HashContext).
  • Intl:
    • Fixed bug GH-12243 (segfaul on IntlDateFormatter::construct).
    • Fixed bug GH-12282 (IntlDateFormatter::construct should throw exception on invalid locale).
  • MySQLnd:
    • Fixed bug  GH-12297 (PHP Startup: Invalid library (probably not a PHP library) 'mysqlnd.so' in Unknown on line).
  • PCRE:
    • Fixed bug  GH-11956 (backported upstream fix for JIT-enabled PCRE regex giving different results).
  • SimpleXML:
    • Fixed bug  GH-12170 (cannot use annotated xpath in SimpleXML).
    • Fixed bug  GH-12223 (Entity reference creates infinite loop in var_dump/print_r).
    • Fixed bug  GH-12167 (Unable to get processing directive content in SimpleXML).
    • Fixed bug  GH-12169 (Unable to get comment content in SimpleXML).
  • XML:
    • Fix return type of xml_parse_into_struct() stub.
    • Fix memory leak when xml_parse_into_struct() is called twice.

 See  ChangeLog for more details .

Guess you like

Origin www.oschina.net/news/263632/php-8-2-12-released