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