|
1 | 1 | PHP NEWS |
2 | 2 | ||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||| |
| 3 | +27 Aug 2026, PHP 8.5.10 |
| 4 | + |
| 5 | +- Core: |
| 6 | + . Fixed bug GH-22782 (Const expr FCC crashes under preloading). (Arnaud) |
| 7 | + . Fixed bug GH-23088 (Stack overflow when comparing deeply nested arrays). |
| 8 | + (Lazizbek Ergashev) |
| 9 | + |
| 10 | +- Date: |
| 11 | + . Fixed leak on double DatePeriod::__construct() call. (ilutov) |
| 12 | + |
| 13 | +- DOM: |
| 14 | + . Fixed bug GH-23116 (Stack overflow when normalizing a deeply nested |
| 15 | + DOMDocument). (Lazizbek Ergashev) |
| 16 | + . Fixed bug GH-23117 (Stack overflow when normalizing a deeply nested |
| 17 | + Dom\XMLDocument). (Lazizbek Ergashev) |
| 18 | + . Fixed bug GH-22825 (DOMElement::setAttribute() fails silently when the DTD |
| 19 | + declares a default value for the attribute). (iliaal) |
| 20 | + . Fixed bug GH-23120 (Stack overflow when comparing deeply nested DOM nodes |
| 21 | + with DOMNode::isEqualNode()). (Weilin Du) |
| 22 | + |
| 23 | +- Exif: |
| 24 | + . Fixed exif_read_data() allocating a HEIF meta box larger than the file |
| 25 | + it came from. (iliaal) |
| 26 | + |
| 27 | +- Intl: |
| 28 | + . Fixed IntlListFormatter::__construct() leaving stale global error state |
| 29 | + after successful calls. (Weilin Du) |
| 30 | + |
| 31 | +- Opcache: |
| 32 | + . Fixed GH-22693 (DT_TEXTREL in JIT-generated TLS access on x86_64). |
| 33 | + (David Carlier) |
| 34 | + . Fixed bug GH-22763 (JIT fails to clear ZREG_TYPE_ONLY after setting reg). |
| 35 | + (Arnaud) |
| 36 | + . Fixed bug GH-22857 (Function JIT emits wrong code for FETCH_OBJ_FUNC_ARG on |
| 37 | + a property hook getter, losing register-held variables). (Zhao Hao) |
| 38 | + . Fixed bug GH-22916 (Preserve parent regs in zend_jit_deoptimizer_start()). |
| 39 | + (Arnaud) |
| 40 | + |
| 41 | +- OpenSSL: |
| 42 | + . Fix missing error check on invalid alpn protocols. (ndossche) |
| 43 | + |
| 44 | +- MBString: |
| 45 | + . Fixed bug GH-22779 (mb_strrpos() returns the wrong position for a negative |
| 46 | + offset in a non-UTF-8 encoding). (Eyüp Can Akman) |
| 47 | + . Fixed bug GH-21036 (mb_ereg_search_getregs() crashes after mb_eregi() |
| 48 | + invalidates the regex cache). (Matthias Goergens) |
| 49 | + |
| 50 | +- PCRE: |
| 51 | + . Fixed bug GH-21134 (Crash with \C + UTF-8). Using \C in UTF-8 patterns is |
| 52 | + now forbidden. (Arnaud) |
| 53 | + |
| 54 | +- PDO_ODBC: |
| 55 | + . Fixed bug GH-23016 (NULL values in long columns come back as garbage |
| 56 | + binary strings). (Calvin Buckley, iliaal) |
| 57 | + |
| 58 | +- PDO_PGSQL: |
| 59 | + . Fixed several lazy fetch (PDO::ATTR_PREFETCH => 0) defects: an infinite |
| 60 | + loop when cleaning up a fetch left in a COPY, a use-after-free when a |
| 61 | + statement with emulated or disabled prepares is destroyed, a connection |
| 62 | + left busy for the next fetch, and rows delivered from a result another |
| 63 | + statement took over. (KentarouTakeda) |
| 64 | + |
| 65 | +- Reflection: |
| 66 | + . Fixed bug GH-22905 (Reflection exception messages truncate on null bytes). |
| 67 | + (DanielEScherzer) |
| 68 | + . Fixed ReflectionProperty::isLazy() and skipLazyInitialization() using the |
| 69 | + parent slot when a child class hooks an inherited property. (iliaal) |
| 70 | + . Fixed segfault in ReflectionMethod::createFromMethodName() on an |
| 71 | + uninstantiable subclass. (iliaal) |
| 72 | + |
| 73 | +- Session: |
| 74 | + . Fix corruption in mod_mm. (ndossche) |
| 75 | + . Fixed bug GH-23043 (broken session id code can cause zend_mm_heap |
| 76 | + corrupted). (ndossche) |
| 77 | + |
| 78 | +- SimpleXML: |
| 79 | + . Fixed integer element offsets that cannot resolve aliasing an existing |
| 80 | + element. (iliaal) |
| 81 | + . Fixed segfault when comparing uninitialized SimpleXMLElement |
| 82 | + instances. (iliaal) |
| 83 | + |
| 84 | +- Sockets: |
| 85 | + . Fixed socket_set_option() validation error messages for UDP_SEGMENT and |
| 86 | + SO_LINGER options. (Weilin Du) |
| 87 | + . Fixed various memory related issues in ext/sockets. (David Carlier) |
| 88 | + |
| 89 | +- SQLite: |
| 90 | + . Fix leak when trying to close db if blob stream is still open. (ndossche) |
| 91 | + |
| 92 | +- Standard: |
| 93 | + . Fixed bug GH-23111 (Stack overflow in array_walk_recursive() with deeply |
| 94 | + nested arrays). (Lazizbek Ergashev) |
| 95 | + . Fixed bug GH-23113 (Stack overflow in array_replace_recursive() with deeply |
| 96 | + nested arrays). (Lazizbek Ergashev) |
| 97 | + . Fixed bug GH-23115 (Stack overflow in compact() with deeply nested |
| 98 | + arrays). (Lazizbek Ergashev) |
| 99 | + |
| 100 | +- Streams: |
| 101 | + . Fixed bug GH-15836 (Use-after-free when a user stream filter accesses |
| 102 | + $this->stream during the close flush). (iliaal) |
| 103 | + |
| 104 | +- XSL: |
| 105 | + . Fixed use-after-free when a DOMDocument subclass __clone() retains the |
| 106 | + stylesheet copy made by XSLTProcessor::importStylesheet(). (iliaal) |
| 107 | + |
3 | 108 | 30 Jul 2026, PHP 8.5.9 |
4 | 109 |
|
5 | 110 | - Core: |
|
0 commit comments