1<?php 2$_SERVER['BASE_PAGE'] = 'ChangeLog-8.php'; 3include_once __DIR__ . '/include/prepend.inc'; 4include_once __DIR__ . '/include/changelogs.inc'; 5 6$MINOR_VERSIONS = ['8.3', '8.2', '8.1', '8.0']; 7changelog_header(8, $MINOR_VERSIONS); 8?> 9<a id="PHP_8_3"></a> 10 11<section class="version" id="8.3.14"><!-- {{{ 8.3.14 --> 12<h3>Version 8.3.14</h3> 13<b><?php release_date('21-Nov-2024'); ?></b> 14<ul><li>CLI: 15<ul> 16 <li>Fixed bug <?php githubissuel('php/php-src', 16373); ?> (Shebang is not skipped for router script in cli-server started through shebang).</li> 17 <li>Fixed bug <?php githubsecurityl('php/php-src', '4w77-75f9-2c8w'); ?> (Heap-Use-After-Free in sapi_read_post_data Processing in CLI SAPI Interface).</li> 18</ul></li> 19<li>COM: 20<ul> 21 <li>Fixed out of bound writes to SafeArray data.</li> 22</ul></li> 23<li>Core: 24<ul> 25 <li>Fixed bug <?php githubissuel('php/php-src', 16168); ?> (php 8.1 and earlier crash immediately when compiled with Xcode 16 clang on macOS 15).</li> 26 <li>Fixed bug <?php githubissuel('php/php-src', 16371); ?> (Assertion failure in Zend/zend_weakrefs.c:646).</li> 27 <li>Fixed bug <?php githubissuel('php/php-src', 16515); ?> (Incorrect propagation of ZEND_ACC_RETURN_REFERENCE for call trampoline).</li> 28 <li>Fixed bug <?php githubissuel('php/php-src', 16509); ?> (Incorrect line number in function redeclaration error).</li> 29 <li>Fixed bug <?php githubissuel('php/php-src', 16508); ?> (Incorrect line number in inheritance errors of delayed early bound classes).</li> 30 <li>Fixed bug <?php githubissuel('php/php-src', 16648); ?> (Use-after-free during array sorting).</li> 31</ul></li> 32<li>Curl: 33<ul> 34 <li>Fixed bug <?php githubissuel('php/php-src', 16302); ?> (CurlMultiHandle holds a reference to CurlHandle if curl_multi_add_handle fails).</li> 35</ul></li> 36<li>Date: 37<ul> 38 <li>Fixed bug <?php githubissuel('php/php-src', 16454); ?> (Unhandled INF in date_sunset() with tiny $utcOffset).</li> 39 <li>Fixed bug <?php githubissuel('php/php-src', 14732); ?> (date_sun_info() fails for non-finite values).</li> 40</ul></li> 41<li>DBA: 42<ul> 43 <li>Fixed bug <?php githubissuel('php/php-src', 16390); ?> (dba_open() can segfault for "pathless" streams).</li> 44</ul></li> 45<li>DOM: 46<ul> 47 <li>Fixed bug <?php githubissuel('php/php-src', 16316); ?> (DOMXPath breaks when not initialized properly).</li> 48 <li>Add missing hierarchy checks to replaceChild.</li> 49 <li>Fixed bug <?php githubissuel('php/php-src', 16336); ?> (Attribute intern document mismanagement).</li> 50 <li>Fixed bug <?php githubissuel('php/php-src', 16338); ?> (Null-dereference in ext/dom/node.c).</li> 51 <li>Fixed bug <?php githubissuel('php/php-src', 16473); ?> (dom_import_simplexml stub is wrong).</li> 52 <li>Fixed bug <?php githubissuel('php/php-src', 16533); ?> (Segfault when adding attribute to parent that is not an element).</li> 53 <li>Fixed bug <?php githubissuel('php/php-src', 16535); ?> (UAF when using document as a child).</li> 54 <li>Fixed bug <?php githubissuel('php/php-src', 16593); ?> (Assertion failure in DOM->replaceChild).</li> 55 <li>Fixed bug <?php githubissuel('php/php-src', 16595); ?> (Another UAF in DOM -> cloneNode).</li> 56</ul></li> 57<li>EXIF: 58<ul> 59 <li>Fixed bug <?php githubissuel('php/php-src', 16409); ?> (Segfault in exif_thumbnail when not dealing with a real file).</li> 60</ul></li> 61<li>FFI: 62<ul> 63 <li>Fixed bug <?php githubissuel('php/php-src', 16397); ?> (Segmentation fault when comparing FFI object).</li> 64</ul></li> 65<li>Filter: 66<ul> 67 <li>Fixed bug <?php githubissuel('php/php-src', 16523); ?> (FILTER_FLAG_HOSTNAME accepts ending hyphen).</li> 68</ul></li> 69<li>FPM: 70<ul> 71 <li>Fixed bug <?php githubissuel('php/php-src', 16628); ?> (FPM logs are getting corrupted with this log statement).</li> 72</ul></li> 73<li>GD: 74<ul> 75 <li>Fixed bug <?php githubissuel('php/php-src', 16334); ?> (imageaffine overflow on matrix elements).</li> 76 <li>Fixed bug <?php githubissuel('php/php-src', 16427); ?> (Unchecked libavif return values).</li> 77 <li>Fixed bug <?php githubissuel('php/php-src', 16559); ?> (UBSan abort in ext/gd/libgd/gd_interpolation.c:1007).</li> 78</ul></li> 79<li>GMP: 80<ul> 81 <li>Fixed floating point exception bug with gmp_pow when using large exposant values. (David Carlier).</li> 82 <li>Fixed bug <?php githubissuel('php/php-src', 16411); ?> (gmp_export() can cause overflow).</li> 83 <li>Fixed bug <?php githubissuel('php/php-src', 16501); ?> (gmp_random_bits() can cause overflow).</li> 84 <li>Fixed gmp_pow() overflow bug with large base/exponents.</li> 85 <li>Fixed segfaults and other issues related to operator overloading with GMP objects.</li> 86</ul></li> 87<li>LDAP: 88<ul> 89 <li>Fixed bug <?php githubsecurityl('php/php-src', 'g665-fm4p-vhff'); ?> (OOB access in ldap_escape). (CVE-2024-8932)</li> 90</ul></li> 91<li>MBstring: 92<ul> 93 <li>Fixed bug <?php githubissuel('php/php-src', 16361); ?> (mb_substr overflow on start/length arguments).</li> 94</ul></li> 95<li>MySQLnd: 96<ul> 97 <li>Fixed bug <?php githubsecurityl('php/php-src', 'h35g-vwh6-m678'); ?> (Leak partial content of the heap through heap buffer over-read). (CVE-2024-8929)</li> 98</ul></li> 99<li>Opcache: 100<ul> 101 <li>Fixed bug <?php githubissuel('php/php-src', 16408); ?> (Array to string conversion warning emitted in optimizer).</li> 102</ul></li> 103<li>OpenSSL: 104<ul> 105 <li>Fixed bug <?php githubissuel('php/php-src', 16357); ?> (openssl may modify member types of certificate arrays).</li> 106 <li>Fixed bug <?php githubissuel('php/php-src', 16433); ?> (Large values for openssl_csr_sign() $days overflow).</li> 107 <li>Fix various memory leaks on error conditions in openssl_x509_parse().</li> 108</ul></li> 109<li>PDO DBLIB: 110<ul> 111 <li>Fixed bug <?php githubsecurityl('php/php-src', '5hqh-c84r-qjcv'); ?> (Integer overflow in the dblib quoter causing OOB writes). (CVE-2024-11236)</li> 112</ul></li> 113<li>PDO Firebird: 114<ul> 115 <li>Fixed bug <?php githubsecurityl('php/php-src', '5hqh-c84r-qjcv'); ?> (Integer overflow in the firebird quoter causing OOB writes). (CVE-2024-11236)</li> 116</ul></li> 117<li>PDO ODBC: 118<ul> 119 <li>Fixed bug <?php githubissuel('php/php-src', 16450); ?> (PDO_ODBC can inject garbage into field values).</li> 120</ul></li> 121<li>Phar: 122<ul> 123 <li>Fixed bug <?php githubissuel('php/php-src', 16406); ?> (Assertion failure in ext/phar/phar.c:2808).</li> 124</ul></li> 125<li>PHPDBG: 126<ul> 127 <li>Fixed bug <?php githubissuel('php/php-src', 16174); ?> (Empty string is an invalid expression for ev).</li> 128</ul></li> 129<li>Reflection: 130<ul> 131 <li>Fixed bug <?php githubissuel('php/php-src', 16601); ?> (Memory leak in Reflection constructors).</li> 132</ul></li> 133<li>Session: 134<ul> 135 <li>Fixed bug <?php githubissuel('php/php-src', 16385); ?> (Unexpected null returned by session_set_cookie_params).</li> 136 <li>Fixed bug <?php githubissuel('php/php-src', 16290); ?> (overflow on cookie_lifetime ini value).</li> 137</ul></li> 138<li>SOAP: 139<ul> 140 <li>Fixed bug <?php githubissuel('php/php-src', 16318); ?> (Recursive array segfaults soap encoding).</li> 141 <li>Fixed bug <?php githubissuel('php/php-src', 16429); ?> (Segmentation fault access null pointer in SoapClient).</li> 142</ul></li> 143<li>Sockets: 144<ul> 145 <li>Fixed bug with overflow socket_recvfrom $length argument.</li> 146</ul></li> 147<li>SPL: 148<ul> 149 <li>Fixed bug <?php githubissuel('php/php-src', 16337); ?> (Use-after-free in SplHeap).</li> 150 <li>Fixed bug <?php githubissuel('php/php-src', 16464); ?> (Use-after-free in SplDoublyLinkedList::offsetSet()).</li> 151 <li>Fixed bug <?php githubissuel('php/php-src', 16479); ?> (Use-after-free in SplObjectStorage::setInfo()).</li> 152 <li>Fixed bug <?php githubissuel('php/php-src', 16478); ?> (Use-after-free in SplFixedArray::unset()).</li> 153 <li>Fixed bug <?php githubissuel('php/php-src', 16588); ?> (UAF in Observer->serialize).</li> 154 <li>Fix <?php githubissuel('php/php-src', 16477); ?> (Segmentation fault when calling __debugInfo() after failed SplFileObject::__constructor).</li> 155 <li>Fixed bug <?php githubissuel('php/php-src', 16589); ?> (UAF in SplDoublyLinked->serialize()).</li> 156 <li>Fixed bug <?php githubissuel('php/php-src', 14687); ?> (segfault on SplObjectIterator instance).</li> 157 <li>Fixed bug <?php githubissuel('php/php-src', 16604); ?> (Memory leaks in SPL constructors).</li> 158 <li>Fixed bug <?php githubissuel('php/php-src', 16646); ?> (UAF in ArrayObject::unset() and ArrayObject::exchangeArray()).</li> 159</ul></li> 160<li>Standard: 161<ul> 162 <li>Fixed bug <?php githubissuel('php/php-src', 16293); ?> (Failed assertion when throwing in assert() callback with bail enabled).</li> 163</ul></li> 164<li>Streams: 165<ul> 166 <li>Fixed bug <?php githubsecurityl('php/php-src', 'c5f2-jwm7-mmq2'); ?> (Configuring a proxy in a stream context might allow for CRLF injection in URIs). (CVE-2024-11234)</li> 167 <li>Fixed bug <?php githubsecurityl('php/php-src', 'r977-prxv-hc43'); ?> (Single byte overread with convert.quoted-printable-decode filter). (CVE-2024-11233)</li> 168</ul></li> 169<li>SysVMsg: 170<ul> 171 <li>Fixed bug <?php githubissuel('php/php-src', 16592); ?> (msg_send() crashes when a type does not properly serialized).</li> 172</ul></li> 173<li>SysVShm: 174<ul> 175 <li>Fixed bug <?php githubissuel('php/php-src', 16591); ?> (Assertion error in shm_put_var).</li> 176</ul></li> 177<li>XMLReader: 178<ul> 179 <li>Fixed bug <?php githubissuel('php/php-src', 16292); ?> (Segmentation fault in ext/xmlreader/php_xmlreader.c).</li> 180</ul></li> 181<li>Zlib: 182<ul> 183 <li>Fixed bug <?php githubissuel('php/php-src', 16326); ?> (Memory management is broken for bad dictionaries.) (cmb)</li> 184</ul></li> 185</ul> 186<!-- }}} --></section> 187 188 189 190<section class="version" id="8.3.13"><!-- {{{ 8.3.13 --> 191<h3>Version 8.3.13</h3> 192<b><?php release_date('24-Oct-2024'); ?></b> 193<ul><li>Calendar: 194<ul> 195 <li>Fixed <?php githubissuel('php/php-src', 16240); ?>: jdtounix overflow on argument value.</li> 196 <li>Fixed <?php githubissuel('php/php-src', 16241); ?>: easter_days/easter_date overflow on year argument.</li> 197 <li>Fixed <?php githubissuel('php/php-src', 16263); ?>: jddayofweek overflow.</li> 198 <li>Fixed <?php githubissuel('php/php-src', 16234); ?>: jewishtojd overflow.</li> 199</ul></li> 200<li>CLI: 201<ul> 202 <li>Fixed bug <?php githubissuel('php/php-src', 16137); ?>: duplicate http headers when set several times by the client.</li> 203</ul></li> 204<li>Core: 205<ul> 206 <li>Fixed bug <?php githubissuel('php/php-src', 16054); ?> (Segmentation fault when resizing hash table iterator list while adding).</li> 207 <li>Fixed bug <?php githubissuel('php/php-src', 15905); ?> (Assertion failure for TRACK_VARS_SERVER).</li> 208 <li>Fixed bug <?php githubissuel('php/php-src', 15907); ?> (Failed assertion when promoting Serialize deprecation to exception).</li> 209 <li>Fixed bug <?php githubissuel('php/php-src', 15851); ?> (Segfault when printing backtrace during cleanup of nested generator frame).</li> 210 <li>Fixed bug <?php githubissuel('php/php-src', 15866); ?> (Core dumped in Zend/zend_generators.c).</li> 211 <li>Fixed bug <?php githubissuel('php/php-src', 16188); ?> (Assertion failure in Zend/zend_exceptions.c).</li> 212 <li>Fixed bug <?php githubissuel('php/php-src', 16233); ?> (Observer segfault when calling user function in internal function via trampoline).</li> 213</ul></li> 214<li>DOM: 215<ul> 216 <li>Fixed bug <?php githubissuel('php/php-src', 16039); ?> (Segmentation fault (access null pointer) in ext/dom/parentnode/tree.c).</li> 217 <li>Fixed bug <?php githubissuel('php/php-src', 16149); ?> (Null pointer dereference in DOMElement->getAttributeNames()).</li> 218 <li>Fixed bug <?php githubissuel('php/php-src', 16151); ?> (Assertion failure in ext/dom/parentnode/tree.c).</li> 219 <li>Fixed bug <?php githubissuel('php/php-src', 16150); ?> (Use after free in php_dom.c).</li> 220 <li>Fixed bug <?php githubissuel('php/php-src', 16152); ?> (Memory leak in DOMProcessingInstruction/DOMDocument).</li> 221</ul></li> 222<li>JSON: 223<ul> 224 <li>Fixed bug <?php githubissuel('php/php-src', 15168); ?> (stack overflow in json_encode()).</li> 225</ul></li> 226<li>GD: 227<ul> 228 <li>Fixed bug <?php githubissuel('php/php-src', 16232); ?> (bitshift overflow on wbmp file content reading / fix backport from upstream).</li> 229 <li>Fixed bug <?php githubissuel('php/php-src', 12264); ?> (overflow/underflow on imagerotate degrees value) (David Carlier)</li> 230 <li>Fixed bug <?php githubissuel('php/php-src', 16274); ?> (imagescale underflow on RBG channels / fix backport from upstream).</li> 231</ul></li> 232<li>LDAP: 233<ul> 234 <li>Fixed bug <?php githubissuel('php/php-src', 16032); ?> (Various NULL pointer dereferencements in ldap_modify_batch()).</li> 235 <li>Fixed bug <?php githubissuel('php/php-src', 16101); ?> (Segfault in ldap_list(), ldap_read(), and ldap_search() when LDAPs array is not a list).</li> 236 <li>Fix <?php githubissuel('php/php-src', 16132); ?> (php_ldap_do_modify() attempts to free pointer not allocated by ZMM.).</li> 237 <li>Fix <?php githubissuel('php/php-src', 16136); ?> (Memory leak in php_ldap_do_modify() when entry is not a proper dictionary).</li> 238</ul></li> 239<li>MBString: 240<ul> 241 <li>Fixed bug <?php githubissuel('php/php-src', 16261); ?> (Reference invariant broken in mb_convert_variables()).</li> 242</ul></li> 243<li>OpenSSL: 244<ul> 245 <li>Fixed stub for openssl_csr_new.</li> 246</ul></li> 247<li>PCRE: 248<ul> 249 <li>Fixed bug <?php githubissuel('php/php-src', 16189); ?> (underflow on offset argument).</li> 250 <li>Fixed bug <?php githubissuel('php/php-src', 16184); ?> (UBSan address overflowed in ext/pcre/php_pcre.c).</li> 251</ul></li> 252<li>PHPDBG: 253<ul> 254 <li>Fixed bug <?php githubissuel('php/php-src', 15901); ?> (phpdbg: Assertion failure on i funcs).</li> 255 <li>Fixed bug <?php githubissuel('php/php-src', 16181); ?> (phpdbg: exit in exception handler reports fatal error).</li> 256</ul></li> 257<li>Reflection: 258<ul> 259 <li>Fixed bug <?php githubissuel('php/php-src', 16187); ?> (Assertion failure in ext/reflection/php_reflection.c).</li> 260</ul></li> 261<li>SAPI: 262<ul> 263 <li>Fixed bug <?php githubissuel('php/php-src', 15395); ?> (php-fpm: zend_mm_heap corrupted with cgi-fcgi request).</li> 264</ul></li> 265<li>SimpleXML: 266<ul> 267 <li>Fixed bug <?php githubissuel('php/php-src', 15837); ?> (Segmentation fault in ext/simplexml/simplexml.c).</li> 268</ul></li> 269<li>Sockets: 270<ul> 271 <li>Fixed bug <?php githubissuel('php/php-src', 16267); ?> (socket_strerror overflow on errno argument).</li> 272</ul></li> 273<li>SOAP: 274<ul> 275 <li><?php bugfix(73182); ?> (PHP SOAPClient does not support stream context HTTP headers in array form).</li> 276 <li><?php bugfix(62900); ?> (Wrong namespace on xsd import error message).</li> 277 <li>Fixed bug <?php githubissuel('php/php-src', 15711); ?> (SoapClient can't convert BackedEnum to scalar value).</li> 278 <li>Fixed bug <?php githubissuel('php/php-src', 16237); ?> (Segmentation fault when cloning SoapServer).</li> 279 <li>Fix Soap leaking http_msg on error.</li> 280 <li>Fixed bug <?php githubissuel('php/php-src', 16256); ?> (Assertion failure in ext/soap/php_encoding.c:460).</li> 281 <li>Fixed bug <?php githubissuel('php/php-src', 16259); ?> (Soap segfault when classmap instantiation fails).</li> 282</ul></li> 283<li>SPL: 284<ul> 285 <li>Fixed bug <?php githubissuel('php/php-src', 15918); ?> (Assertion failure in ext/spl/spl_fixedarray.c).</li> 286</ul></li> 287<li>Standard: 288<ul> 289 <li>Fixed bug <?php githubissuel('php/php-src', 16053); ?> (Assertion failure in Zend/zend_hash.c).</li> 290 <li>Fixed bug <?php githubissuel('php/php-src', 15169); ?> (stack overflow when var serialization in ext/standard/var).</li> 291</ul></li> 292<li>Streams: 293<ul> 294 <li>Fixed bugs <?php githubissuel('php/php-src', 15908); ?> and <?php githubissuel('php/php-src', 15026); ?> (leak / assertion failure in streams.c).</li> 295 <li>Fixed bug <?php githubissuel('php/php-src', 15980); ?> (Signed integer overflow in main/streams/streams.c).</li> 296</ul></li> 297<li>TSRM: 298<ul> 299 <li>Prevent closing of unrelated handles.</li> 300</ul></li> 301<li>Windows: 302<ul> 303 <li>Fixed minimal Windows version.</li> 304</ul></li> 305</ul> 306<!-- }}} --></section> 307 308 309 310<section class="version" id="8.3.12"><!-- {{{ 8.3.12 --> 311<h3>Version 8.3.12</h3> 312<b><?php release_date('26-Sep-2024'); ?></b> 313<ul><li>CGI: 314<ul> 315 <li>Fixed bug <?php githubsecurityl('php/php-src', 'p99j-rfp4-xqvq'); ?> (Bypass of CVE-2024-4577, Parameter Injection Vulnerability). (CVE-2024-8926)</li> 316 <li>Fixed bug <?php githubsecurityl('php/php-src', '94p6-54jq-9mwp'); ?> (cgi.force_redirect configuration is bypassable due to the environment variable collision). (CVE-2024-8927)</li> 317</ul></li> 318<li>Core: 319<ul> 320 <li>Fixed bug <?php githubissuel('php/php-src', 15408); ?> (MSan false-positve on zend_max_execution_timer).</li> 321 <li>Fixed bug <?php githubissuel('php/php-src', 15515); ?> (Configure error grep illegal option q).</li> 322 <li>Fixed bug <?php githubissuel('php/php-src', 15514); ?> (Configure error: genif.sh: syntax error).</li> 323 <li>Fixed bug <?php githubissuel('php/php-src', 15565); ?> (--disable-ipv6 during compilation produces error EAI_SYSTEM not found).</li> 324 <li>Fixed bug <?php githubissuel('php/php-src', 15587); ?> (CRC32 API build error on arm 32-bit).</li> 325 <li>Fixed bug <?php githubissuel('php/php-src', 15330); ?> (Do not scan generator frames more than once).</li> 326 <li>Fixed uninitialized lineno in constant AST of internal enums.</li> 327</ul></li> 328<li>Curl: 329<ul> 330 <li>FIxed bug <?php githubissuel('php/php-src', 15547); ?> (curl_multi_select overflow on timeout argument).</li> 331</ul></li> 332<li>DOM: 333<ul> 334 <li>Fixed bug <?php githubissuel('php/php-src', 15551); ?> (Segmentation fault (access null pointer) in ext/dom/xml_common.h).</li> 335 <li>Fixed bug <?php githubissuel('php/php-src', 15654); ?> (Signed integer overflow in ext/dom/nodelist.c).</li> 336</ul></li> 337<li>Fileinfo: 338<ul> 339 <li>Fixed bug <?php githubissuel('php/php-src', 15752); ?> (Incorrect error message for finfo_file with an empty filename argument).</li> 340</ul></li> 341<li>FPM: 342<ul> 343 <li>Fixed bug <?php githubsecurityl('php/php-src', '865w-9rf3-2wh5'); ?> (Logs from childrens may be altered). (CVE-2024-9026)</li> 344</ul></li> 345<li>MySQLnd: 346<ul> 347 <li>Fixed bug <?php githubissuel('php/php-src', 15432); ?> (Heap corruption when querying a vector).</li> 348</ul></li> 349<li>Opcache: 350<ul> 351 <li>Fixed bug <?php githubissuel('php/php-src', 15661); ?> (Access null pointer in Zend/Optimizer/zend_inference.c).</li> 352 <li>Fixed bug <?php githubissuel('php/php-src', 15658); ?> (Segmentation fault in Zend/zend_vm_execute.h).</li> 353</ul></li> 354<li>SAPI: 355<ul> 356 <li>Fixed bug <?php githubsecurityl('php/php-src', '9pqp-7h25-4f32'); ?> (Erroneous parsing of multipart form data). (CVE-2024-8925)</li> 357</ul></li> 358<li>Standard: 359<ul> 360 <li>Fixed bug <?php githubissuel('php/php-src', 15552); ?> (Signed integer overflow in ext/standard/scanf.c).</li> 361</ul></li> 362<li>Streams: 363<ul> 364 <li>Fixed bug <?php githubissuel('php/php-src', 15628); ?> (php_stream_memory_get_buffer() not zero-terminated).</li> 365</ul></li> 366</ul> 367<!-- }}} --></section> 368 369 370 371<section class="version" id="8.3.11"><!-- {{{ 8.3.11 --> 372<h3>Version 8.3.11</h3> 373<b><?php release_date('29-Aug-2024'); ?></b> 374<ul><li>Core: 375<ul> 376 <li>Fixed bug <?php githubissuel('php/php-src', 15020); ?> (Memory leak in Zend/Optimizer/escape_analysis.c).</li> 377 <li>Fixed bug <?php githubissuel('php/php-src', 15023); ?> (Memory leak in Zend/zend_ini.c).</li> 378 <li>Fixed bug <?php githubissuel('php/php-src', 13330); ?> (Append -Wno-implicit-fallthrough flag conditionally).</li> 379 <li>Fix uninitialized memory in network.c.</li> 380 <li>Fixed bug <?php githubissuel('php/php-src', 15108); ?> (Segfault when destroying generator during shutdown).</li> 381 <li>Fixed bug <?php githubissuel('php/php-src', 15275); ?> (Crash during GC of suspended generator delegate).</li> 382</ul></li> 383<li>Curl: 384<ul> 385 <li>Fixed case when curl_error returns an empty string.</li> 386</ul></li> 387<li>DOM: 388<ul> 389 <li>Fix UAF when removing doctype and using foreach iteration.</li> 390</ul></li> 391<li>FFI: 392<ul> 393 <li>Fixed bug <?php githubissuel('php/php-src', 14286); ?> (ffi enum type (when enum has no name) make memory leak).</li> 394</ul></li> 395<li>Hash: 396<ul> 397 <li>Fix crash when converting array data for array in shm in xxh3.</li> 398</ul></li> 399<li>Intl: 400<ul> 401 <li>Fixed bug <?php githubissuel('php/php-src', 15087); ?> (IntlChar::foldCase()'s $option is not optional).</li> 402</ul></li> 403<li>Opcache: 404<ul> 405 <li>Fixed bug <?php githubissuel('php/php-src', 13817); ?> (Segmentation fault for enabled observers after pass 4).</li> 406 <li>Fixed bug <?php githubissuel('php/php-src', 13775); ?> (Memory leak possibly related to opcache SHM placement).</li> 407</ul></li> 408<li>Output: 409<ul> 410 <li>Fixed bug <?php githubissuel('php/php-src', 15179); ?> (Segmentation fault (null pointer dereference) in ext/standard/url_scanner_ex.re).</li> 411</ul></li> 412<li>PDO_Firebird: 413<ul> 414 <li>Fix bogus fallthrough path in firebird_handle_get_attribute().</li> 415</ul></li> 416<li>PHPDBG: 417<ul> 418 <li>Fixed bug <?php githubissuel('php/php-src', 13199); ?> (EOF emits redundant prompt in phpdbg local console mode with libedit/readline).</li> 419 <li>Fixed bug <?php githubissuel('php/php-src', 15268); ?> (heap buffer overflow in phpdbg (zend_hash_num_elements() Zend/zend_hash.h)).</li> 420 <li>Fixed bug <?php githubissuel('php/php-src', 15210); ?> use-after-free on watchpoint allocations.</li> 421</ul></li> 422<li>Soap: 423<ul> 424 <li><?php bugfix(55639); ?> (Digest autentication dont work).</li> 425 <li>Fix SoapFault property destruction.</li> 426 <li>Fixed bug <?php githubissuel('php/php-src', 15252); ?> (SOAP XML broken since PHP 8.3.9 when using classmap constructor option).</li> 427</ul></li> 428<li>Standard: 429<ul> 430 <li>Fix passing non-finite timeout values in stream functions.</li> 431 <li>Fixed <?php githubissuel('php/php-src', 14780); ?> p(f)sockopen timeout overflow.</li> 432</ul></li> 433<li>Streams: 434<ul> 435 <li>Fixed bug <?php githubissuel('php/php-src', 15028); ?> (Memory leak in ext/phar/stream.c).</li> 436 <li>Fixed bug <?php githubissuel('php/php-src', 15034); ?> (Integer overflow on stream_notification_callback byte_max parameter with files bigger than 2GB).</li> 437 <li>Reverted fix for <?php githubissuel('php/php-src', 14930); ?> (Custom stream wrapper dir_readdir output truncated to 255 characters).</li> 438</ul></li> 439<li>Tidy: 440<ul> 441 <li>Fix memory leaks in ext/tidy basedir restriction code.</li> 442</ul></li> 443</ul> 444<!-- }}} --></section> 445 446 447 448<section class="version" id="8.3.10"><!-- {{{ 8.3.10 --> 449<h3>Version 8.3.10</h3> 450<b><?php release_date('01-Aug-2024'); ?></b> 451<ul><li>Core: 452<ul> 453 <li>Fixed bug <?php githubissuel('php/php-src', 13922); ?> (Fixed support for systems with sysconf(_SC_GETPW_R_SIZE_MAX) == -1).</li> 454 <li>Fixed bug <?php githubissuel('php/php-src', 14626); ?> (Fix is_zend_ptr() for huge blocks).</li> 455 <li>Fixed bug <?php githubissuel('php/php-src', 14590); ?> (Memory leak in FPM test gh13563-conf-bool-env.phpt.</li> 456 <li>Fixed OSS-Fuzz #69765.</li> 457 <li>Fixed bug <?php githubissuel('php/php-src', 14741); ?> (Segmentation fault in Zend/zend_types.h).</li> 458 <li>Fixed bug <?php githubissuel('php/php-src', 14969); ?> (Use-after-free in property coercion with __toString()).</li> 459</ul></li> 460<li>Dom: 461<ul> 462 <li>Fixed bug <?php githubissuel('php/php-src', 14702); ?> (DOMDocument::xinclude() crash).</li> 463</ul></li> 464<li>Fileinfo: 465<ul> 466 <li>Fixed bug <?php githubissuel('php/php-src', 14888); ?> (README.REDIST.BINS refers to non-existing LICENSE).</li> 467</ul></li> 468<li>Gd: 469<ul> 470 <li>ext/gd/tests/gh10614.phpt: skip if no PNG support.</li> 471 <li>restored warning instead of fata error.</li> 472</ul></li> 473<li>LibXML: 474<ul> 475 <li>Fixed bug <?php githubissuel('php/php-src', 14563); ?> (Build failure with libxml2 v2.13.0).</li> 476</ul></li> 477<li>Opcache: 478<ul> 479 <li>Fixed bug <?php githubissuel('php/php-src', 14550); ?> (No warning message when Zend DTrace is enabled that opcache.jit is implictly disabled).</li> 480</ul></li> 481<li>Output: 482<ul> 483 <li>Fixed bug <?php githubissuel('php/php-src', 14808); ?> (Unexpected null pointer in Zend/zend_string.h with empty output buffer).</li> 484</ul></li> 485<li>PDO: 486<ul> 487 <li>Fixed bug <?php githubissuel('php/php-src', 14712); ?> (Crash with PDORow access to null property).</li> 488</ul></li> 489<li>Phar: 490<ul> 491 <li>Fixed bug <?php githubissuel('php/php-src', 14603); ?> (null string from zip entry).</li> 492</ul></li> 493<li>PHPDBG: 494<ul> 495 <li>Fixed bug <?php githubissuel('php/php-src', 14596); ?> (crashes with ASAN and ZEND_RC_DEBUG=1).</li> 496 <li>Fixed bug <?php githubissuel('php/php-src', 14553); ?> (echo output trimmed at NULL byte).</li> 497</ul></li> 498<li>Shmop: 499<ul> 500 <li>Fixed bug <?php githubissuel('php/php-src', 14537); ?> (shmop Windows 11 crashes the process).</li> 501</ul></li> 502<li>SPL: 503<ul> 504 <li>Fixed bug <?php githubissuel('php/php-src', 14639); ?> (Member access within null pointer in ext/spl/spl_observer.c).</li> 505</ul></li> 506<li>Standard: 507<ul> 508 <li>Fixed bug <?php githubissuel('php/php-src', 14775); ?> (range function overflow with negative step argument).</li> 509 <li>Fix 32-bit wordwrap test failures.</li> 510 <li>Fixed bug <?php githubissuel('php/php-src', 14774); ?> (time_sleep_until overflow).</li> 511</ul></li> 512<li>Streams: 513<ul> 514 <li>Fixed bug <?php githubissuel('php/php-src', 14930); ?> (Custom stream wrapper dir_readdir output truncated to 255 characters in PHP 8.3).</li> 515</ul></li> 516<li>Tidy: 517<ul> 518 <li>Fix memory leak in tidy_repair_file().</li> 519</ul></li> 520<li>Treewide: 521<ul> 522 <li>Fix compatibility with libxml2 2.13.2.</li> 523</ul></li> 524<li>XML: 525<ul> 526 <li>Move away from to-be-deprecated libxml fields.</li> 527 <li>Fixed bug <?php githubissuel('php/php-src', 14834); ?> (Error installing PHP when --with-pear is used).</li> 528</ul></li> 529</ul> 530<!-- }}} --></section> 531 532 533 534<section class="version" id="8.3.9"><!-- {{{ 8.3.9 --> 535<h3>Version 8.3.9</h3> 536<b><?php release_date('04-Jul-2024'); ?></b> 537<ul><li>Core: 538<ul> 539 <li>Fixed bug <?php githubissuel('php/php-src', 14315); ?> (Incompatible pointer type warnings).</li> 540 <li>Fixed bug <?php githubissuel('php/php-src', 12814); ?> (max_execution_time reached too early on MacOS 14 when running on Apple Silicon).</li> 541 <li>Fixed bug <?php githubissuel('php/php-src', 14387); ?> (Crash when stack walking in destructor of yielded from values during Generator->throw()).</li> 542 <li>Fixed bug <?php githubissuel('php/php-src', 14456); ?> (Attempting to initialize class with private constructor calls destructor).</li> 543 <li>Fixed bug <?php githubissuel('php/php-src', 14510); ?> (memleak due to missing pthread_attr_destroy()-call).</li> 544 <li>Fixed bug <?php githubissuel('php/php-src', 14549); ?> (Incompatible function pointer type for fclose).</li> 545</ul></li> 546<li>BCMatch: 547<ul> 548 <li>Fixed bug (bcpowmod() with mod = -1 returns 1 when it must be 0).</li> 549</ul></li> 550<li>Curl: 551<ul> 552 <li>Fixed bug <?php githubissuel('php/php-src', 14307); ?> (Test curl_basic_024 fails with curl 8.8.0).</li> 553</ul></li> 554<li>DOM: 555<ul> 556 <li>Fixed bug <?php githubissuel('php/php-src', 14343); ?> (Memory leak in xml and dom).</li> 557</ul></li> 558<li>FPM: 559<ul> 560 <li>Fixed bug <?php githubissuel('php/php-src', 14037); ?> (PHP-FPM ping.path and ping.response config vars are ignored in status pool).</li> 561</ul></li> 562<li>GD: 563<ul> 564 <li>Fix parameter numbers for imagecolorset().</li> 565</ul></li> 566<li>Intl: 567<ul> 568 <li>Fix reference handling in SpoofChecker.</li> 569</ul></li> 570<li>MySQLnd: 571<ul> 572 <li>Partially fix bug <?php githubissuel('php/php-src', 10599); ?> (Apache crash on Windows when using a self-referencing anonymous function inside a class with an active mysqli connection).</li> 573</ul></li> 574<li>Opcache: 575<ul> 576 <li>Fixed bug <?php githubissuel('php/php-src', 14267); ?> (opcache.jit=off does not allow enabling JIT at runtime).</li> 577 <li>Fixed TLS access in JIT on FreeBSD/amd64.</li> 578 <li>Fixed bug <?php githubissuel('php/php-src', 11188); ?> (Error when building TSRM in ARM64).</li> 579</ul></li> 580<li>PDO ODBC: 581<ul> 582 <li>Fixed bug <?php githubissuel('php/php-src', 14367); ?> (incompatible SDWORD type with iODBC).</li> 583</ul></li> 584<li>PHPDBG: 585<ul> 586 <li>Fixed bug <?php githubissuel('php/php-src', 13681); ?> (segfault on watchpoint addition failure).</li> 587</ul></li> 588<li>Soap: 589<ul> 590 <li><?php bugfix(47925); ?> (PHPClient can't decompress response).</li> 591 <li>Fix missing error restore code.</li> 592 <li>Fix memory leak if calling SoapServer::setObject() twice.</li> 593 <li>Fix memory leak if calling SoapServer::setClass() twice.</li> 594 <li>Fix reading zlib ini settings in ext-soap.</li> 595 <li>Fix memory leaks with string function name lookups.</li> 596 <li><?php bugfix(69280); ?> (SoapClient classmap doesn't support fully qualified class name).</li> 597 <li><?php bugfix(76232); ?> (SoapClient Cookie Header Semicolon).</li> 598 <li>Fixed memory leaks when calling SoapFault::__construct() twice.</li> 599</ul></li> 600<li>Sodium: 601<ul> 602 <li>Fix memory leaks in ext/sodium on failure of some functions.</li> 603</ul></li> 604<li>SPL: 605<ul> 606 <li>Fixed bug <?php githubissuel('php/php-src', 14290); ?> (Member access within null pointer in extension spl).</li> 607</ul></li> 608<li>Standard: 609<ul> 610 <li>Fixed bug <?php githubissuel('php/php-src', 14483); ?> (Fixed off-by-one error in checking length of abstract namespace Unix sockets).</li> 611</ul></li> 612<li>Streams: 613<ul> 614 <li>Fixed bug <?php githubissuel('php/php-src', 11078); ?> (PHP Fatal error triggers pointer being freed was not allocated and malloc: double free for ptr errors).</li> 615</ul></li> 616</ul> 617<!-- }}} --></section> 618 619 620 621<section class="version" id="8.3.8"><!-- {{{ 8.3.8 --> 622<h3>Version 8.3.8</h3> 623<b><?php release_date('06-Jun-2024'); ?></b> 624<ul><li>CGI: 625<ul> 626 <li>Fixed buffer limit on Windows, replacing read call usage by _read.</li> 627 <li>Fixed bug GHSA-3qgc-jrrr-25jv (Bypass of CVE-2012-1823, Argument Injection in PHP-CGI). (CVE-2024-4577)</li> 628</ul></li> 629<li>CLI: 630<ul> 631 <li>Fixed bug <?php githubissuel('php/php-src', 14189); ?> (PHP Interactive shell input state incorrectly handles quoted heredoc literals.).</li> 632</ul></li> 633<li>Core: 634<ul> 635 <li>Fixed bug <?php githubissuel('php/php-src', 13970); ?> (Incorrect validation of #[Attribute] flags type for non-compile-time expressions).</li> 636</ul></li> 637<li>DOM: 638<ul> 639 <li>Fix crashes when entity declaration is removed while still having entity references.</li> 640 <li>Fix references not handled correctly in C14N.</li> 641 <li>Fix crash when calling childNodes next() when iterator is exhausted.</li> 642 <li>Fix crash in ParentNode::append() when dealing with a fragment containing text nodes.</li> 643</ul></li> 644<li>Filter: 645<ul> 646 <li>Fixed bug GHSA-w8qr-v226-r27w (Filter bypass in filter_var FILTER_VALIDATE_URL). (CVE-2024-5458)</li> 647</ul></li> 648<li>FPM: 649<ul> 650 <li>Fix bug <?php githubissuel('php/php-src', 14175); ?> (Show decimal number instead of scientific notation in systemd status).</li> 651</ul></li> 652<li>Hash: 653<ul> 654 <li>ext/hash: Swap the checking order of `__has_builtin` and `__GNUC__` (Saki Takamachi)</li> 655</ul></li> 656<li>Intl: 657<ul> 658 <li>Fixed build regression on systems without C++17 compilers.</li> 659</ul></li> 660<li>MySQLnd: 661<ul> 662 <li>Fix bug <?php githubissuel('php/php-src', 14255); ?> (mysqli_fetch_assoc reports error from nested query).</li> 663</ul></li> 664<li>Opcache: 665<ul> 666 <li>Fixed bug <?php githubissuel('php/php-src', 14109); ?> (Fix accidental persisting of internal class constant in shm).</li> 667</ul></li> 668<li>OpenSSL: 669<ul> 670 <li>The openssl_private_decrypt function in PHP, when using PKCS1 padding (OPENSSL_PKCS1_PADDING, which is the default), is vulnerable to the Marvin Attack unless it is used with an OpenSSL version that includes the changes from this pull request: https://github.com/openssl/openssl/pull/13817 (rsa_pkcs1_implicit_rejection). These changes are part of OpenSSL 3.2 and have also been backported to stable versions of various Linux distributions, as well as to the PHP builds provided for Windows since the previous release. All distributors and builders should ensure that this version is used to prevent PHP from being vulnerable.</li> 671</ul></li> 672<li>Standard: 673<ul> 674 <li>Fixed bug GHSA-9fcc-425m-g385 (Bypass of CVE-2024-1874). (CVE-2024-5585)</li> 675</ul></li> 676<li>XML: 677<ul> 678 <li>Fixed bug <?php githubissuel('php/php-src', 14124); ?> (Segmentation fault with XML extension under certain memory limit).</li> 679</ul></li> 680<li>XMLReader: 681<ul> 682 <li>Fixed bug <?php githubissuel('php/php-src', 14183); ?> (XMLReader::open() can't be overridden).</li> 683</ul></li> 684</ul> 685<!-- }}} --></section> 686 687 688 689<section class="version" id="8.3.7"><!-- {{{ 8.3.7 --> 690<h3>Version 8.3.7</h3> 691<b><?php release_date('09-May-2024'); ?></b> 692<ul><li>Core: 693<ul> 694 <li>Fixed zend_call_stack build with Linux/uclibc-ng without thread support.</li> 695 <li>Fixed bug <?php githubissuel('php/php-src', 13772); ?> (Invalid execute_data->opline pointers in observer fcall handlers when JIT is enabled).</li> 696 <li>Fixed bug <?php githubissuel('php/php-src', 13931); ?> (Applying zero offset to null pointer in Zend/zend_opcode.c).</li> 697 <li>Fixed bug <?php githubissuel('php/php-src', 13942); ?> (Align the behavior of zend-max-execution-timers with other timeout implementations).</li> 698 <li>Fixed bug <?php githubissuel('php/php-src', 14003); ?> (Broken cleanup of unfinished calls with callable convert parameters).</li> 699 <li>Fixed bug <?php githubissuel('php/php-src', 14013); ?> (Erroneous dnl appended in configure).</li> 700 <li>Fixed bug <?php githubissuel('php/php-src', 10232); ?> (If autoloading occurs during constant resolution filename and lineno are identified incorrectly).</li> 701 <li>Fixed bug <?php githubissuel('php/php-src', 13727); ?> (Missing void keyword).</li> 702</ul></li> 703<li>Fibers: 704<ul> 705 <li>Fixed bug <?php githubissuel('php/php-src', 13903); ?> (ASAN false positive underflow when executing copy()).</li> 706</ul></li> 707<li>Fileinfo: 708<ul> 709 <li>Fixed bug <?php githubissuel('php/php-src', 13795); ?> (Test failing in ext/fileinfo/tests/bug78987.phpt on big-endian PPC).</li> 710</ul></li> 711<li>FPM: 712<ul> 713 <li>Fixed bug <?php githubissuel('php/php-src', 13563); ?> (Setting bool values via env in FPM config fails).</li> 714</ul></li> 715<li>Intl: 716<ul> 717 <li>Fixed build for icu 74 and onwards.</li> 718</ul></li> 719<li>MySQLnd: 720<ul> 721 <li>Fix shift out of bounds on 32-bit non-fast-path platforms.</li> 722</ul></li> 723<li>Opcache: 724<ul> 725 <li>Fixed bug <?php githubissuel('php/php-src', 13433); ?> (Segmentation Fault in zend_class_init_statics when using opcache.preload).</li> 726 <li>Fixed incorrect assumptions across compilation units for static calls.</li> 727</ul></li> 728<li>OpenSSL: 729<ul> 730 <li>Fixed bug <?php githubissuel('php/php-src', 10495); ?> (feof on OpenSSL stream hangs indefinitely).</li> 731</ul></li> 732<li>PDO SQLite: 733<ul> 734 <li>Fix <?php githubissuel('php/php-src', 13984); ?> (Buffer size is now checked before memcmp).</li> 735 <li>Fix <?php githubissuel('php/php-src', 13998); ?> (Manage refcount of agg_context->val correctly).</li> 736</ul></li> 737<li>Phar: 738<ul> 739 <li>Fixed bug <?php githubissuel('php/php-src', 13836); ?> (Renaming a file in a Phar to an already existing filename causes a NULL pointer dereference).</li> 740 <li>Fixed bug <?php githubissuel('php/php-src', 13833); ?> (Applying zero offset to null pointer in zend_hash.c).</li> 741 <li>Fix potential NULL pointer dereference before calling EVP_SignInit.</li> 742</ul></li> 743<li>PHPDBG: 744<ul> 745 <li>Fixed bug <?php githubissuel('php/php-src', 13827); ?> (Null pointer access of type 'zval' in phpdbg_frame).</li> 746</ul></li> 747<li>Posix: 748<ul> 749 <li>Fix usage of reentrant functions in ext/posix.</li> 750</ul></li> 751<li>Session: 752<ul> 753 <li>Fixed bug <?php githubissuel('php/php-src', 13856); ?> (Member access within null pointer of type 'ps_files' in ext/session/mod_files.c).</li> 754 <li>Fixed bug <?php githubissuel('php/php-src', 13891); ?> (memleak and segfault when using ini_set with session.trans_sid_hosts).</li> 755 <li>Fixed buffer _read/_write size limit on windows for the file mode.</li> 756</ul></li> 757<li>Streams: 758<ul> 759 <li>Fixed file_get_contents() on Windows fails with "errno=22 Invalid argument".</li> 760 <li>Fixed bug <?php githubissuel('php/php-src', 13264); ?> (Part 1 - Memory leak on stream filter failure).</li> 761 <li>Fixed bug <?php githubissuel('php/php-src', 13860); ?> (Incorrect PHP_STREAM_OPTION_CHECK_LIVENESS case in ext/openssl/xp_ssl.c - causing use of dead socket).</li> 762 <li>Fixed bug <?php githubissuel('php/php-src', 11678); ?> (Build fails on musl 1.2.4 - lfs64).</li> 763</ul></li> 764<li>Treewide: 765<ul> 766 <li>Fix gcc-14 Wcalloc-transposed-args warnings.</li> 767</ul></li> 768</ul> 769<!-- }}} --></section> 770 771 772 773<section class="version" id="8.3.6"><!-- {{{ 8.3.6 --> 774<h3>Version 8.3.6</h3> 775<b><?php release_date('11-Apr-2024'); ?></b> 776<ul><li>Core: 777<ul> 778 <li>Fixed <?php githubissuel('php/php-src', 13569); ?> (GC buffer unnecessarily grows up to GC_MAX_BUF_SIZE when scanning WeakMaps).</li> 779 <li>Fixed bug <?php githubissuel('php/php-src', 13612); ?> (Corrupted memory in destructor with weak references).</li> 780 <li>Fixed bug <?php githubissuel('php/php-src', 13446); ?> (Restore exception handler after it finishes).</li> 781 <li>Fixed bug <?php githubissuel('php/php-src', 13784); ?> (AX_GCC_FUNC_ATTRIBUTE failure).</li> 782 <li>Fixed bug <?php githubissuel('php/php-src', 13670); ?> (GC does not scale well with a lot of objects created in destructor).</li> 783</ul></li> 784<li>DOM: 785<ul> 786 <li>Add some missing ZPP checks.</li> 787 <li>Fix potential memory leak in XPath evaluation results.</li> 788</ul></li> 789<li>FPM: 790<ul> 791 <li>Fixed <?php githubissuel('php/php-src', 11086); ?> (FPM: config test runs twice in daemonised mode).</li> 792 <li>Fix incorrect check in fpm_shm_free().</li> 793</ul></li> 794<li>GD: 795<ul> 796 <li>Fixed bug <?php githubissuel('php/php-src', 12019); ?> (add GDLIB_CFLAGS in feature tests).</li> 797</ul></li> 798<li>Gettext: 799<ul> 800 <li>Fixed sigabrt raised with dcgettext/dcngettext calls with gettext 0.22.5 with category set to LC_ALL.</li> 801</ul></li> 802<li>MySQLnd: 803<ul> 804 <li>Fix <?php githubissuel('php/php-src', 13452); ?> (Fixed handshake response [mysqlnd]).</li> 805 <li>Fix incorrect charset length in check_mb_eucjpms().</li> 806</ul></li> 807<li>Opcache: 808<ul> 809 <li>Fixed <?php githubissuel('php/php-src', 13508); ?> (JITed QM_ASSIGN may be optimized out when op1 is null).</li> 810 <li>Fixed <?php githubissuel('php/php-src', 13712); ?> (Segmentation fault for enabled observers when calling trait method of internal trait when opcache is loaded).</li> 811</ul></li> 812<li>Random: 813<ul> 814 <li>Fixed bug <?php githubissuel('php/php-src', 13544); ?> (Pre-PHP 8.2 compatibility for mt_srand with unknown modes).</li> 815 <li>Fixed bug <?php githubissuel('php/php-src', 13690); ?> (Global Mt19937 is not properly reset in-between requests when MT_RAND_PHP is used).</li> 816</ul></li> 817<li>Session: 818<ul> 819 <li>Fixed bug <?php githubissuel('php/php-src', 13680); ?> (Segfault with session_decode and compilation error).</li> 820</ul></li> 821<li>SPL: 822<ul> 823 <li>Fixed bug <?php githubissuel('php/php-src', 13685); ?> (Unexpected null pointer in zend_string.h).</li> 824</ul></li> 825<li>Standard: 826<ul> 827 <li>Fixed bug <?php githubissuel('php/php-src', 11808); ?> (Live filesystem modified by tests).</li> 828 <li>Fixed <?php githubissuel('php/php-src', 13402); ?> (Added validation of `\n` in $additional_headers of mail()).</li> 829 <li>Fixed bug <?php githubissuel('php/php-src', 13203); ?> (file_put_contents fail on strings over 4GB on Windows).</li> 830 <li>Fixed bug GHSA-pc52-254m-w9w7 (Command injection via array-ish $command parameter of proc_open). (CVE-2024-1874)</li> 831 <li>Fixed bug GHSA-wpj3-hf5j-x4v4 (__Host-/__Secure- cookie bypass due to partial CVE-2022-31629 fix). (CVE-2024-2756)</li> 832 <li>Fixed bug GHSA-h746-cjrr-wfmr (password_verify can erroneously return true, opening ATO risk). (CVE-2024-3096)</li> 833 <li>Fixed bug GHSA-fjp9-9hwx-59fq (mb_encode_mimeheader runs endlessly for some inputs). (CVE-2024-2757)</li> 834 <li>Fix bug <?php githubissuel('php/php-src', 13932); ?> (Attempt to fix mbstring on windows build) (msvc).</li> 835</ul></li> 836</ul> 837<!-- }}} --></section> 838 839 840 841<section class="version" id="8.3.4"><!-- {{{ 8.3.4 --> 842<h3>Version 8.3.4</h3> 843<b><?php release_date('14-Mar-2024'); ?></b> 844<ul><li>Core: 845<ul> 846 <li>Fix ZTS persistent resource crashes on shutdown.</li> 847</ul></li> 848<li>Curl: 849<ul> 850 <li>Fix failing tests due to string changes in libcurl 8.6.0.</li> 851</ul></li> 852<li>DOM: 853<ul> 854 <li>Fix unlikely memory leak in case of namespace removal with extremely deep trees.</li> 855 <li>Fix reference access in dimensions for DOMNodeList and DOMNodeMap.</li> 856</ul></li> 857<li>Fileinfo: 858<ul> 859 <li>Fixed bug <?php githubissuel('php/php-src', 13344); ?> (finfo::buffer(): Failed identify data 0:(null), backport).</li> 860</ul></li> 861<li>FPM: 862<ul> 863 <li><?php bugfix(75712); ?> (getenv in php-fpm should not read $_ENV, $_SERVER).</li> 864</ul></li> 865<li>GD: 866<ul> 867 <li>Fixed bug <?php githubissuel('php/php-src', 12019); ?> (detection of image formats in system gd library).</li> 868</ul></li> 869<li>MySQLnd: 870<ul> 871 <li>Fixed bug <?php githubissuel('php/php-src', 11950); ?> ([mysqlnd] Fixed not to set CR_MALFORMED_PACKET to error if CR_SERVER_GONE_ERROR is already set).</li> 872</ul></li> 873<li>PDO: 874<ul> 875 <li>Fix various PDORow bugs.</li> 876</ul></li> 877<li>PGSQL: 878<ul> 879 <li>Fixed bug <?php githubissuel('php/php-src', 13354); ?> (pg_execute/pg_send_query_params/pg_send_execute with null value passed by reference).</li> 880</ul></li> 881<li>SPL: 882<ul> 883 <li>Fixed bug <?php githubissuel('php/php-src', 13531); ?> (Unable to resize SplfixedArray after being unserialized in PHP 8.2.15).</li> 884</ul></li> 885<li>Standard: 886<ul> 887 <li>Fixed bug <?php githubissuel('php/php-src', 13279); ?> (Instable array during in-place modification in uksort).</li> 888 <li>Fixed array key as hash to string (case insensitive) comparison typo for the second operand buffer size (albeit unused for now).</li> 889</ul></li> 890<li>XML: 891<ul> 892 <li>Fixed bug <?php githubissuel('php/php-src', 13517); ?> (Multiple test failures when building with --with-expat).</li> 893</ul></li> 894</ul> 895<!-- }}} --></section> 896 897 898 899<section class="version" id="8.3.3"><!-- {{{ 8.3.3 --> 900<h3>Version 8.3.3</h3> 901<b><?php release_date('15-Feb-2024'); ?></b> 902<ul><li>Core: 903<ul> 904 <li>Fixed timer leak in zend-max-execution-timers builds.</li> 905 <li>Fixed bug <?php githubissuel('php/php-src', 12349); ?> (linking failure on ARM with mold).</li> 906 <li>Fixed bug <?php githubissuel('php/php-src', 13097); ?> (Anonymous class reference in trigger_error / thrown Exception).</li> 907 <li>Fixed bug <?php githubissuel('php/php-src', 13177); ?> (PHP 8.3.2: final private constructor not allowed when used in trait).</li> 908 <li>Fixed bug <?php githubissuel('php/php-src', 13215); ?> (GCC 14 build failure).</li> 909</ul></li> 910<li>Curl: 911<ul> 912 <li>Fix missing error check in curl_multi_init().</li> 913</ul></li> 914<li>FPM: 915<ul> 916 <li>Fixed bug <?php githubissuel('php/php-src', 12996); ?> (Incorrect SCRIPT_NAME with Apache ProxyPassMatch when plus in path).</li> 917</ul></li> 918<li>GD: 919<ul> 920 <li>Fixed bug <?php githubissuel('php/php-src', 10344); ?> (imagettfbbox(): Could not find/open font UNC path).</li> 921 <li>Fixed bug <?php githubissuel('php/php-src', 10614); ?> (imagerotate will turn the picture all black, when rotated 90).</li> 922</ul></li> 923<li>LibXML: 924<ul> 925 <li>Fix crashes with entity references and predefined entities.</li> 926</ul></li> 927<li>MySQLnd: 928<ul> 929 <li>Fixed bug <?php githubissuel('php/php-src', 12107); ?> (When running a stored procedure (that returns a result set) twice, PHP crashes).</li> 930</ul></li> 931<li>Opcache: 932<ul> 933 <li>Fixed bug <?php githubissuel('php/php-src', 13145); ?> (strtok() is not comptime).</li> 934 <li>Fixed type inference of range().</li> 935 <li>Fixed bug <?php githubissuel('php/php-src', 13232); ?> (Segmentation fault will be reported when JIT is off but JIT_debug is still on).</li> 936</ul></li> 937<li>OpenSSL: 938<ul> 939 <li>Fixed LibreSSL undefined reference when OPENSSL_NO_ENGINE not set. (David Carlier).</li> 940</ul></li> 941<li>PDO_Firebird: 942<ul> 943 <li>Fix <?php githubissuel('php/php-src', 13119); ?> (Changed to convert float and double values into strings using `H` format).</li> 944</ul></li> 945<li>Phar: 946<ul> 947 <li><?php bugfix(71465); ?> (PHAR doesn't know about litespeed).</li> 948 <li>Fixed bug <?php githubissuel('php/php-src', 13037); ?> (PharData incorrectly extracts zip file).</li> 949</ul></li> 950<li>Random: 951<ul> 952 <li>Fixed bug <?php githubissuel('php/php-src', 13138); ?> (Randomizer::pickArrayKeys() does not detect broken engines).</li> 953</ul></li> 954<li>Session: 955<ul> 956 <li>Fixed bug <?php githubissuel('php/php-src', 12504); ?> (Corrupted session written when there's a fatal error in autoloader).</li> 957</ul></li> 958<li>Standard: 959<ul> 960 <li>Fixed bug <?php githubissuel('php/php-src', 13094); ?> (range(9.9, '0') causes segmentation fault).</li> 961</ul></li> 962<li>Streams: 963<ul> 964 <li>Fixed bug <?php githubissuel('php/php-src', 13071); ?> (Copying large files using mmap-able source streams may exhaust available memory and fail).</li> 965</ul></li> 966</ul> 967<!-- }}} --></section> 968 969 970 971<section class="version" id="8.3.2"><!-- {{{ 8.3.2 --> 972<h3>Version 8.3.2</h3> 973<b><?php release_date('18-Jan-2024'); ?></b> 974<ul><li>Core: 975<ul> 976 <li>Fixed bug <?php githubissuel('php/php-src', 12953); ?> (false positive SSA integrity verification failed when loading composer classmaps with more than 11k elements).</li> 977 <li>Fixed bug <?php githubissuel('php/php-src', 12999); ?> (zend_strnlen build when strnlen is unsupported).</li> 978 <li>Fixed bug <?php githubissuel('php/php-src', 12966); ?> (missing cross-compiling 3rd argument so Autoconf doesn't emit warnings).</li> 979 <li>Fixed bug <?php githubissuel('php/php-src', 12854); ?> (8.3 - as final trait-used method does not correctly report visibility in Reflection).</li> 980</ul></li> 981<li>Cli: 982<ul> 983 <li>Fix incorrect timeout in built-in web server when using router script and max_input_time.</li> 984</ul></li> 985<li>DOM: 986<ul> 987 <li>Fixed bug <?php githubissuel('php/php-src', 12870); ?> (Creating an xmlns attribute results in a DOMException).</li> 988 <li>Fix crash when toggleAttribute() is used without a document.</li> 989 <li>Fix crash in adoptNode with attribute references.</li> 990 <li>Fixed bug <?php githubissuel('php/php-src', 13012); ?> (DOMNode::isEqualNode() is incorrect when attribute order is different).</li> 991</ul></li> 992<li>FFI: 993<ul> 994 <li>Fixed bug <?php githubissuel('php/php-src', 9698); ?> (stream_wrapper_register crashes with FFI\CData).</li> 995 <li>Fixed bug <?php githubissuel('php/php-src', 12905); ?> (FFI::new interacts badly with observers).</li> 996</ul></li> 997<li>Intl: 998<ul> 999 <li>Fixed <?php githubissuel('php/php-src', 12943); ?> (IntlDateFormatter::__construct accepts 'C' as valid locale).</li> 1000</ul></li> 1001<li>Hash: 1002<ul> 1003 <li>Fixed bug <?php githubissuel('php/php-src', 12936); ?> (hash() function hangs endlessly if using sha512 on strings >= 4GiB).</li> 1004</ul></li> 1005<li>ODBC: 1006<ul> 1007 <li>Fix crash on Apache shutdown with persistent connections.</li> 1008</ul></li> 1009<li>Opcache: 1010<ul> 1011 <li>Fixed oss-fuzz #64727 (JIT undefined array key warning may overwrite DIM with NULL when DIM is the same var as result).</li> 1012 <li>Added workaround for SELinux mprotect execheap issue. See https://bugzilla.kernel.org/show_bug.cgi?id=218258.</li> 1013</ul></li> 1014<li>OpenSSL: 1015<ul> 1016 <li>Fixed bug <?php githubissuel('php/php-src', 12987); ?> (openssl_csr_sign might leak new cert on error).</li> 1017</ul></li> 1018<li>PDO: 1019<ul> 1020 <li>Fix <?php githubissuel('php/php-src', 12969); ?> (Fixed PDO::getAttribute() to get PDO::ATTR_STRINGIFY_FETCHES).</li> 1021</ul></li> 1022<li>PDO_ODBC: 1023<ul> 1024 <li>Fixed bug <?php githubissuel('php/php-src', 12767); ?> (Unable to turn on autocommit mode with setAttribute()).</li> 1025</ul></li> 1026<li>PGSQL: 1027<ul> 1028 <li>Fixed auto_reset_persistent handling and allow_persistent type.</li> 1029 <li>Fixed bug <?php githubissuel('php/php-src', 12974); ?> (Apache crashes on shutdown when using pg_pconnect()).</li> 1030</ul></li> 1031<li>Phar: 1032<ul> 1033 <li><?php bugfix(77432); ?> (Segmentation fault on including phar file).</li> 1034</ul></li> 1035<li>PHPDBG: 1036<ul> 1037 <li>Fixed bug <?php githubissuel('php/php-src', 12962); ?> (Double free of init_file in phpdbg_prompt.c).</li> 1038</ul></li> 1039<li>SimpleXML: 1040<ul> 1041 <li>Fix getting the address of an uninitialized property of a SimpleXMLElement resulting in a crash.</li> 1042 <li>Fixed bug <?php githubissuel('php/php-src', 12929); ?> (SimpleXMLElement with stream_wrapper_register can segfault).</li> 1043</ul></li> 1044<li>Tidy: 1045<ul> 1046 <li>Fixed bug <?php githubissuel('php/php-src', 12980); ?> (tidynode.props.attribute is missing "Boolean Attributes" and empty attributes).</li> 1047</ul></li> 1048</ul> 1049<!-- }}} --></section> 1050 1051 1052 1053<section class="version" id="8.3.1"><!-- {{{ 8.3.1 --> 1054<h3>Version 8.3.1</h3> 1055<b><?php release_date('21-Dec-2023'); ?></b> 1056<ul><li>Core: 1057<ul> 1058 <li>Fixed bug <?php githubissuel('php/php-src', 12758); ?> / <?php githubissuel('php/php-src', 12768); ?> (Invalid opline in OOM handlers within ZEND_FUNC_GET_ARGS and ZEND_BIND_STATIC).</li> 1059 <li>Fix various missing NULL checks.</li> 1060 <li>Fixed bug <?php githubissuel('php/php-src', 12835); ?> (Leak of call->extra_named_params on internal __call).</li> 1061 <li>Fixed bug <?php githubissuel('php/php-src', 12826); ?> (Weird pointers issue in nested loops).</li> 1062</ul></li> 1063<li>FPM: 1064<ul> 1065 <li>Fixed bug <?php githubissuel('php/php-src', 12705); ?> (Segmentation fault in fpm_status_export_to_zval).</li> 1066</ul></li> 1067<li>FTP: 1068<ul> 1069 <li>Fixed bug <?php githubissuel('php/php-src', 9348); ?> (FTP & SSL session reuse).</li> 1070</ul></li> 1071<li>LibXML: 1072<ul> 1073 <li>Fixed test failures for libxml2 2.12.0.</li> 1074</ul></li> 1075<li>MySQLnd: 1076<ul> 1077 <li>Avoid using uninitialised struct.</li> 1078 <li>Fixed bug <?php githubissuel('php/php-src', 12791); ?> (Possible dereference of NULL in MySQLnd debug code).</li> 1079</ul></li> 1080<li>Opcache: 1081<ul> 1082 <li>Fixed JIT bug (Function JIT emits "Uninitialized string offset" warning at the same time as invalid offset Error).</li> 1083 <li>Fixed JIT bug (JIT emits "Attempt to assign property of non-object" warning at the same time as Error is being thrown).</li> 1084</ul></li> 1085<li>PDO PGSQL: 1086<ul> 1087 <li>Fixed the default value of $fetchMode in PDO::pgsqlGetNotify() (kocsismate)</li> 1088</ul></li> 1089<li>SOAP: 1090<ul> 1091 <li>Fixed bug <?php githubissuel('php/php-src', 12838); ?> ([SOAP] Temporary WSDL cache files not being deleted).</li> 1092</ul></li> 1093<li>Standard: 1094<ul> 1095 <li>Fixed <?php githubissuel('php/php-src', 12745); ?> (http_build_query() default null argument for $arg_separator is implicitly coerced to string).</li> 1096</ul></li> 1097</ul> 1098<!-- }}} --></section> 1099 1100 1101 1102<section class="version" id="8.3.0"><!-- {{{ 8.3.0 --> 1103<h3>Version 8.3.0</h3> 1104<b><?php release_date('23-Nov-2023'); ?></b> 1105<ul><li>Bcmath: 1106<ul> 1107 <li>Fixed <?php githubissuel('php/php-src', 11761); ?> (removing trailing zeros from numbers) (jorgsowa)</li> 1108</ul></li> 1109<li>CLI: 1110<ul> 1111 <li>Added pdeathsig to builtin server to terminate workers when the master process is killed.</li> 1112 <li>Fixed bug <?php githubissuel('php/php-src', 11104); ?> (STDIN/STDOUT/STDERR is not available for CLI without a script).</li> 1113 <li>Implement <?php githubissuel('php/php-src', 10024); ?> (support linting multiple files at once using php -l).</li> 1114</ul></li> 1115<li>Core: 1116<ul> 1117 <li>Fix <?php githubissuel('php/php-src', 11388); ?> (Allow "final" modifier when importing a method from a trait).</li> 1118 <li>Fixed bug <?php githubissuel('php/php-src', 11406); ?> (segfault with unpacking and magic method closure).</li> 1119 <li>Fixed bug <?php githubissuel('php/php-src', 9388); ?> (Improve unset property and __get type incompatibility error message).</li> 1120 <li>SA_ONSTACK is now set for signal handlers to be friendlier to other in-process code such as Go's cgo.</li> 1121 <li>SA_ONSTACK is now set when signals are disabled.</li> 1122 <li>Fix <?php githubissuel('php/php-src', 9649); ?>: Signal handlers now do a no-op instead of crashing when executed on threads not managed by TSRM.</li> 1123 <li>Added shadow stack support for fibers.</li> 1124 <li>Fix bug <?php githubissuel('php/php-src', 9965); ?> (Fix accidental caching of default arguments with side effects).</li> 1125 <li>Implement <?php githubissuel('php/php-src', 10217); ?> (Use strlen() for determining the class_name length).</li> 1126 <li>Fix bug <?php githubissuel('php/php-src', 8821); ?> (Improve line numbers for errors in constant expressions).</li> 1127 <li>Fix bug <?php githubissuel('php/php-src', 10083); ?> (Allow comments between & and parameter).</li> 1128 <li>Zend Max Execution Timers is now enabled by default for ZTS builds on Linux.</li> 1129 <li>Fix bug <?php githubissuel('php/php-src', 10469); ?> (Disallow .. in open_basedir paths set at runtime).</li> 1130 <li>Fix bug <?php githubissuel('php/php-src', 10168); ?>, <?php githubissuel('php/php-src', 10582); ?> (Various segfaults with destructors and VM return values).</li> 1131 <li>Fix bug <?php githubissuel('php/php-src', 10935); ?> (Use of trait doesn't redeclare static property if class has inherited it from its parent).</li> 1132 <li>Fix bug <?php githubissuel('php/php-src', 11154); ?> (Negative indices on empty array don't affect next chosen index).</li> 1133 <li>Fix bug <?php githubissuel('php/php-src', 8846); ?> (Implement delayed early binding for classes without parents).</li> 1134 <li>Fix bug #79836 (Segfault in concat_function).</li> 1135 <li>Fix bug #81705 (type confusion/UAF on set_error_handler with concat operation).</li> 1136 <li>Fix <?php githubissuel('php/php-src', 11348); ?> (Closure created from magic method does not accept named arguments).</li> 1137 <li>Fix <?php githubissuel('php/php-src', 11388); ?> (Allow "final" modifier when importing a method from a trait).</li> 1138 <li>Fixed bug <?php githubissuel('php/php-src', 11406); ?> (segfault with unpacking and magic method closure).</li> 1139 <li>Fixed bug <?php githubissuel('php/php-src', 11507); ?> (String concatenation performance regression in 8.3).</li> 1140 <li>Fixed <?php githubissuel('php/php-src', 11488); ?> (Missing "Optional parameter before required" deprecation on union null type).</li> 1141 <li>Implement the #[\Override] attribute RFC.</li> 1142 <li>Fixed bug <?php githubissuel('php/php-src', 11601); ?> (Incorrect handling of unwind and graceful exit exceptions).</li> 1143 <li>Added zend_call_stack_get implementation for OpenBSD.</li> 1144 <li>Add stack limit check in zend_eval_const_expr().</li> 1145 <li>Expose time spent collecting cycles in gc_status().</li> 1146 <li>Remove WeakMap entries whose key is only reachable through the entry value.</li> 1147 <li>Resolve open_basedir paths on INI update.</li> 1148 <li>Fixed oss-fuzz #60741 (Leak in open_basedir).</li> 1149 <li>Fixed segfault during freeing of some incompletely initialized objects due to OOM error (PDO, SPL, XSL).</li> 1150 <li>Introduced Zend guard recursion protection to fix __debugInfo issue.</li> 1151 <li>Fixed oss-fuzz #61712 (assertion failure with error handler during binary op).</li> 1152 <li>Fixed <?php githubissuel('php/php-src', 11847); ?> (DTrace enabled build is broken).</li> 1153 <li>Fixed OSS Fuzz #61865 (Undef variable in ++/-- for declared property that is unset in error handler).</li> 1154 <li>Fixed warning emitted when checking if a user stream is castable.</li> 1155 <li>Fixed bug <?php githubissuel('php/php-src', 12123); ?> (Compile error on MacOS with C++ extension when using ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX).</li> 1156 <li>Fixed bug <?php githubissuel('php/php-src', 12189); ?> (#[Override] attribute in trait does not check for parent class implementations).</li> 1157 <li>Fixed OSS Fuzz #62294 (Unsetting variable after ++/-- on string variable warning).</li> 1158 <li>Fixed buffer underflow when compiling memoized expression.</li> 1159 <li>Fixed oss-fuzz #63802 (OP1 leak in error path of post inc/dec).</li> 1160</ul></li> 1161<li>Curl: 1162<ul> 1163 <li>Added Curl options and constants up to (including) version 7.87.</li> 1164</ul></li> 1165<li>Date: 1166<ul> 1167 <li>Implement More Appropriate Date/Time Exceptions RFC.</li> 1168</ul></li> 1169<li>DOM: 1170<ul> 1171 <li>Fix bug <?php githubissuel('php/php-src', 8388); ?> (DOMAttr unescapes character reference).</li> 1172 <li>Fix bug <?php githubissuel('php/php-src', 11308); ?> (getElementsByTagName() is O(N^2)).</li> 1173 <li>Fix #79700 (wrong use of libxml oldNs leads to performance problem).</li> 1174 <li>Fix #77894 (DOMNode::C14N() very slow on generated DOMDocuments even after normalisation).</li> 1175 <li>Revert changes to DOMAttr::$value and DOMAttr::$nodeValue expansion.</li> 1176 <li>Fixed bug <?php githubissuel('php/php-src', 11500); ?> (Namespace reuse in createElementNS() generates wrong output).</li> 1177 <li>Implemented DOMDocument::adoptNode(). Previously this always threw a "not yet implemented" exception.</li> 1178 <li>Fixed bug <?php githubissuel('php/php-src', 9628); ?> (Implicitly removing nodes from \DOMDocument breaks existing references).</li> 1179 <li>Added DOMNode::contains() and DOMNameSpaceNode::contains().</li> 1180 <li>Added DOMElement::getAttributeNames().</li> 1181 <li>Added DOMNode::getRootNode().</li> 1182 <li>Added DOMElement::className and DOMElement::id.</li> 1183 <li>Added DOMParentNode::replaceChildren().</li> 1184 <li>Added DOMNode::isConnected and DOMNameSpaceNode::isConnected.</li> 1185 <li>Added DOMNode::parentElement and DOMNameSpaceNode::parentElement.</li> 1186 <li>Added DOMNode::isEqualNode().</li> 1187 <li>Added DOMElement::insertAdjacentElement() and DOMElement::insertAdjacentText().</li> 1188 <li>Added DOMElement::toggleAttribute().</li> 1189 <li>Fixed bug <?php githubissuel('php/php-src', 11792); ?> (LIBXML_NOXMLDECL is not implemented or broken).</li> 1190 <li>adoptNode now respects the strict error checking property.</li> 1191 <li>Align DOMChildNode parent checks with spec.</li> 1192 <li><?php bugfix(80927); ?> (Removing documentElement after creating attribute node: possible use-after-free).</li> 1193 <li>Fix various namespace prefix conflict resolution bugs.</li> 1194 <li>Fix calling createAttributeNS() without prefix causing the default namespace of the element to change.</li> 1195 <li>Fixed <?php githubissuel('php/php-src', 11952); ?> (Confusing warning when blocking entity loading via libxml_set_external_entity_loader).</li> 1196 <li>Fix broken cache invalidation with deallocated and reallocated document node.</li> 1197 <li>Fix compile error when php_libxml.h header is included in C++.</li> 1198 <li><?php bugfix(47531); ?> (No way of removing redundant xmlns: declarations).</li> 1199</ul></li> 1200<li>Exif: 1201<ul> 1202 <li>Removed unneeded codepaths in exif_process_TIFF_in_JPEG().</li> 1203</ul></li> 1204<li>FFI: 1205<ul> 1206 <li>Implement <?php githubissuel('php/php-src', 11934); ?> (Allow to pass CData into struct and/or union fields).</li> 1207</ul></li> 1208<li>Fileinfo: 1209<ul> 1210 <li>Upgrade bundled libmagic to 5.43.</li> 1211 <li>Fix <?php githubissuel('php/php-src', 11408); ?> (Unable to build PHP 8.3.0 alpha 1 / fileinfo extension).</li> 1212</ul></li> 1213<li>FPM: 1214<ul> 1215 <li>The status.listen shared pool now uses the same php_values (including expose_php) and php_admin_value as the pool it is shared with.</li> 1216 <li>Added warning to log when fpm socket was not registered on the expected path.</li> 1217 <li><?php bugfix(76067); ?> (system() function call leaks php-fpm listening sockets).</li> 1218 <li>Fixed <?php githubissuel('php/php-src', 12077); ?> (PHP 8.3.0RC1 borked socket-close-on-exec.phpt).</li> 1219</ul></li> 1220<li>GD: 1221<ul> 1222 <li>Removed imagerotate "ignore_transparent" argument since it has no effect.</li> 1223</ul></li> 1224<li>Intl: 1225<ul> 1226 <li>Added pattern format error infos for numfmt_set_pattern.</li> 1227 <li>Added MIXED_NUMBERS and HIDDEN_OVERLAY constants for the Spoofchecker's class.</li> 1228 <li>Updated datefmt_set_timezone/IntlDateformatter::setTimezone returns type. (David Carlier).</li> 1229 <li>Updated IntlBreakInterator::setText return type.</li> 1230 <li>Updated IntlChar::enumCharNames return type.</li> 1231 <li>Removed the BC break on IntlDateFormatter::construct which threw an exception with an invalid locale.</li> 1232</ul></li> 1233<li>JSON: 1234<ul> 1235 <li>Added json_validate().</li> 1236</ul></li> 1237<li>LDAP: 1238<ul> 1239 <li>Deprecate calling ldap_connect() with separate hostname and port.</li> 1240</ul></li> 1241<li>LibXML: 1242<ul> 1243 <li>Fix compile error with -Werror=incompatible-function-pointer-types and old libxml2.</li> 1244</ul></li> 1245<li>MBString: 1246<ul> 1247 <li>mb_detect_encoding is better able to identify the correct encoding for Turkish text.</li> 1248 <li>mb_detect_encoding's "non-strict" mode now behaves as described in the documentation. Previously, it would return false if the same byte (for example, the first byte) of the input string was invalid in all candidate encodings. More generally, it would eliminate candidate encodings from consideration when an invalid byte was seen, and if the same input byte eliminated all remaining encodings still under consideration, it would return false. On the other hand, if all candidate encodings but one were eliminated from consideration, it would return the last remaining one without regard for how many encoding errors might be encountered later in the string. This is different from the behavior described in the documentation, which says: "If strict is set to false, the closest matching encoding will be returned." (Alex Dowad)</li> 1249 <li>mb_strtolower, mb_strtotitle, and mb_convert_case implement conditional casing rules for the Greek letter sigma. For mb_convert_case, conditional casing only applies to MB_CASE_LOWER and MB_CASE_TITLE modes, not to MB_CASE_LOWER_SIMPLE and MB_CASE_TITLE_SIMPLE.</li> 1250 <li>mb_detect_encoding is better able to identify UTF-8 and UTF-16 strings with a byte-order mark.</li> 1251 <li>mb_decode_mimeheader interprets underscores in QPrint-encoded MIME encoded words as required by RFC 2047; they are converted to spaces. Underscores must be encoded as "=5F" in such MIME encoded words.</li> 1252 <li>mb_encode_mimeheader no longer drops NUL (zero) bytes when QPrint-encoding the input string. This previously caused strings in certain text encodings, especially UTF-16 and UTF-32, to be corrupted by mb_encode_mimeheader.</li> 1253 <li>Implement mb_str_pad() RFC.</li> 1254 <li>Fixed bug <?php githubissuel('php/php-src', 11514); ?> (PHP 8.3 build fails with --enable-mbstring enabled).</li> 1255 <li>Fix use-after-free of mb_list_encodings() return value.</li> 1256 <li>Fixed bug <?php githubissuel('php/php-src', 11992); ?> (utf_encodings.phpt fails on Windows 32-bit).</li> 1257</ul></li> 1258<li>mysqli: 1259<ul> 1260 <li>mysqli_fetch_object raises a ValueError instead of an Exception.</li> 1261</ul></li> 1262<li>Opcache: 1263<ul> 1264 <li>Added start, restart and force restart time to opcache's phpinfo section.</li> 1265 <li>Fix <?php githubissuel('php/php-src', 9139); ?>: Allow FFI in opcache.preload when opcache.preload_user=root.</li> 1266 <li>Made opcache.preload_user always optional in the cli and phpdbg SAPIs.</li> 1267 <li>Allows W/X bits on page creation on FreeBSD despite system settings.</li> 1268 <li>Added memfd api usage, on Linux, for zend_shared_alloc_create_lock() to create an abstract anonymous file for the opcache's lock.</li> 1269 <li>Avoid resetting JIT counter handlers from multiple processes/threads.</li> 1270 <li>Fixed COPY_TMP type inference for references.</li> 1271</ul></li> 1272<li>OpenSSL: 1273<ul> 1274 <li>Added OPENSSL_CMS_OLDMIMETYPE and PKCS7_NOOLDMIMETYPE contants to switch between mime content types.</li> 1275 <li>Fixed <?php githubissuel('php/php-src', 11054); ?>: Reset OpenSSL errors when using a PEM public key.</li> 1276 <li>Added support for additional EC parameters in openssl_pkey_new.</li> 1277</ul></li> 1278<li>PCNTL: 1279<ul> 1280 <li>SA_ONSTACK is now set for pcntl_signal.</li> 1281 <li>Added SIGINFO constant.</li> 1282</ul></li> 1283<li>PCRE: 1284<ul> 1285 <li>Update bundled libpcre2 to 10.42.</li> 1286</ul></li> 1287<li>PGSQL: 1288<ul> 1289 <li>pg_fetch_object raises a ValueError instead of an Exception.</li> 1290 <li>pg_cancel use thread safe PQcancel api instead.</li> 1291 <li>pg_trace new PGSQL_TRACE_SUPPRESS_TIMESTAMPS/PGSQL_TRACE_REGRESS_MODE contants support.</li> 1292 <li>pg_set_error_verbosity adding PGSQL_ERRORS_STATE constant.</li> 1293 <li>pg_convert/pg_insert E_WARNING on type errors had been converted to ValueError/TypeError exceptions.</li> 1294 <li>Added pg_set_error_context_visibility to set the context's visibility within the error messages.</li> 1295</ul></li> 1296<li>Phar: 1297<ul> 1298 <li>Fix memory leak in phar_rename_archive().</li> 1299</ul></li> 1300<li>POSIX: 1301<ul> 1302 <li>Added posix_sysconf.</li> 1303 <li>Added posix_pathconf.</li> 1304 <li>Added posix_fpathconf.</li> 1305 <li>Fixed zend_parse_arg_long's bool pointer argument assignment.</li> 1306 <li>Added posix_eaccess.</li> 1307</ul></li> 1308<li>Random: 1309<ul> 1310 <li>Added Randomizer::getBytesFromString().</li> 1311 <li>Added Randomizer::nextFloat(), ::getFloat(), and IntervalBoundary.</li> 1312 <li>Enable getrandom() for NetBSD (from 10.x).</li> 1313 <li>Deprecate MT_RAND_PHP.</li> 1314 <li>Fix Randomizer::getFloat() returning incorrect results under certain circumstances.</li> 1315</ul></li> 1316<li>Reflection: 1317<ul> 1318 <li>Fix <?php githubissuel('php/php-src', 9470); ?> (ReflectionMethod constructor should not find private parent method).</li> 1319 <li>Fix <?php githubissuel('php/php-src', 10259); ?> (ReflectionClass::getStaticProperties doesn't need null return type).</li> 1320</ul></li> 1321<li>SAPI: 1322<ul> 1323 <li>Fixed <?php githubissuel('php/php-src', 11141); ?> (Could not open input file: should be sent to stderr).</li> 1324</ul></li> 1325<li>Session: 1326<ul> 1327 <li>Fixed bug <?php githubissuel('php/php-src', 11529); ?> (Crash after dealing with an Apache request).</li> 1328</ul></li> 1329<li>SimpleXML: 1330<ul> 1331 <li>Fixed bug <?php githubissuel('php/php-src', 12192); ?> (SimpleXML infinite loop when getName() is called within foreach).</li> 1332 <li>Fixed bug <?php githubissuel('php/php-src', 12208); ?> (SimpleXML infinite loop when a cast is used inside a foreach).</li> 1333 <li><?php bugfix(55098); ?> (SimpleXML iteration produces infinite loop).</li> 1334</ul></li> 1335<li>Sockets: 1336<ul> 1337 <li>Added SO_ATTACH_REUSEPORT_CBPF socket option, to give tighter control over socket binding for a cpu core.</li> 1338 <li>Added SKF_AD_QUEUE for cbpf filters.</li> 1339 <li>Added socket_atmark if send/recv needs using MSG_OOB.</li> 1340 <li>Added TCP_QUICKACK constant, to give tigher control over ACK delays.</li> 1341 <li>Added DONTFRAGMENT support for path MTU discovery purpose.</li> 1342 <li>Added AF_DIVERT for raw socket for divert ports.</li> 1343 <li>Added SOL_UPDLITE, UDPLITE_RECV_CSCOV and UDPLITE_SEND_CSCOV for updlite protocol support.</li> 1344 <li>Added SO_RERROR, SO_ZEROIZE and SO_SPLICE netbsd and openbsd constants.</li> 1345 <li>Added TCP_REPAIR for quietly close a connection.</li> 1346 <li>Added SO_REUSEPORT_LB freebsd constant.</li> 1347 <li>Added IP_BIND_ADDRESS_NO_PORT.</li> 1348</ul></li> 1349<li>SPL: 1350<ul> 1351 <li>Fixed <?php githubissuel('php/php-src', 11573); ?> (RecursiveDirectoryIterator::hasChildren is slow).</li> 1352</ul></li> 1353<li>Standard: 1354<ul> 1355 <li>E_NOTICEs emitted by unserialize() have been promoted to E_WARNING.</li> 1356 <li>unserialize() now emits a new E_WARNING if the input contains unconsumed bytes.</li> 1357 <li>Make array_pad's $length warning less confusing.</li> 1358 <li>E_WARNING emitted by strtok in the caase both arguments are not provided when starting tokenisation.</li> 1359 <li>password_hash() will now chain the original RandomException to the ValueError on salt generation failure.</li> 1360 <li>Fix <?php githubissuel('php/php-src', 10239); ?> (proc_close after proc_get_status always returns -1).</li> 1361 <li>Improve the warning message for unpack() in case not enough values were provided.</li> 1362 <li>Fix <?php githubissuel('php/php-src', 11010); ?> (parse_ini_string() now preserves formatting of unquoted strings starting with numbers when the INI_SCANNER_TYPED flag is specified).</li> 1363 <li>Fix <?php githubissuel('php/php-src', 10742); ?> (http_response_code emits no error when headers were already sent).</li> 1364 <li>Added support for rounding negative places in number_format().</li> 1365 <li>Prevent precision loss on formatting decimal integers in number_format().</li> 1366 <li>Added usage of posix_spawn for proc_open when supported by OS.</li> 1367 <li>Added $before_needle argument to strrchr().</li> 1368 <li>Fixed <?php githubissuel('php/php-src', 11982); ?> (str_getcsv returns null byte for unterminated enclosure).</li> 1369 <li>Fixed str_decrement() on "1".</li> 1370</ul></li> 1371<li>Streams: 1372<ul> 1373 <li><?php bugfix(51056); ?>: blocking fread() will block even if data is available.</li> 1374 <li>Added storing of the original path used to open xport stream.</li> 1375 <li>Implement <?php githubissuel('php/php-src', 8641); ?> (STREAM_NOTIFY_COMPLETED over HTTP never emitted).</li> 1376 <li>Fix bug <?php githubissuel('php/php-src', 10406); ?> (fgets on a redis socket connection fails on PHP 8.3).</li> 1377 <li>Implemented <?php githubissuel('php/php-src', 11242); ?> (_php_stream_copy_to_mem: Allow specifying a maximum length without allocating a buffer of that size).</li> 1378 <li><?php bugfix(52335); ?> (fseek() on memory stream behavior different than file).</li> 1379 <li><?php bugfix(76857); ?> (Can read "non-existant" files).</li> 1380</ul></li> 1381<li>XSLTProcessor: 1382<ul> 1383 <li><?php bugfix(69168); ?> (DomNode::getNodePath() returns invalid path).</li> 1384</ul></li> 1385<li>ZIP: 1386<ul> 1387 <li>zip extension version 1.22.0 for libzip 1.10.0.</li> 1388 <li>add new error macros (ER_DATA_LENGTH and ER_NOT_ALLOWED).</li> 1389 <li>add new archive global flags (ER_AFL_*).</li> 1390 <li>add ZipArchive::setArchiveFlag and ZipArchive::getArchiveFlag methods.</li> 1391</ul></li> 1392</ul> 1393<!-- }}} --></section> 1394 1395 1396 1397<a id="PHP_8_2"></a> 1398 1399<section class="version" id="8.2.26"><!-- {{{ 8.2.26 --> 1400<h3>Version 8.2.26</h3> 1401<b><?php release_date('21-Nov-2024'); ?></b> 1402<ul><li>CLI: 1403<ul> 1404 <li>Fixed bug <?php githubissuel('php/php-src', 16373); ?> (Shebang is not skipped for router script in cli-server started through shebang).</li> 1405 <li>Fixed bug <?php githubsecurityl('php/php-src', '4w77-75f9-2c8w'); ?> (Heap-Use-After-Free in sapi_read_post_data Processing in CLI SAPI Interface).</li> 1406</ul></li> 1407<li>COM: 1408<ul> 1409 <li>Fixed out of bound writes to SafeArray data.</li> 1410</ul></li> 1411<li>Core: 1412<ul> 1413 <li>Fixed bug <?php githubissuel('php/php-src', 16168); ?> (php 8.1 and earlier crash immediately when compiled with Xcode 16 clang on macOS 15).</li> 1414 <li>Fixed bug <?php githubissuel('php/php-src', 16371); ?> (Assertion failure in Zend/zend_weakrefs.c:646).</li> 1415 <li>Fixed bug <?php githubissuel('php/php-src', 16515); ?> (Incorrect propagation of ZEND_ACC_RETURN_REFERENCE for call trampoline).</li> 1416 <li>Fixed bug <?php githubissuel('php/php-src', 16509); ?> (Incorrect line number in function redeclaration error).</li> 1417 <li>Fixed bug <?php githubissuel('php/php-src', 16508); ?> (Incorrect line number in inheritance errors of delayed early bound classes).</li> 1418 <li>Fixed bug <?php githubissuel('php/php-src', 16648); ?> (Use-after-free during array sorting).</li> 1419</ul></li> 1420<li>Curl: 1421<ul> 1422 <li>Fixed bug <?php githubissuel('php/php-src', 16302); ?> (CurlMultiHandle holds a reference to CurlHandle if curl_multi_add_handle fails).</li> 1423</ul></li> 1424<li>Date: 1425<ul> 1426 <li>Fixed bug <?php githubissuel('php/php-src', 16454); ?> (Unhandled INF in date_sunset() with tiny $utcOffset).</li> 1427 <li>Fixed bug <?php githubissuel('php/php-src', 16037); ?> (Assertion failure in ext/date/php_date.c).</li> 1428 <li>Fixed bug <?php githubissuel('php/php-src', 14732); ?> (date_sun_info() fails for non-finite values).</li> 1429</ul></li> 1430<li>DBA: 1431<ul> 1432 <li>Fixed bug <?php githubissuel('php/php-src', 16390); ?> (dba_open() can segfault for "pathless" streams).</li> 1433</ul></li> 1434<li>DOM: 1435<ul> 1436 <li>Fixed bug <?php githubissuel('php/php-src', 16316); ?> (DOMXPath breaks when not initialized properly).</li> 1437 <li>Fixed bug <?php githubissuel('php/php-src', 16473); ?> (dom_import_simplexml stub is wrong).</li> 1438 <li>Fixed bug <?php githubissuel('php/php-src', 16533); ?> (Segfault when adding attribute to parent that is not an element).</li> 1439 <li>Fixed bug <?php githubissuel('php/php-src', 16535); ?> (UAF when using document as a child).</li> 1440 <li>Fixed bug <?php githubissuel('php/php-src', 16593); ?> (Assertion failure in DOM->replaceChild).</li> 1441 <li>Fixed bug <?php githubissuel('php/php-src', 16595); ?> (Another UAF in DOM -> cloneNode).</li> 1442</ul></li> 1443<li>EXIF: 1444<ul> 1445 <li>Fixed bug <?php githubissuel('php/php-src', 16409); ?> (Segfault in exif_thumbnail when not dealing with a real file).</li> 1446</ul></li> 1447<li>FFI: 1448<ul> 1449 <li>Fixed bug <?php githubissuel('php/php-src', 16397); ?> (Segmentation fault when comparing FFI object).</li> 1450</ul></li> 1451<li>Filter: 1452<ul> 1453 <li>Fixed bug <?php githubissuel('php/php-src', 16523); ?> (FILTER_FLAG_HOSTNAME accepts ending hyphen).</li> 1454</ul></li> 1455<li>FPM: 1456<ul> 1457 <li>Fixed bug <?php githubissuel('php/php-src', 16628); ?> (FPM logs are getting corrupted with this log statement).</li> 1458</ul></li> 1459<li>GD: 1460<ul> 1461 <li>Fixed bug <?php githubissuel('php/php-src', 16334); ?> (imageaffine overflow on matrix elements).</li> 1462 <li>Fixed bug <?php githubissuel('php/php-src', 16427); ?> (Unchecked libavif return values).</li> 1463 <li>Fixed bug <?php githubissuel('php/php-src', 16559); ?> (UBSan abort in ext/gd/libgd/gd_interpolation.c:1007).</li> 1464</ul></li> 1465<li>GMP: 1466<ul> 1467 <li>Fixed floating point exception bug with gmp_pow when using large exposant values. (David Carlier).</li> 1468 <li>Fixed bug <?php githubissuel('php/php-src', 16411); ?> (gmp_export() can cause overflow).</li> 1469 <li>Fixed bug <?php githubissuel('php/php-src', 16501); ?> (gmp_random_bits() can cause overflow).</li> 1470 <li>Fixed gmp_pow() overflow bug with large base/exponents.</li> 1471 <li>Fixed segfaults and other issues related to operator overloading with GMP objects.</li> 1472</ul></li> 1473<li>LDAP: 1474<ul> 1475 <li>Fixed bug <?php githubsecurityl('php/php-src', 'g665-fm4p-vhff'); ?> (OOB access in ldap_escape). (CVE-2024-8932)</li> 1476</ul></li> 1477<li>MBstring: 1478<ul> 1479 <li>Fixed bug <?php githubissuel('php/php-src', 16361); ?> (mb_substr overflow on start/length arguments).</li> 1480</ul></li> 1481<li>MySQLnd: 1482<ul> 1483 <li>Fixed bug <?php githubsecurityl('php/php-src', 'h35g-vwh6-m678'); ?> (Leak partial content of the heap through heap buffer over-read). (CVE-2024-8929)</li> 1484</ul></li> 1485<li>OpenSSL: 1486<ul> 1487 <li>Fixed bug <?php githubissuel('php/php-src', 16357); ?> (openssl may modify member types of certificate arrays).</li> 1488 <li>Fixed bug <?php githubissuel('php/php-src', 16433); ?> (Large values for openssl_csr_sign() $days overflow).</li> 1489 <li>Fix various memory leaks on error conditions in openssl_x509_parse().</li> 1490</ul></li> 1491<li>PDO DBLIB: 1492<ul> 1493 <li>Fixed bug <?php githubsecurityl('php/php-src', '5hqh-c84r-qjcv'); ?> (Integer overflow in the dblib quoter causing OOB writes). (CVE-2024-11236)</li> 1494</ul></li> 1495<li>PDO Firebird: 1496<ul> 1497 <li>Fixed bug <?php githubsecurityl('php/php-src', '5hqh-c84r-qjcv'); ?> (Integer overflow in the firebird quoter causing OOB writes). (CVE-2024-11236)</li> 1498</ul></li> 1499<li>PDO ODBC: 1500<ul> 1501 <li>Fixed bug <?php githubissuel('php/php-src', 16450); ?> (PDO_ODBC can inject garbage into field values).</li> 1502</ul></li> 1503<li>Phar: 1504<ul> 1505 <li>Fixed bug <?php githubissuel('php/php-src', 16406); ?> (Assertion failure in ext/phar/phar.c:2808).</li> 1506</ul></li> 1507<li>PHPDBG: 1508<ul> 1509 <li>Fixed bug <?php githubissuel('php/php-src', 16174); ?> (Empty string is an invalid expression for ev).</li> 1510</ul></li> 1511<li>Reflection: 1512<ul> 1513 <li>Fixed bug <?php githubissuel('php/php-src', 16601); ?> (Memory leak in Reflection constructors).</li> 1514</ul></li> 1515<li>Session: 1516<ul> 1517 <li>Fixed bug <?php githubissuel('php/php-src', 16385); ?> (Unexpected null returned by session_set_cookie_params).</li> 1518 <li>Fixed bug <?php githubissuel('php/php-src', 16290); ?> (overflow on cookie_lifetime ini value).</li> 1519</ul></li> 1520<li>SOAP: 1521<ul> 1522 <li>Fixed bug <?php githubissuel('php/php-src', 16429); ?> (Segmentation fault access null pointer in SoapClient).</li> 1523</ul></li> 1524<li>Sockets: 1525<ul> 1526 <li>Fixed bug with overflow socket_recvfrom $length argument.</li> 1527</ul></li> 1528<li>SPL: 1529<ul> 1530 <li>Fixed bug <?php githubissuel('php/php-src', 16337); ?> (Use-after-free in SplHeap).</li> 1531 <li>Fixed bug <?php githubissuel('php/php-src', 16464); ?> (Use-after-free in SplDoublyLinkedList::offsetSet()).</li> 1532 <li>Fixed bug <?php githubissuel('php/php-src', 16479); ?> (Use-after-free in SplObjectStorage::setInfo()).</li> 1533 <li>Fixed bug <?php githubissuel('php/php-src', 16478); ?> (Use-after-free in SplFixedArray::unset()).</li> 1534 <li>Fixed bug <?php githubissuel('php/php-src', 16588); ?> (UAF in Observer->serialize).</li> 1535 <li>Fix <?php githubissuel('php/php-src', 16477); ?> (Segmentation fault when calling __debugInfo() after failed SplFileObject::__constructor).</li> 1536 <li>Fixed bug <?php githubissuel('php/php-src', 16589); ?> (UAF in SplDoublyLinked->serialize()).</li> 1537 <li>Fixed bug <?php githubissuel('php/php-src', 14687); ?> (segfault on SplObjectIterator instance).</li> 1538 <li>Fixed bug <?php githubissuel('php/php-src', 16604); ?> (Memory leaks in SPL constructors).</li> 1539 <li>Fixed bug <?php githubissuel('php/php-src', 16646); ?> (UAF in ArrayObject::unset() and ArrayObject::exchangeArray()).</li> 1540</ul></li> 1541<li>Standard: 1542<ul> 1543 <li>Fixed bug <?php githubissuel('php/php-src', 16293); ?> (Failed assertion when throwing in assert() callback with bail enabled).</li> 1544</ul></li> 1545<li>Streams: 1546<ul> 1547 <li>Fixed bug <?php githubsecurityl('php/php-src', 'c5f2-jwm7-mmq2'); ?> (Configuring a proxy in a stream context might allow for CRLF injection in URIs). (CVE-2024-11234)</li> 1548 <li>Fixed bug <?php githubsecurityl('php/php-src', 'r977-prxv-hc43'); ?> (Single byte overread with convert.quoted-printable-decode filter). (CVE-2024-11233)</li> 1549</ul></li> 1550<li>SysVMsg: 1551<ul> 1552 <li>Fixed bug <?php githubissuel('php/php-src', 16592); ?> (msg_send() crashes when a type does not properly serialized).</li> 1553</ul></li> 1554<li>SysVShm: 1555<ul> 1556 <li>Fixed bug <?php githubissuel('php/php-src', 16591); ?> (Assertion error in shm_put_var).</li> 1557</ul></li> 1558<li>XMLReader: 1559<ul> 1560 <li>Fixed bug <?php githubissuel('php/php-src', 16292); ?> (Segmentation fault in ext/xmlreader/php_xmlreader.c).</li> 1561</ul></li> 1562<li>Zlib: 1563<ul> 1564 <li>Fixed bug <?php githubissuel('php/php-src', 16326); ?> (Memory management is broken for bad dictionaries.) (cmb)</li> 1565</ul></li> 1566</ul> 1567<!-- }}} --></section> 1568 1569 1570 1571<section class="version" id="8.2.25"><!-- {{{ 8.2.25 --> 1572<h3>Version 8.2.25</h3> 1573<b><?php release_date('24-Oct-2024'); ?></b> 1574<ul><li>Calendar: 1575<ul> 1576 <li>Fixed <?php githubissuel('php/php-src', 16240); ?>: jdtounix overflow on argument value.</li> 1577 <li>Fixed <?php githubissuel('php/php-src', 16241); ?>: easter_days/easter_date overflow on year argument.</li> 1578 <li>Fixed <?php githubissuel('php/php-src', 16263); ?>: jddayofweek overflow.</li> 1579 <li>Fixed <?php githubissuel('php/php-src', 16234); ?>: jewishtojd overflow.</li> 1580</ul></li> 1581<li>CLI: 1582<ul> 1583 <li>Fixed bug <?php githubissuel('php/php-src', 16137); ?>: duplicate http headers when set several times by the client.</li> 1584</ul></li> 1585<li>Core: 1586<ul> 1587 <li>Fixed bug <?php githubissuel('php/php-src', 15712); ?>: zend_strtod overflow with precision INI set on large value.</li> 1588 <li>Fixed bug <?php githubissuel('php/php-src', 15905); ?> (Assertion failure for TRACK_VARS_SERVER).</li> 1589 <li>Fixed bug <?php githubissuel('php/php-src', 15907); ?> (Failed assertion when promoting Serialize deprecation to exception).</li> 1590 <li>Fixed bug <?php githubissuel('php/php-src', 15851); ?> (Segfault when printing backtrace during cleanup of nested generator frame).</li> 1591 <li>Fixed bug <?php githubissuel('php/php-src', 15866); ?> (Core dumped in Zend/zend_generators.c).</li> 1592 <li>Fixed bug <?php githubissuel('php/php-src', 16188); ?> (Assertion failure in Zend/zend_exceptions.c).</li> 1593 <li>Fixed bug <?php githubissuel('php/php-src', 16233); ?> (Observer segfault when calling user function in internal function via trampoline).</li> 1594</ul></li> 1595<li>Date: 1596<ul> 1597 <li>Fixed bug <?php githubissuel('php/php-src', 15582); ?>: Crash when not calling parent constructor of DateTimeZone.</li> 1598 <li>Fixed regression where signs after the first one were ignored while parsing a signed integer, with the DateTimeInterface::modify() function.</li> 1599</ul></li> 1600<li>DOM: 1601<ul> 1602 <li>Fixed bug <?php githubissuel('php/php-src', 16039); ?> (Segmentation fault (access null pointer) in ext/dom/parentnode/tree.c).</li> 1603 <li>Fixed bug <?php githubissuel('php/php-src', 16151); ?> (Assertion failure in ext/dom/parentnode/tree.c).</li> 1604</ul></li> 1605<li>GD: 1606<ul> 1607 <li>Fixed bug <?php githubissuel('php/php-src', 16232); ?> (bitshift overflow on wbmp file content reading / fix backport from upstream).</li> 1608 <li>Fixed bug <?php githubissuel('php/php-src', 12264); ?> (overflow/underflow on imagerotate degrees value) (David Carlier)</li> 1609 <li>Fixed bug <?php githubissuel('php/php-src', 16274); ?> (imagescale underflow on RBG channels / fix backport from upstream).</li> 1610</ul></li> 1611<li>LDAP: 1612<ul> 1613 <li>Fixed bug <?php githubissuel('php/php-src', 16032); ?> (Various NULL pointer dereferencements in ldap_modify_batch()).</li> 1614 <li>Fixed bug <?php githubissuel('php/php-src', 16101); ?> (Segfault in ldap_list(), ldap_read(), and ldap_search() when LDAPs array is not a list).</li> 1615 <li>Fix <?php githubissuel('php/php-src', 16132); ?> (php_ldap_do_modify() attempts to free pointer not allocated by ZMM.).</li> 1616 <li>Fix <?php githubissuel('php/php-src', 16136); ?> (Memory leak in php_ldap_do_modify() when entry is not a proper dictionary).</li> 1617</ul></li> 1618<li>MBString: 1619<ul> 1620 <li>Fixed bug <?php githubissuel('php/php-src', 16261); ?> (Reference invariant broken in mb_convert_variables()).</li> 1621</ul></li> 1622<li>OpenSSL: 1623<ul> 1624 <li>Fixed stub for openssl_csr_new.</li> 1625</ul></li> 1626<li>PCRE: 1627<ul> 1628 <li>Fixed bug <?php githubissuel('php/php-src', 16189); ?> (underflow on offset argument).</li> 1629 <li>Fixed bug <?php githubissuel('php/php-src', 16184); ?> (UBSan address overflowed in ext/pcre/php_pcre.c).</li> 1630</ul></li> 1631<li>PHPDBG: 1632<ul> 1633 <li>Fixed bug <?php githubissuel('php/php-src', 15901); ?> (phpdbg: Assertion failure on i funcs).</li> 1634 <li>Fixed bug <?php githubissuel('php/php-src', 16181); ?> (phpdbg: exit in exception handler reports fatal error).</li> 1635</ul></li> 1636<li>Reflection: 1637<ul> 1638 <li>Fixed bug <?php githubissuel('php/php-src', 16187); ?> (Assertion failure in ext/reflection/php_reflection.c).</li> 1639</ul></li> 1640<li>SAPI: 1641<ul> 1642 <li>Fixed bug <?php githubissuel('php/php-src', 15395); ?> (php-fpm: zend_mm_heap corrupted with cgi-fcgi request).</li> 1643</ul></li> 1644<li>SimpleXML: 1645<ul> 1646 <li>Fixed bug <?php githubissuel('php/php-src', 15837); ?> (Segmentation fault in ext/simplexml/simplexml.c).</li> 1647</ul></li> 1648<li>Sockets: 1649<ul> 1650 <li>Fixed bug <?php githubissuel('php/php-src', 16267); ?> (socket_strerror overflow on errno argument).</li> 1651</ul></li> 1652<li>SOAP: 1653<ul> 1654 <li><?php bugfix(62900); ?> (Wrong namespace on xsd import error message).</li> 1655 <li>Fixed bug <?php githubissuel('php/php-src', 16237); ?> (Segmentation fault when cloning SoapServer).</li> 1656 <li>Fix Soap leaking http_msg on error.</li> 1657 <li>Fixed bug <?php githubissuel('php/php-src', 16256); ?> (Assertion failure in ext/soap/php_encoding.c:460).</li> 1658 <li>Fixed bug <?php githubissuel('php/php-src', 16259); ?> (Soap segfault when classmap instantiation fails).</li> 1659</ul></li> 1660<li>Standard: 1661<ul> 1662 <li>Fixed bug <?php githubissuel('php/php-src', 15613); ?> (overflow on unpack call hex string repeater).</li> 1663 <li>Fixed bug <?php githubissuel('php/php-src', 15937); ?> (overflow on stream timeout option value).</li> 1664 <li>Fixed bug <?php githubissuel('php/php-src', 16053); ?> (Assertion failure in Zend/zend_hash.c).</li> 1665</ul></li> 1666<li>Streams: 1667<ul> 1668 <li>Fixed bugs <?php githubissuel('php/php-src', 15908); ?> and <?php githubissuel('php/php-src', 15026); ?> (leak / assertion failure in streams.c).</li> 1669 <li>Fixed bug <?php githubissuel('php/php-src', 15980); ?> (Signed integer overflow in main/streams/streams.c).</li> 1670</ul></li> 1671<li>TSRM: 1672<ul> 1673 <li>Prevent closing of unrelated handles.</li> 1674</ul></li> 1675<li>XML: 1676<ul> 1677 <li>Fixed bug <?php githubissuel('php/php-src', 15868); ?> (Assertion failure in xml_parse_into_struct after exception).</li> 1678</ul></li> 1679</ul> 1680<!-- }}} --></section> 1681 1682 1683 1684<section class="version" id="8.2.24"><!-- {{{ 8.2.24 --> 1685<h3>Version 8.2.24</h3> 1686<b><?php release_date('26-Sep-2024'); ?></b> 1687<ul><li>CGI: 1688<ul> 1689 <li>Fixed bug GHSA-p99j-rfp4-xqvq (Bypass of CVE-2024-4577, Parameter Injection Vulnerability). (CVE-2024-8926)</li> 1690 <li>Fixed bug GHSA-94p6-54jq-9mwp (cgi.force_redirect configuration is bypassable due to the environment variable collision). (CVE-2024-8927)</li> 1691</ul></li> 1692<li>Core: 1693<ul> 1694 <li>Fixed bug <?php githubissuel('php/php-src', 15408); ?> (MSan false-positve on zend_max_execution_timer).</li> 1695 <li>Fixed bug <?php githubissuel('php/php-src', 15515); ?> (Configure error grep illegal option q).</li> 1696 <li>Fixed bug <?php githubissuel('php/php-src', 15514); ?> (Configure error: genif.sh: syntax error).</li> 1697 <li>Fixed bug <?php githubissuel('php/php-src', 15565); ?> (--disable-ipv6 during compilation produces error EAI_SYSTEM not found).</li> 1698 <li>Fixed bug <?php githubissuel('php/php-src', 15587); ?> (CRC32 API build error on arm 32-bit).</li> 1699 <li>Fixed bug <?php githubissuel('php/php-src', 15330); ?> (Do not scan generator frames more than once).</li> 1700 <li>Fixed uninitialized lineno in constant AST of internal enums.</li> 1701</ul></li> 1702<li>Curl: 1703<ul> 1704 <li>FIxed bug <?php githubissuel('php/php-src', 15547); ?> (curl_multi_select overflow on timeout argument).</li> 1705</ul></li> 1706<li>DOM: 1707<ul> 1708 <li>Fixed bug <?php githubissuel('php/php-src', 15551); ?> (Segmentation fault (access null pointer) in ext/dom/xml_common.h).</li> 1709</ul></li> 1710<li>Fileinfo: 1711<ul> 1712 <li>Fixed bug <?php githubissuel('php/php-src', 15752); ?> (Incorrect error message for finfo_file with an empty filename argument).</li> 1713</ul></li> 1714<li>FPM: 1715<ul> 1716 <li>Fixed bug GHSA-865w-9rf3-2wh5 (Logs from childrens may be altered). (CVE-2024-9026)</li> 1717</ul></li> 1718<li>MySQLnd: 1719<ul> 1720 <li>Fixed bug <?php githubissuel('php/php-src', 15432); ?> (Heap corruption when querying a vector).</li> 1721</ul></li> 1722<li>Opcache: 1723<ul> 1724 <li>Fixed bug <?php githubissuel('php/php-src', 15661); ?> (Access null pointer in Zend/Optimizer/zend_inference.c).</li> 1725 <li>Fixed bug <?php githubissuel('php/php-src', 15658); ?> (Segmentation fault in Zend/zend_vm_execute.h).</li> 1726</ul></li> 1727<li>SAPI: 1728<ul> 1729 <li>Fixed bug GHSA-9pqp-7h25-4f32 (Erroneous parsing of multipart form data). (CVE-2024-8925)</li> 1730</ul></li> 1731<li>SOAP: 1732<ul> 1733 <li><?php bugfix(73182); ?> (PHP SOAPClient does not support stream context HTTP headers in array form).</li> 1734</ul></li> 1735<li>Standard: 1736<ul> 1737 <li>Fixed bug <?php githubissuel('php/php-src', 15552); ?> (Signed integer overflow in ext/standard/scanf.c).</li> 1738</ul></li> 1739<li>Streams: 1740<ul> 1741 <li>Fixed bug <?php githubissuel('php/php-src', 15628); ?> (php_stream_memory_get_buffer() not zero-terminated).</li> 1742</ul></li> 1743</ul> 1744<!-- }}} --></section> 1745 1746 1747 1748<section class="version" id="8.2.23"><!-- {{{ 8.2.23 --> 1749<h3>Version 8.2.23</h3> 1750<b><?php release_date('29-Aug-2024'); ?></b> 1751<ul><li>Core: 1752<ul> 1753 <li>Fixed bug <?php githubissuel('php/php-src', 15020); ?> (Memory leak in Zend/Optimizer/escape_analysis.c).</li> 1754 <li>Fixed bug <?php githubissuel('php/php-src', 15023); ?> (Memory leak in Zend/zend_ini.c).</li> 1755 <li>Fixed bug <?php githubissuel('php/php-src', 13330); ?> (Append -Wno-implicit-fallthrough flag conditionally).</li> 1756 <li>Fix uninitialized memory in network.c.</li> 1757 <li>Fixed bug <?php githubissuel('php/php-src', 15108); ?> (Segfault when destroying generator during shutdown).</li> 1758 <li>Fixed bug <?php githubissuel('php/php-src', 15275); ?> (Crash during GC of suspended generator delegate).</li> 1759</ul></li> 1760<li>Curl: 1761<ul> 1762 <li>Fixed case when curl_error returns an empty string.</li> 1763</ul></li> 1764<li>DOM: 1765<ul> 1766 <li>Fix UAF when removing doctype and using foreach iteration.</li> 1767</ul></li> 1768<li>FFI: 1769<ul> 1770 <li>Fixed bug <?php githubissuel('php/php-src', 14286); ?> (ffi enum type (when enum has no name) make memory leak).</li> 1771</ul></li> 1772<li>Hash: 1773<ul> 1774 <li>Fix crash when converting array data for array in shm in xxh3.</li> 1775</ul></li> 1776<li>Intl: 1777<ul> 1778 <li>Fixed bug <?php githubissuel('php/php-src', 15087); ?> (IntlChar::foldCase()'s $option is not optional).</li> 1779</ul></li> 1780<li>Opcache: 1781<ul> 1782 <li>Fixed bug <?php githubissuel('php/php-src', 13817); ?> (Segmentation fault for enabled observers after pass 4).</li> 1783 <li>Fixed bug <?php githubissuel('php/php-src', 13775); ?> (Memory leak possibly related to opcache SHM placement).</li> 1784</ul></li> 1785<li>Output: 1786<ul> 1787 <li>Fixed bug <?php githubissuel('php/php-src', 15179); ?> (Segmentation fault (null pointer dereference) in ext/standard/url_scanner_ex.re).</li> 1788</ul></li> 1789<li>PDO_Firebird: 1790<ul> 1791 <li>Fix bogus fallthrough path in firebird_handle_get_attribute().</li> 1792</ul></li> 1793<li>PHPDBG: 1794<ul> 1795 <li>Fixed bug <?php githubissuel('php/php-src', 13199); ?> (EOF emits redundant prompt in phpdbg local console mode with libedit/readline).</li> 1796 <li>Fixed bug <?php githubissuel('php/php-src', 15268); ?> (heap buffer overflow in phpdbg (zend_hash_num_elements() Zend/zend_hash.h)).</li> 1797 <li>Fixed bug <?php githubissuel('php/php-src', 15210); ?> use-after-free on watchpoint allocations.</li> 1798</ul></li> 1799<li>Soap: 1800<ul> 1801 <li><?php bugfix(55639); ?> (Digest autentication dont work).</li> 1802 <li>Fix SoapFault property destruction.</li> 1803 <li>Fixed bug <?php githubissuel('php/php-src', 15252); ?> (SOAP XML broken since PHP 8.3.9 when using classmap constructor option).</li> 1804</ul></li> 1805<li>Standard: 1806<ul> 1807 <li>Fix passing non-finite timeout values in stream functions.</li> 1808 <li>Fixed <?php githubissuel('php/php-src', 14780); ?> p(f)sockopen timeout overflow.</li> 1809</ul></li> 1810<li>Streams: 1811<ul> 1812 <li>Fixed bug <?php githubissuel('php/php-src', 15028); ?> (Memory leak in ext/phar/stream.c).</li> 1813 <li>Fixed bug <?php githubissuel('php/php-src', 15034); ?> (Integer overflow on stream_notification_callback byte_max parameter with files bigger than 2GB).</li> 1814</ul></li> 1815<li>Tidy: 1816<ul> 1817 <li>Fix memory leaks in ext/tidy basedir restriction code.</li> 1818</ul></li> 1819</ul> 1820<!-- }}} --></section> 1821 1822 1823 1824<section class="version" id="8.2.22"><!-- {{{ 8.2.22 --> 1825<h3>Version 8.2.22</h3> 1826<b><?php release_date('01-Aug-2024'); ?></b> 1827<ul><li>Core: 1828<ul> 1829 <li>Fixed bug <?php githubissuel('php/php-src', 13922); ?> (Fixed support for systems with sysconf(_SC_GETPW_R_SIZE_MAX) == -1).</li> 1830 <li>Fixed bug <?php githubissuel('php/php-src', 14626); ?> (Fix is_zend_ptr() for huge blocks).</li> 1831 <li>Fixed bug <?php githubissuel('php/php-src', 14590); ?> (Memory leak in FPM test gh13563-conf-bool-env.phpt.</li> 1832 <li>Fixed OSS-Fuzz #69765.</li> 1833 <li>Fixed bug <?php githubissuel('php/php-src', 14741); ?> (Segmentation fault in Zend/zend_types.h).</li> 1834 <li>Fixed bug <?php githubissuel('php/php-src', 14969); ?> (Use-after-free in property coercion with __toString()).</li> 1835</ul></li> 1836<li>Dom: 1837<ul> 1838 <li>Fixed bug <?php githubissuel('php/php-src', 14702); ?> (DOMDocument::xinclude() crash).</li> 1839</ul></li> 1840<li>Gd: 1841<ul> 1842 <li>ext/gd/tests/gh10614.phpt: skip if no PNG support.</li> 1843 <li>restored warning instead of fata error.</li> 1844</ul></li> 1845<li>LibXML: 1846<ul> 1847 <li>Fixed bug <?php githubissuel('php/php-src', 14563); ?> (Build failure with libxml2 v2.13.0).</li> 1848</ul></li> 1849<li>Opcache: 1850<ul> 1851 <li>Fixed bug <?php githubissuel('php/php-src', 14550); ?> (No warning message when Zend DTrace is enabled that opcache.jit is implictly disabled).</li> 1852</ul></li> 1853<li>Output: 1854<ul> 1855 <li>Fixed bug <?php githubissuel('php/php-src', 14808); ?> (Unexpected null pointer in Zend/zend_string.h with empty output buffer).</li> 1856</ul></li> 1857<li>PDO: 1858<ul> 1859 <li>Fixed bug <?php githubissuel('php/php-src', 14712); ?> (Crash with PDORow access to null property).</li> 1860</ul></li> 1861<li>Phar: 1862<ul> 1863 <li>Fixed bug <?php githubissuel('php/php-src', 14603); ?> (null string from zip entry).</li> 1864</ul></li> 1865<li>PHPDBG: 1866<ul> 1867 <li>Fixed bug <?php githubissuel('php/php-src', 14596); ?> (crashes with ASAN and ZEND_RC_DEBUG=1).</li> 1868 <li>Fixed bug <?php githubissuel('php/php-src', 14553); ?> (echo output trimmed at NULL byte).</li> 1869</ul></li> 1870<li>Shmop: 1871<ul> 1872 <li>Fixed bug <?php githubissuel('php/php-src', 14537); ?> (shmop Windows 11 crashes the process).</li> 1873</ul></li> 1874<li>SimpleXML: 1875<ul> 1876 <li>Fixed bug <?php githubissuel('php/php-src', 14638); ?> (null dereference after XML parsing failure).</li> 1877</ul></li> 1878<li>SPL: 1879<ul> 1880 <li>Fixed bug <?php githubissuel('php/php-src', 14639); ?> (Member access within null pointer in ext/spl/spl_observer.c).</li> 1881</ul></li> 1882<li>Standard: 1883<ul> 1884 <li>Fix 32-bit wordwrap test failures.</li> 1885 <li>Fixed bug <?php githubissuel('php/php-src', 14774); ?> (time_sleep_until overflow).</li> 1886</ul></li> 1887<li>Tidy: 1888<ul> 1889 <li>Fix memory leak in tidy_repair_file().</li> 1890</ul></li> 1891<li>Treewide: 1892<ul> 1893 <li>Fix compatibility with libxml2 2.13.2.</li> 1894</ul></li> 1895<li>XML: 1896<ul> 1897 <li>Move away from to-be-deprecated libxml fields.</li> 1898 <li>Fixed bug <?php githubissuel('php/php-src', 14834); ?> (Error installing PHP when --with-pear is used).</li> 1899</ul></li> 1900</ul> 1901<!-- }}} --></section> 1902 1903 1904 1905<section class="version" id="8.2.21"><!-- {{{ 8.2.21 --> 1906<h3>Version 8.2.21</h3> 1907<b><?php release_date('04-Jul-2024'); ?></b> 1908<ul><li>Core: 1909<ul> 1910 <li>Fixed bug <?php githubissuel('php/php-src', 14315); ?> (Incompatible pointer type warnings).</li> 1911 <li>Fixed bug <?php githubissuel('php/php-src', 12814); ?> (max_execution_time reached too early on MacOS 14 when running on Apple Silicon).</li> 1912 <li>Fixed bug <?php githubissuel('php/php-src', 14387); ?> (Crash when stack walking in destructor of yielded from values during Generator->throw()).</li> 1913 <li>Fixed bug <?php githubissuel('php/php-src', 14456); ?> (Attempting to initialize class with private constructor calls destructor).</li> 1914 <li>Fixed bug <?php githubissuel('php/php-src', 14549); ?> (Incompatible function pointer type for fclose).</li> 1915</ul></li> 1916<li>BCMatch: 1917<ul> 1918 <li>Fixed bug (bcpowmod() with mod = -1 returns 1 when it must be 0).</li> 1919</ul></li> 1920<li>Curl: 1921<ul> 1922 <li>Fixed bug <?php githubissuel('php/php-src', 14307); ?> (Test curl_basic_024 fails with curl 8.8.0).</li> 1923</ul></li> 1924<li>DOM: 1925<ul> 1926 <li>Fixed bug <?php githubissuel('php/php-src', 14343); ?> (Memory leak in xml and dom).</li> 1927</ul></li> 1928<li>FPM: 1929<ul> 1930 <li>Fixed bug <?php githubissuel('php/php-src', 14037); ?> (PHP-FPM ping.path and ping.response config vars are ignored in status pool).</li> 1931</ul></li> 1932<li>GD: 1933<ul> 1934 <li>Fix parameter numbers for imagecolorset().</li> 1935</ul></li> 1936<li>Intl: 1937<ul> 1938 <li>Fix reference handling in SpoofChecker.</li> 1939</ul></li> 1940<li>MySQLnd: 1941<ul> 1942 <li>Partially fix bug <?php githubissuel('php/php-src', 10599); ?> (Apache crash on Windows when using a self-referencing anonymous function inside a class with an active mysqli connection).</li> 1943</ul></li> 1944<li>Opcache: 1945<ul> 1946 <li>Fixed bug <?php githubissuel('php/php-src', 14267); ?> (opcache.jit=off does not allow enabling JIT at runtime).</li> 1947 <li>Fixed TLS access in JIT on FreeBSD/amd64.</li> 1948 <li>Fixed bug <?php githubissuel('php/php-src', 11188); ?> (Error when building TSRM in ARM64).</li> 1949</ul></li> 1950<li>PDO ODBC: 1951<ul> 1952 <li>Fixed bug <?php githubissuel('php/php-src', 14367); ?> (incompatible SDWORD type with iODBC).</li> 1953</ul></li> 1954<li>PHPDBG: 1955<ul> 1956 <li>Fixed bug <?php githubissuel('php/php-src', 13681); ?> (segfault on watchpoint addition failure).</li> 1957</ul></li> 1958<li>Soap: 1959<ul> 1960 <li><?php bugfix(47925); ?> (PHPClient can't decompress response).</li> 1961 <li>Fix missing error restore code.</li> 1962 <li>Fix memory leak if calling SoapServer::setObject() twice.</li> 1963 <li>Fix memory leak if calling SoapServer::setClass() twice.</li> 1964 <li>Fix reading zlib ini settings in ext-soap.</li> 1965 <li>Fix memory leaks with string function name lookups.</li> 1966 <li><?php bugfix(69280); ?> (SoapClient classmap doesn't support fully qualified class name).</li> 1967 <li><?php bugfix(76232); ?> (SoapClient Cookie Header Semicolon).</li> 1968 <li>Fixed memory leaks when calling SoapFault::__construct() twice.</li> 1969</ul></li> 1970<li>Sodium: 1971<ul> 1972 <li>Fix memory leaks in ext/sodium on failure of some functions.</li> 1973</ul></li> 1974<li>SPL: 1975<ul> 1976 <li>Fixed bug <?php githubissuel('php/php-src', 14290); ?> (Member access within null pointer in extension spl).</li> 1977</ul></li> 1978<li>Standard: 1979<ul> 1980 <li>Fixed bug <?php githubissuel('php/php-src', 14483); ?> (Fixed off-by-one error in checking length of abstract namespace Unix sockets).</li> 1981</ul></li> 1982<li>Streams: 1983<ul> 1984 <li>Fixed bug <?php githubissuel('php/php-src', 11078); ?> (PHP Fatal error triggers pointer being freed was not allocated and malloc: double free for ptr errors).</li> 1985</ul></li> 1986</ul> 1987<!-- }}} --></section> 1988 1989 1990 1991<section class="version" id="8.2.20"><!-- {{{ 8.2.20 --> 1992<h3>Version 8.2.20</h3> 1993<b><?php release_date('06-Jun-2024'); ?></b> 1994<ul><li>CGI: 1995<ul> 1996 <li>Fixed buffer limit on Windows, replacing read call usage by _read.</li> 1997 <li>Fixed bug GHSA-3qgc-jrrr-25jv (Bypass of CVE-2012-1823, Argument Injection in PHP-CGI). (CVE-2024-4577)</li> 1998</ul></li> 1999<li>CLI: 2000<ul> 2001 <li>Fixed bug <?php githubissuel('php/php-src', 14189); ?> (PHP Interactive shell input state incorrectly handles quoted heredoc literals.).</li> 2002</ul></li> 2003<li>Core: 2004<ul> 2005 <li>Fixed bug <?php githubissuel('php/php-src', 13970); ?> (Incorrect validation of #[Attribute] flags type for non-compile-time expressions).</li> 2006 <li>Fixed bug <?php githubissuel('php/php-src', 14140); ?> (Floating point bug in range operation on Apple Silicon hardware).</li> 2007</ul></li> 2008<li>DOM: 2009<ul> 2010 <li>Fix crashes when entity declaration is removed while still having entity references.</li> 2011 <li>Fix references not handled correctly in C14N.</li> 2012 <li>Fix crash when calling childNodes next() when iterator is exhausted.</li> 2013 <li>Fix crash in ParentNode::append() when dealing with a fragment containing text nodes.</li> 2014</ul></li> 2015<li>FFI: 2016<ul> 2017 <li>Fixed bug <?php githubissuel('php/php-src', 14215); ?> (Cannot use FFI::load on CRLF header file with apache2handler).</li> 2018</ul></li> 2019<li>Filter: 2020<ul> 2021 <li>Fixed bug GHSA-w8qr-v226-r27w (Filter bypass in filter_var FILTER_VALIDATE_URL). (CVE-2024-5458)</li> 2022</ul></li> 2023<li>FPM: 2024<ul> 2025 <li>Fix bug <?php githubissuel('php/php-src', 14175); ?> (Show decimal number instead of scientific notation in systemd status).</li> 2026</ul></li> 2027<li>Hash: 2028<ul> 2029 <li>ext/hash: Swap the checking order of `__has_builtin` and `__GNUC__` (Saki Takamachi)</li> 2030</ul></li> 2031<li>Intl: 2032<ul> 2033 <li>Fixed build regression on systems without C++17 compilers.</li> 2034</ul></li> 2035<li>Ini: 2036<ul> 2037 <li>Fixed bug <?php githubissuel('php/php-src', 14100); ?> (Corrected spelling mistake in php.ini files).</li> 2038</ul></li> 2039<li>MySQLnd: 2040<ul> 2041 <li>Fix bug <?php githubissuel('php/php-src', 14255); ?> (mysqli_fetch_assoc reports error from nested query).</li> 2042</ul></li> 2043<li>Opcache: 2044<ul> 2045 <li>Fixed bug <?php githubissuel('php/php-src', 14109); ?> (Fix accidental persisting of internal class constant in shm).</li> 2046</ul></li> 2047<li>OpenSSL: 2048<ul> 2049 <li>The openssl_private_decrypt function in PHP, when using PKCS1 padding (OPENSSL_PKCS1_PADDING, which is the default), is vulnerable to the Marvin Attack unless it is used with an OpenSSL version that includes the changes from this pull request: https://github.com/openssl/openssl/pull/13817 (rsa_pkcs1_implicit_rejection). These changes are part of OpenSSL 3.2 and have also been backported to stable versions of various Linux distributions, as well as to the PHP builds provided for Windows since the previous release. All distributors and builders should ensure that this version is used to prevent PHP from being vulnerable.</li> 2050</ul></li> 2051<li>Standard: 2052<ul> 2053 <li>Fixed bug GHSA-9fcc-425m-g385 (Bypass of CVE-2024-1874). (CVE-2024-5585)</li> 2054</ul></li> 2055<li>XML: 2056<ul> 2057 <li>Fixed bug <?php githubissuel('php/php-src', 14124); ?> (Segmentation fault with XML extension under certain memory limit).</li> 2058</ul></li> 2059<li>XMLReader: 2060<ul> 2061 <li>Fixed bug <?php githubissuel('php/php-src', 14183); ?> (XMLReader::open() can't be overridden).</li> 2062</ul></li> 2063</ul> 2064<!-- }}} --></section> 2065 2066 2067 2068<section class="version" id="8.2.19"><!-- {{{ 8.2.19 --> 2069<h3>Version 8.2.19</h3> 2070<b><?php release_date('09-May-2024'); ?></b> 2071<ul><li>Core: 2072<ul> 2073 <li>Fixed bug <?php githubissuel('php/php-src', 13772); ?> (Invalid execute_data->opline pointers in observer fcall handlers when JIT is enabled).</li> 2074 <li>Fixed bug <?php githubissuel('php/php-src', 13931); ?> (Applying zero offset to null pointer in Zend/zend_opcode.c).</li> 2075 <li>Fixed bug <?php githubissuel('php/php-src', 13942); ?> (Align the behavior of zend-max-execution-timers with other timeout implementations).</li> 2076 <li>Fixed bug <?php githubissuel('php/php-src', 14003); ?> (Broken cleanup of unfinished calls with callable convert parameters).</li> 2077 <li>Fixed bug <?php githubissuel('php/php-src', 14013); ?> (Erroneous dnl appended in configure).</li> 2078 <li>Fixed bug <?php githubissuel('php/php-src', 10232); ?> (If autoloading occurs during constant resolution filename and lineno are identified incorrectly).</li> 2079 <li>Fixed bug <?php githubissuel('php/php-src', 13727); ?> (Missing void keyword).</li> 2080</ul></li> 2081<li>Fibers: 2082<ul> 2083 <li>Fixed bug <?php githubissuel('php/php-src', 13903); ?> (ASAN false positive underflow when executing copy()).</li> 2084</ul></li> 2085<li>FPM: 2086<ul> 2087 <li>Fixed bug <?php githubissuel('php/php-src', 13563); ?> (Setting bool values via env in FPM config fails).</li> 2088</ul></li> 2089<li>Intl: 2090<ul> 2091 <li>Fixed build for icu 74 and onwards.</li> 2092</ul></li> 2093<li>MySQLnd: 2094<ul> 2095 <li>Fix shift out of bounds on 32-bit non-fast-path platforms.</li> 2096</ul></li> 2097<li>Opcache: 2098<ul> 2099 <li>Fixed incorrect assumptions across compilation units for static calls.</li> 2100</ul></li> 2101<li>OpenSSL: 2102<ul> 2103 <li>Fixed bug <?php githubissuel('php/php-src', 10495); ?> (feof on OpenSSL stream hangs indefinitely).</li> 2104</ul></li> 2105<li>PDO SQLite: 2106<ul> 2107 <li>Fix <?php githubissuel('php/php-src', 13984); ?> (Buffer size is now checked before memcmp).</li> 2108 <li>Fix <?php githubissuel('php/php-src', 13998); ?> (Manage refcount of agg_context->val correctly).</li> 2109</ul></li> 2110<li>Phar: 2111<ul> 2112 <li>Fixed bug <?php githubissuel('php/php-src', 13836); ?> (Renaming a file in a Phar to an already existing filename causes a NULL pointer dereference).</li> 2113 <li>Fixed bug <?php githubissuel('php/php-src', 13833); ?> (Applying zero offset to null pointer in zend_hash.c).</li> 2114 <li>Fix potential NULL pointer dereference before calling EVP_SignInit.</li> 2115</ul></li> 2116<li>PHPDBG: 2117<ul> 2118 <li>Fixed bug <?php githubissuel('php/php-src', 13827); ?> (Null pointer access of type 'zval' in phpdbg_frame).</li> 2119</ul></li> 2120<li>Posix: 2121<ul> 2122 <li>Fix usage of reentrant functions in ext/posix.</li> 2123</ul></li> 2124<li>Session: 2125<ul> 2126 <li>Fixed bug <?php githubissuel('php/php-src', 13856); ?> (Member access within null pointer of type 'ps_files' in ext/session/mod_files.c).</li> 2127 <li>Fixed bug <?php githubissuel('php/php-src', 13891); ?> (memleak and segfault when using ini_set with session.trans_sid_hosts).</li> 2128 <li>Fixed buffer _read/_write size limit on windows for the file mode.</li> 2129</ul></li> 2130<li>Streams: 2131<ul> 2132 <li>Fixed file_get_contents() on Windows fails with "errno=22 Invalid argument".</li> 2133 <li>Fixed bug <?php githubissuel('php/php-src', 13264); ?> (Part 1 - Memory leak on stream filter failure).</li> 2134 <li>Fixed bug <?php githubissuel('php/php-src', 13860); ?> (Incorrect PHP_STREAM_OPTION_CHECK_LIVENESS case in ext/openssl/xp_ssl.c - causing use of dead socket).</li> 2135 <li>Fixed bug <?php githubissuel('php/php-src', 11678); ?> (Build fails on musl 1.2.4 - lfs64).</li> 2136</ul></li> 2137<li>Treewide: 2138<ul> 2139 <li>Fix gcc-14 Wcalloc-transposed-args warnings.</li> 2140</ul></li> 2141</ul> 2142<!-- }}} --></section> 2143 2144 2145 2146<section class="version" id="8.2.18"><!-- {{{ 8.2.18 --> 2147<h3>Version 8.2.18</h3> 2148<b><?php release_date('11-Apr-2024'); ?></b> 2149<ul><li>Core: 2150<ul> 2151 <li>Fixed bug <?php githubissuel('php/php-src', 13612); ?> (Corrupted memory in destructor with weak references).</li> 2152 <li>Fixed bug <?php githubissuel('php/php-src', 13784); ?> (AX_GCC_FUNC_ATTRIBUTE failure).</li> 2153 <li>Fixed bug <?php githubissuel('php/php-src', 13670); ?> (GC does not scale well with a lot of objects created in destructor).</li> 2154</ul></li> 2155<li>DOM: 2156<ul> 2157 <li>Add some missing ZPP checks.</li> 2158 <li>Fix potential memory leak in XPath evaluation results.</li> 2159 <li>Fix phpdoc for DOMDocument load methods.</li> 2160</ul></li> 2161<li>FPM: 2162<ul> 2163 <li>Fix incorrect check in fpm_shm_free().</li> 2164</ul></li> 2165<li>GD: 2166<ul> 2167 <li>Fixed bug <?php githubissuel('php/php-src', 12019); ?> (add GDLIB_CFLAGS in feature tests).</li> 2168</ul></li> 2169<li>Gettext: 2170<ul> 2171 <li>Fixed sigabrt raised with dcgettext/dcngettext calls with gettext 0.22.5 with category set to LC_ALL.</li> 2172</ul></li> 2173<li>MySQLnd: 2174<ul> 2175 <li>Fix <?php githubissuel('php/php-src', 13452); ?> (Fixed handshake response [mysqlnd]).</li> 2176 <li>Fix incorrect charset length in check_mb_eucjpms().</li> 2177</ul></li> 2178<li>Opcache: 2179<ul> 2180 <li>Fixed <?php githubissuel('php/php-src', 13508); ?> (JITed QM_ASSIGN may be optimized out when op1 is null).</li> 2181 <li>Fixed <?php githubissuel('php/php-src', 13712); ?> (Segmentation fault for enabled observers when calling trait method of internal trait when opcache is loaded).</li> 2182</ul></li> 2183<li>PDO: 2184<ul> 2185 <li>Fix various PDORow bugs.</li> 2186</ul></li> 2187<li>Random: 2188<ul> 2189 <li>Fixed bug <?php githubissuel('php/php-src', 13544); ?> (Pre-PHP 8.2 compatibility for mt_srand with unknown modes).</li> 2190 <li>Fixed bug <?php githubissuel('php/php-src', 13690); ?> (Global Mt19937 is not properly reset in-between requests when MT_RAND_PHP is used).</li> 2191</ul></li> 2192<li>Session: 2193<ul> 2194 <li>Fixed bug <?php githubissuel('php/php-src', 13680); ?> (Segfault with session_decode and compilation error).</li> 2195</ul></li> 2196<li>Sockets: 2197<ul> 2198 <li>Fixed bug <?php githubissuel('php/php-src', 13604); ?> (socket_getsockname returns random characters in the end of the socket name).</li> 2199</ul></li> 2200<li>SPL: 2201<ul> 2202 <li>Fixed bug <?php githubissuel('php/php-src', 13531); ?> (Unable to resize SplfixedArray after being unserialized in PHP 8.2.15).</li> 2203 <li>Fixed bug <?php githubissuel('php/php-src', 13685); ?> (Unexpected null pointer in zend_string.h).</li> 2204</ul></li> 2205<li>Standard: 2206<ul> 2207 <li>Fixed bug <?php githubissuel('php/php-src', 11808); ?> (Live filesystem modified by tests).</li> 2208 <li>Fixed <?php githubissuel('php/php-src', 13402); ?> (Added validation of `\n` in $additional_headers of mail()).</li> 2209 <li>Fixed bug <?php githubissuel('php/php-src', 13203); ?> (file_put_contents fail on strings over 4GB on Windows).</li> 2210 <li>Fixed bug GHSA-pc52-254m-w9w7 (Command injection via array-ish $command parameter of proc_open). (CVE-2024-1874)</li> 2211 <li>Fixed bug GHSA-wpj3-hf5j-x4v4 (__Host-/__Secure- cookie bypass due to partial CVE-2022-31629 fix). (CVE-2024-2756)</li> 2212 <li>Fixed bug GHSA-h746-cjrr-wfmr (password_verify can erroneously return true, opening ATO risk). (CVE-2024-3096)</li> 2213</ul></li> 2214<li>XML: 2215<ul> 2216 <li>Fixed bug <?php githubissuel('php/php-src', 13517); ?> (Multiple test failures when building with --with-expat).</li> 2217</ul></li> 2218</ul> 2219<!-- }}} --></section> 2220 2221 2222 2223<section class="version" id="8.2.17"><!-- {{{ 8.2.17 --> 2224<h3>Version 8.2.17</h3> 2225<b><?php release_date('14-Mar-2024'); ?></b> 2226<ul><li>Core: 2227<ul> 2228 <li>Fix ZTS persistent resource crashes on shutdown.</li> 2229</ul></li> 2230<li>Curl: 2231<ul> 2232 <li>Fix failing tests due to string changes in libcurl 8.6.0.</li> 2233</ul></li> 2234<li>DOM: 2235<ul> 2236 <li>Fix reference access in dimensions for DOMNodeList and DOMNodeMap.</li> 2237</ul></li> 2238<li>Fileinfo: 2239<ul> 2240 <li>Fixed bug <?php githubissuel('php/php-src', 13344); ?> (finfo::buffer(): Failed identify data 0:(null), backport).</li> 2241</ul></li> 2242<li>FPM: 2243<ul> 2244 <li><?php bugfix(75712); ?> (getenv in php-fpm should not read $_ENV, $_SERVER).</li> 2245</ul></li> 2246<li>GD: 2247<ul> 2248 <li>Fixed bug <?php githubissuel('php/php-src', 12019); ?> (detection of image formats in system gd library).</li> 2249</ul></li> 2250<li>MySQLnd: 2251<ul> 2252 <li>Fixed bug <?php githubissuel('php/php-src', 11950); ?> ([mysqlnd] Fixed not to set CR_MALFORMED_PACKET to error if CR_SERVER_GONE_ERROR is already set).</li> 2253</ul></li> 2254<li>PGSQL: 2255<ul> 2256 <li>Fixed bug <?php githubissuel('php/php-src', 13354); ?> (pg_execute/pg_send_query_params/pg_send_execute with null value passed by reference).</li> 2257</ul></li> 2258<li>Standard: 2259<ul> 2260 <li>Fixed array key as hash to string (case insensitive) comparison typo for the second operand buffer size (albeit unused for now).</li> 2261</ul></li> 2262</ul> 2263<!-- }}} --></section> 2264 2265 2266 2267<section class="version" id="8.2.16"><!-- {{{ 8.2.16 --> 2268<h3>Version 8.2.16</h3> 2269<b><?php release_date('15-Feb-2024'); ?></b> 2270<ul><li>Core: 2271<ul> 2272 <li>Fixed timer leak in zend-max-execution-timers builds.</li> 2273 <li>Fixed bug <?php githubissuel('php/php-src', 12349); ?> (linking failure on ARM with mold).</li> 2274 <li>Fixed bug <?php githubissuel('php/php-src', 13097); ?> (Anonymous class reference in trigger_error / thrown Exception).</li> 2275 <li>Fixed bug <?php githubissuel('php/php-src', 13215); ?> (GCC 14 build failure).</li> 2276</ul></li> 2277<li>Curl: 2278<ul> 2279 <li>Fix missing error check in curl_multi_init().</li> 2280</ul></li> 2281<li>FPM: 2282<ul> 2283 <li>Fixed bug <?php githubissuel('php/php-src', 12996); ?> (Incorrect SCRIPT_NAME with Apache ProxyPassMatch when plus in path).</li> 2284</ul></li> 2285<li>GD: 2286<ul> 2287 <li>Fixed bug <?php githubissuel('php/php-src', 10344); ?> (imagettfbbox(): Could not find/open font UNC path).</li> 2288 <li>Fixed bug <?php githubissuel('php/php-src', 10614); ?> (imagerotate will turn the picture all black, when rotated 90).</li> 2289</ul></li> 2290<li>MySQLnd: 2291<ul> 2292 <li>Fixed bug <?php githubissuel('php/php-src', 12107); ?> (When running a stored procedure (that returns a result set) twice, PHP crashes).</li> 2293</ul></li> 2294<li>Opcache: 2295<ul> 2296 <li>Fixed bug <?php githubissuel('php/php-src', 13232); ?> (Segmentation fault will be reported when JIT is off but JIT_debug is still on).</li> 2297</ul></li> 2298<li>OpenSSL: 2299<ul> 2300 <li>Fixed LibreSSL undefined reference when OPENSSL_NO_ENGINE not set. (David Carlier).</li> 2301</ul></li> 2302<li>PDO_Firebird: 2303<ul> 2304 <li>Fix <?php githubissuel('php/php-src', 13119); ?> (Changed to convert float and double values into strings using `H` format).</li> 2305</ul></li> 2306<li>Phar: 2307<ul> 2308 <li><?php bugfix(71465); ?> (PHAR doesn't know about litespeed).</li> 2309 <li>Fixed bug <?php githubissuel('php/php-src', 13037); ?> (PharData incorrectly extracts zip file).</li> 2310</ul></li> 2311<li>Random: 2312<ul> 2313 <li>Fixed bug <?php githubissuel('php/php-src', 13138); ?> (Randomizer::pickArrayKeys() does not detect broken engines).</li> 2314</ul></li> 2315<li>Session: 2316<ul> 2317 <li>Fixed bug <?php githubissuel('php/php-src', 12504); ?> (Corrupted session written when there's a fatal error in autoloader).</li> 2318</ul></li> 2319<li>Streams: 2320<ul> 2321 <li>Fixed bug <?php githubissuel('php/php-src', 13071); ?> (Copying large files using mmap-able source streams may exhaust available memory and fail).</li> 2322</ul></li> 2323</ul> 2324<!-- }}} --></section> 2325 2326 2327 2328<section class="version" id="8.2.15"><!-- {{{ 8.2.15 --> 2329<h3>Version 8.2.15</h3> 2330<b><?php release_date('18-Jan-2024'); ?></b> 2331<ul><li>Core: 2332<ul> 2333 <li>Fixed bug <?php githubissuel('php/php-src', 12953); ?> (false positive SSA integrity verification failed when loading composer classmaps with more than 11k elements).</li> 2334 <li>Fixed bug <?php githubissuel('php/php-src', 12966); ?> (missing cross-compiling 3rd argument so Autoconf doesn't emit warnings).</li> 2335</ul></li> 2336<li>Cli: 2337<ul> 2338 <li>Fix incorrect timeout in built-in web server when using router script and max_input_time.</li> 2339</ul></li> 2340<li>FFI: 2341<ul> 2342 <li>Fixed bug <?php githubissuel('php/php-src', 9698); ?> (stream_wrapper_register crashes with FFI\CData).</li> 2343 <li>Fixed bug <?php githubissuel('php/php-src', 12905); ?> (FFI::new interacts badly with observers).</li> 2344</ul></li> 2345<li>Intl: 2346<ul> 2347 <li>Fixed <?php githubissuel('php/php-src', 12943); ?> (IntlDateFormatter::__construct accepts 'C' as valid locale).</li> 2348</ul></li> 2349<li>Hash: 2350<ul> 2351 <li>Fixed bug <?php githubissuel('php/php-src', 12936); ?> (hash() function hangs endlessly if using sha512 on strings >= 4GiB).</li> 2352</ul></li> 2353<li>ODBC: 2354<ul> 2355 <li>Fix crash on Apache shutdown with persistent connections.</li> 2356</ul></li> 2357<li>Opcache: 2358<ul> 2359 <li>Fixed oss-fuzz #64727 (JIT undefined array key warning may overwrite DIM with NULL when DIM is the same var as result).</li> 2360 <li>Added workaround for SELinux mprotect execheap issue. See https://bugzilla.kernel.org/show_bug.cgi?id=218258.</li> 2361</ul></li> 2362<li>OpenSSL: 2363<ul> 2364 <li>Fixed bug <?php githubissuel('php/php-src', 12987); ?> (openssl_csr_sign might leak new cert on error).</li> 2365</ul></li> 2366<li>PDO: 2367<ul> 2368 <li>Fix <?php githubissuel('php/php-src', 12969); ?> (Fixed PDO::getAttribute() to get PDO::ATTR_STRINGIFY_FETCHES).</li> 2369</ul></li> 2370<li>PDO_ODBC: 2371<ul> 2372 <li>Fixed bug <?php githubissuel('php/php-src', 12767); ?> (Unable to turn on autocommit mode with setAttribute()).</li> 2373</ul></li> 2374<li>PGSQL: 2375<ul> 2376 <li>Fixed auto_reset_persistent handling and allow_persistent type.</li> 2377 <li>Fixed bug <?php githubissuel('php/php-src', 12974); ?> (Apache crashes on shutdown when using pg_pconnect()).</li> 2378</ul></li> 2379<li>Phar: 2380<ul> 2381 <li><?php bugfix(77432); ?> (Segmentation fault on including phar file).</li> 2382</ul></li> 2383<li>PHPDBG: 2384<ul> 2385 <li>Fixed bug <?php githubissuel('php/php-src', 12962); ?> (Double free of init_file in phpdbg_prompt.c).</li> 2386</ul></li> 2387<li>SimpleXML: 2388<ul> 2389 <li>Fix getting the address of an uninitialized property of a SimpleXMLElement resulting in a crash.</li> 2390</ul></li> 2391<li>Tidy: 2392<ul> 2393 <li>Fixed bug <?php githubissuel('php/php-src', 12980); ?> (tidynode.props.attribute is missing "Boolean Attributes" and empty attributes).</li> 2394</ul></li> 2395</ul> 2396<!-- }}} --></section> 2397 2398 2399 2400<section class="version" id="8.2.14"><!-- {{{ 8.2.14 --> 2401<h3>Version 8.2.14</h3> 2402<b><?php release_date('21-Dec-2023'); ?></b> 2403<ul><li>Core: 2404<ul> 2405 <li>Fixed oss-fuzz #54325 (Use-after-free of name in var-var with malicious error handler).</li> 2406 <li>Fixed oss-fuzz #64209 (In-place modification of filename in php_message_handler_for_zend).</li> 2407 <li>Fixed bug <?php githubissuel('php/php-src', 12758); ?> / <?php githubissuel('php/php-src', 12768); ?> (Invalid opline in OOM handlers within ZEND_FUNC_GET_ARGS and ZEND_BIND_STATIC).</li> 2408 <li>Fix various missing NULL checks.</li> 2409 <li>Fixed bug <?php githubissuel('php/php-src', 12835); ?> (Leak of call->extra_named_params on internal __call).</li> 2410</ul></li> 2411<li>Date: 2412<ul> 2413 <li>Fixed improbably integer overflow while parsing really large (or small) Unix timestamps.</li> 2414</ul></li> 2415<li>DOM: 2416<ul> 2417 <li>Fixed bug <?php githubissuel('php/php-src', 12616); ?> (DOM: Removing XMLNS namespace node results in invalid default: prefix).</li> 2418</ul></li> 2419<li>FPM: 2420<ul> 2421 <li>Fixed bug <?php githubissuel('php/php-src', 12705); ?> (Segmentation fault in fpm_status_export_to_zval).</li> 2422</ul></li> 2423<li>FTP: 2424<ul> 2425 <li>Fixed bug <?php githubissuel('php/php-src', 9348); ?> (FTP & SSL session reuse).</li> 2426</ul></li> 2427<li>Intl: 2428<ul> 2429 <li>Fixed bug <?php githubissuel('php/php-src', 12635); ?> (Test bug69398.phpt fails with ICU 74.1).</li> 2430</ul></li> 2431<li>LibXML: 2432<ul> 2433 <li>Fixed bug <?php githubissuel('php/php-src', 12702); ?> (libxml2 2.12.0 issue building from src).</li> 2434 <li>Fixed test failures for libxml2 2.12.0.</li> 2435</ul></li> 2436<li>MySQLnd: 2437<ul> 2438 <li>Avoid using uninitialised struct.</li> 2439 <li>Fixed bug <?php githubissuel('php/php-src', 12791); ?> (Possible dereference of NULL in MySQLnd debug code).</li> 2440</ul></li> 2441<li>Opcache: 2442<ul> 2443 <li>Fixed JIT bug (Function JIT emits "Uninitialized string offset" warning at the same time as invalid offset Error).</li> 2444 <li>Fixed JIT bug (JIT emits "Attempt to assign property of non-object" warning at the same time as Error is being thrown).</li> 2445</ul></li> 2446<li>OpenSSL: 2447<ul> 2448 <li><?php bugfix(50713); ?> (openssl_pkcs7_verify() may ignore untrusted CAs).</li> 2449</ul></li> 2450<li>PCRE: 2451<ul> 2452 <li>Fixed bug <?php githubissuel('php/php-src', 12628); ?> (The gh11374 test fails on Alpinelinux).</li> 2453</ul></li> 2454<li>PDO PGSQL: 2455<ul> 2456 <li>Fixed the default value of $fetchMode in PDO::pgsqlGetNotify() (kocsismate)</li> 2457</ul></li> 2458<li>PGSQL: 2459<ul> 2460 <li>Fixed bug <?php githubissuel('php/php-src', 12763); ?> wrong argument type for pg_untrace.</li> 2461</ul></li> 2462<li>PHPDBG: 2463<ul> 2464 <li>Fixed bug <?php githubissuel('php/php-src', 12675); ?> (MEMORY_LEAK in phpdbg_prompt.c).</li> 2465</ul></li> 2466<li>SOAP: 2467<ul> 2468 <li>Fixed bug <?php githubissuel('php/php-src', 12838); ?> ([SOAP] Temporary WSDL cache files not being deleted).</li> 2469</ul></li> 2470<li>SPL: 2471<ul> 2472 <li>Fixed bug <?php githubissuel('php/php-src', 12721); ?> (SplFileInfo::getFilename() segfault in combination with GlobIterator and no directory separator).</li> 2473</ul></li> 2474<li>SQLite3: 2475<ul> 2476 <li>Fixed bug <?php githubissuel('php/php-src', 12633); ?> (sqlite3_defensive.phpt fails with sqlite 3.44.0).</li> 2477</ul></li> 2478<li>Standard: 2479<ul> 2480 <li>Fix memory leak in syslog device handling.</li> 2481 <li>Fixed bug <?php githubissuel('php/php-src', 12621); ?> (browscap segmentation fault when configured in the vhost).</li> 2482 <li>Fixed bug <?php githubissuel('php/php-src', 12655); ?> (proc_open() does not take into account references in the descriptor array).</li> 2483</ul></li> 2484<li>Streams: 2485<ul> 2486 <li><?php bugfix(79945); ?> (Stream wrappers in imagecreatefrompng causes segfault).</li> 2487</ul></li> 2488<li>Zip: 2489<ul> 2490 <li>Fixed bug <?php githubissuel('php/php-src', 12661); ?> (Inconsistency in ZipArchive::addGlob remove_path Option Behavior).</li> 2491</ul></li> 2492</ul> 2493<!-- }}} --></section> 2494 2495 2496 2497<section class="version" id="8.2.13"><!-- {{{ 8.2.13 --> 2498<h3>Version 8.2.13</h3> 2499<b><?php release_date('23-Nov-2023'); ?></b> 2500<ul><li>Core: 2501<ul> 2502 <li>Fixed double-free of non-interned enum case name.</li> 2503 <li>Fixed bug <?php githubissuel('php/php-src', 12457); ?> (Incorrect result of stripos with single character needle).</li> 2504 <li>Fixed bug <?php githubissuel('php/php-src', 12468); ?> (Double-free of doc_comment when overriding static property via trait).</li> 2505 <li>Fixed segfault caused by weak references to FFI objects.</li> 2506 <li>Fixed max_execution_time: don't delete an unitialized timer.</li> 2507 <li>Fixed bug <?php githubissuel('php/php-src', 12558); ?> (Arginfo soft-breaks with namespaced class return type if the class name starts with N).</li> 2508</ul></li> 2509<li>DOM: 2510<ul> 2511 <li>Fix registerNodeClass with abstract class crashing.</li> 2512 <li>Add missing NULL pointer error check.</li> 2513 <li>Fix validation logic of php:function() callbacks.</li> 2514</ul></li> 2515<li>Fiber: 2516<ul> 2517 <li>Fixed bug <?php githubissuel('php/php-src', 11121); ?> (ReflectionFiber segfault).</li> 2518</ul></li> 2519<li>FPM: 2520<ul> 2521 <li>Fixed bug <?php githubissuel('php/php-src', 9921); ?> (Loading ext in FPM config does not register module handlers).</li> 2522 <li>Fixed bug <?php githubissuel('php/php-src', 12232); ?> (FPM: segfault dynamically loading extension without opcache).</li> 2523 <li><?php bugfix(76922); ?> (FastCGI terminates conn after FCGI_GET_VALUES).</li> 2524</ul></li> 2525<li>Intl: 2526<ul> 2527 <li>Removed the BC break on IntlDateFormatter::construct which threw an exception with an invalid locale.</li> 2528</ul></li> 2529<li>Opcache: 2530<ul> 2531 <li>Added warning when JIT cannot be enabled.</li> 2532 <li>Fixed bug <?php githubissuel('php/php-src', 8143); ?> (Crashes in zend_accel_inheritance_cache_find since upgrading to 8.1.3 due to corrupt on-disk file cache).</li> 2533</ul></li> 2534<li>OpenSSL: 2535<ul> 2536 <li>Fixed bug <?php githubissuel('php/php-src', 12489); ?> (Missing sigbio creation checking in openssl_cms_verify).</li> 2537</ul></li> 2538<li>PCRE: 2539<ul> 2540 <li>Fixed bug <?php githubissuel('php/php-src', 11374); ?> (Backport upstream fix, Different preg_match result with -d pcre.jit=0).</li> 2541</ul></li> 2542<li>SOAP: 2543<ul> 2544 <li>Fixed bug <?php githubissuel('php/php-src', 12392); ?> (Segmentation fault on SoapClient::__getTypes).</li> 2545 <li><?php bugfix(66150); ?> (SOAP WSDL cache race condition causes Segmentation Fault).</li> 2546 <li><?php bugfix(67617); ?> (SOAP leaves incomplete cache file on ENOSPC).</li> 2547 <li>Fix incorrect uri check in SOAP caching.</li> 2548 <li>Fix segfault and assertion failure with refcounted props and arrays.</li> 2549 <li>Fix potential crash with an edge case of persistent encoders.</li> 2550 <li><?php bugfix(75306); ?> (Memleak in SoapClient).</li> 2551</ul></li> 2552<li>Streams: 2553<ul> 2554 <li><?php bugfix(75708); ?> (getimagesize with "&$imageinfo" fails on StreamWrappers).</li> 2555</ul></li> 2556<li>XMLReader: 2557<ul> 2558 <li>Add missing NULL pointer error check.</li> 2559</ul></li> 2560<li>XMLWriter: 2561<ul> 2562 <li>Add missing NULL pointer error check.</li> 2563</ul></li> 2564<li>XSL: 2565<ul> 2566 <li>Add missing module dependency.</li> 2567 <li>Fix validation logic of php:function() callbacks.</li> 2568</ul></li> 2569</ul> 2570<!-- }}} --></section> 2571 2572 2573 2574<section class="version" id="8.2.12"><!-- {{{ 8.2.12 --> 2575<h3>Version 8.2.12</h3> 2576<b><?php release_date('26-Oct-2023'); ?></b> 2577<ul><li>Core: 2578<ul> 2579 <li>Fixed bug <?php githubissuel('php/php-src', 12207); ?> (memory leak when class using trait with doc block).</li> 2580 <li>Fixed bug <?php githubissuel('php/php-src', 12215); ?> (Module entry being overwritten causes type errors in ext/dom).</li> 2581 <li>Fixed bug <?php githubissuel('php/php-src', 12273); ?> (__builtin_cpu_init check).</li> 2582 <li><?php bugfix(80092); ?> (ZTS + preload = segfault on shutdown).</li> 2583</ul></li> 2584<li>CLI: 2585<ul> 2586 <li>Ensure a single Date header is present.</li> 2587</ul></li> 2588<li>CType: 2589<ul> 2590 <li>Fixed bug <?php githubissuel('php/php-src', 11997); ?> (ctype_alnum 5 times slower in PHP 8.1 or greater).</li> 2591</ul></li> 2592<li>DOM: 2593<ul> 2594 <li>Restore old namespace reconciliation behaviour.</li> 2595 <li>Fixed bug <?php githubissuel('php/php-src', 8996); ?> (DOMNode serialization on PHP ^8.1).</li> 2596</ul></li> 2597<li>Fileinfo: 2598<ul> 2599 <li>Fixed bug <?php githubissuel('php/php-src', 11891); ?> (fileinfo returns text/xml for some svg files).</li> 2600</ul></li> 2601<li>Filter: 2602<ul> 2603 <li>Fix explicit FILTER_REQUIRE_SCALAR with FILTER_CALLBACK (ilutov)</li> 2604</ul></li> 2605<li>Hash: 2606<ul> 2607 <li>Fixed bug <?php githubissuel('php/php-src', 12186); ?> (segfault copying/cloning a finalized HashContext).</li> 2608</ul></li> 2609<li>Intl: 2610<ul> 2611 <li>Fixed bug <?php githubissuel('php/php-src', 12243); ?> (segfault on IntlDateFormatter::construct).</li> 2612 <li>Fixed bug <?php githubissuel('php/php-src', 12282); ?> (IntlDateFormatter::construct should throw an exception on an invalid locale).</li> 2613</ul></li> 2614<li>MySQLnd: 2615<ul> 2616 <li>Fixed bug <?php githubissuel('php/php-src', 12297); ?> (PHP Startup: Invalid library (maybe not a PHP library) 'mysqlnd.so' in Unknown on line).</li> 2617</ul></li> 2618<li>Opcache: 2619<ul> 2620 <li>Fixed opcache_invalidate() on deleted file.</li> 2621 <li>Fixed bug <?php githubissuel('php/php-src', 12380); ?> (JIT+private array property access inside closure accesses private property in child class).</li> 2622</ul></li> 2623<li>PCRE: 2624<ul> 2625 <li>Fixed bug <?php githubissuel('php/php-src', 11956); ?> (Backport upstream fix, PCRE regular expressions with JIT enabled gives different result).</li> 2626</ul></li> 2627<li>SimpleXML: 2628<ul> 2629 <li>Fixed bug <?php githubissuel('php/php-src', 12170); ?> (Can't use xpath with comments in SimpleXML).</li> 2630 <li>Fixed bug <?php githubissuel('php/php-src', 12223); ?> (Entity reference produces infinite loop in var_dump/print_r).</li> 2631 <li>Fixed bug <?php githubissuel('php/php-src', 12167); ?> (Unable to get processing instruction contents in SimpleXML).</li> 2632 <li>Fixed bug <?php githubissuel('php/php-src', 12169); ?> (Unable to get comment contents in SimpleXML).</li> 2633</ul></li> 2634<li>Streams: 2635<ul> 2636 <li>Fixed bug <?php githubissuel('php/php-src', 12190); ?> (binding ipv4 address with both address and port at 0).</li> 2637</ul></li> 2638<li>XML: 2639<ul> 2640 <li>Fix return type of stub of xml_parse_into_struct().</li> 2641 <li>Fix memory leak when calling xml_parse_into_struct() twice.</li> 2642</ul></li> 2643<li>XSL: 2644<ul> 2645 <li>Fix type error on XSLTProcessor::transformToDoc return value with SimpleXML.</li> 2646</ul></li> 2647</ul> 2648<!-- }}} --></section> 2649 2650 2651 2652<section class="version" id="8.2.11"><!-- {{{ 8.2.11 --> 2653<h3>Version 8.2.11</h3> 2654<b><?php release_date('28-Sep-2023'); ?></b> 2655<ul><li>Core: 2656<ul> 2657 <li>Fixed bug <?php githubissuel('php/php-src', 11937); ?> (Constant ASTs containing objects).</li> 2658 <li>Fixed bug <?php githubissuel('php/php-src', 11790); ?> (On riscv64 require libatomic if actually needed).</li> 2659 <li>Fixed bug <?php githubissuel('php/php-src', 11876); ?>: ini_parse_quantity() accepts invalid quantities.</li> 2660 <li>Fixed bug <?php githubissuel('php/php-src', 12073); ?> (Segfault when freeing incompletely initialized closures).</li> 2661 <li>Fixed bug <?php githubissuel('php/php-src', 12060); ?> (Internal iterator rewind handler is called twice).</li> 2662 <li>Fixed bug <?php githubissuel('php/php-src', 12102); ?> (Incorrect compile error when using array access on TMP value in function call).</li> 2663</ul></li> 2664<li>DOM: 2665<ul> 2666 <li>Fix memory leak when setting an invalid DOMDocument encoding.</li> 2667</ul></li> 2668<li>Iconv: 2669<ul> 2670 <li>Fixed build for NetBSD which still uses the old iconv signature.</li> 2671</ul></li> 2672<li>Intl: 2673<ul> 2674 <li>Fixed bug <?php githubissuel('php/php-src', 12020); ?> (intl_get_error_message() broken after MessageFormatter::formatMessage() fails).</li> 2675</ul></li> 2676<li>MySQLnd: 2677<ul> 2678 <li>Fixed bug <?php githubissuel('php/php-src', 10270); ?> (Invalid error message when connection via SSL fails: "trying to connect via (null)").</li> 2679</ul></li> 2680<li>ODBC: 2681<ul> 2682 <li>Fixed memory leak with failed SQLPrepare.</li> 2683 <li>Fixed persistent procedural ODBC connections not getting closed.</li> 2684</ul></li> 2685<li>SimpleXML: 2686<ul> 2687 <li><?php bugfix(52751); ?> (XPath processing-instruction() function is not supported).</li> 2688</ul></li> 2689<li>SPL: 2690<ul> 2691 <li>Fixed bug <?php githubissuel('php/php-src', 11972); ?> (RecursiveCallbackFilterIterator regression in 8.1.18).</li> 2692</ul></li> 2693<li>SQLite3: 2694<ul> 2695 <li>Fixed bug <?php githubissuel('php/php-src', 11878); ?> (SQLite3 callback functions cause a memory leak with a callable array).</li> 2696</ul></li> 2697</ul> 2698<!-- }}} --></section> 2699 2700 2701 2702<section class="version" id="8.2.10"><!-- {{{ 8.2.10 --> 2703<h3>Version 8.2.10</h3> 2704<b><?php release_date('31-Aug-2023'); ?></b> 2705<ul><li>CLI: 2706<ul> 2707 <li>Fixed bug <?php githubissuel('php/php-src', 11716); ?> (cli server crashes on SIGINT when compiled with ZEND_RC_DEBUG=1).</li> 2708 <li>Fixed bug <?php githubissuel('php/php-src', 10964); ?> (Improve man page about the built-in server).</li> 2709</ul></li> 2710<li>Date: 2711<ul> 2712 <li>Fixed bug <?php githubissuel('php/php-src', 11416); ?> (Crash with DatePeriod when uninitialised objects are passed in).</li> 2713</ul></li> 2714<li>Core: 2715<ul> 2716 <li>Fixed strerror_r detection at configuration time.</li> 2717 <li>Fixed trait typed properties using a DNF type not being correctly bound.</li> 2718 <li>Fixed trait property types not being arena allocated if copied from an internal trait.</li> 2719 <li>Fixed deep copy of property DNF type during lazy class load.</li> 2720 <li>Fixed memory freeing of DNF types for non arena allocated types.</li> 2721</ul></li> 2722<li>DOM: 2723<ul> 2724 <li>Fix DOMEntity field getter bugs.</li> 2725 <li>Fix incorrect attribute existence check in DOMElement::setAttributeNodeNS.</li> 2726 <li>Fix DOMCharacterData::replaceWith() with itself.</li> 2727 <li>Fix empty argument cases for DOMParentNode methods.</li> 2728 <li>Fixed bug <?php githubissuel('php/php-src', 11791); ?> (Wrong default value of DOMDocument::xmlStandalone).</li> 2729 <li>Fix json_encode result on DOMDocument.</li> 2730 <li>Fix manually calling __construct() on DOM classes.</li> 2731 <li>Fixed bug <?php githubissuel('php/php-src', 11830); ?> (ParentNode methods should perform their checks upfront).</li> 2732 <li>Fix viable next sibling search for replaceWith.</li> 2733 <li>Fix segfault when DOMParentNode::prepend() is called when the child disappears.</li> 2734</ul></li> 2735<li>FFI: 2736<ul> 2737 <li>Fix leaking definitions when using FFI::cdef()->new(...).</li> 2738</ul></li> 2739<li>Hash: 2740<ul> 2741 <li>Fix use-of-uninitialized-value in hash_pbkdf2(), fix missing $options parameter in signature.</li> 2742</ul></li> 2743<li>MySQLnd: 2744<ul> 2745 <li>Fixed bug <?php githubissuel('php/php-src', 11440); ?> (authentication to a sha256_password account fails over SSL).</li> 2746 <li>Fixed bug <?php githubissuel('php/php-src', 11438); ?> (mysqlnd fails to authenticate with sha256_password accounts using passwords longer than 19 characters).</li> 2747 <li>Fixed bug <?php githubissuel('php/php-src', 11550); ?> (MySQL Statement has a empty query result when the response field has changed, also Segmentation fault).</li> 2748 <li>Fixed invalid error message "Malformed packet" when connection is dropped.</li> 2749</ul></li> 2750<li>Opcache: 2751<ul> 2752 <li>Fixed bug <?php githubissuel('php/php-src', 11715); ?> (opcache.interned_strings_buffer either has no effect or opcache_get_status() / phpinfo() is wrong).</li> 2753 <li>Avoid adding an unnecessary read-lock when loading script from shm if restart is in progress.</li> 2754</ul></li> 2755<li>PCNTL: 2756<ul> 2757 <li>Revert behaviour of receiving SIGCHLD signals back to the behaviour before 8.1.22.</li> 2758</ul></li> 2759<li>SPL: 2760<ul> 2761 <li><?php bugfix(81992); ?> (SplFixedArray::setSize() causes use-after-free).</li> 2762</ul></li> 2763<li>Standard: 2764<ul> 2765 <li>Prevent int overflow on $decimals in number_format.</li> 2766 <li>Fixed bug <?php githubissuel('php/php-src', 11870); ?> (Fix off-by-one bug when truncating tempnam prefix) (athos-ribeiro)</li> 2767</ul></li> 2768</ul> 2769<!-- }}} --></section> 2770 2771 2772 2773<section class="version" id="8.2.9"><!-- {{{ 8.2.9 --> 2774<h3>Version 8.2.9</h3> 2775<b><?php release_date('03-Aug-2023'); ?></b> 2776<ul><li>Build: 2777<ul> 2778 <li>Fixed bug <?php githubissuel('php/php-src', 11522); ?> (PHP version check fails with '-' separator).</li> 2779</ul></li> 2780<li>CLI: 2781<ul> 2782 <li>Fix interrupted CLI output causing the process to exit.</li> 2783</ul></li> 2784<li>Core: 2785<ul> 2786 <li>Fixed oss-fuzz #60011 (Mis-compilation of by-reference nullsafe operator).</li> 2787 <li>Fixed line number of JMP instruction over else block.</li> 2788 <li>Fixed use-of-uninitialized-value with ??= on assert.</li> 2789 <li>Fixed oss-fuzz #60411 (Fix double-compilation of arrow-functions).</li> 2790 <li>Fixed build for FreeBSD before the 11.0 releases.</li> 2791</ul></li> 2792<li>Curl: 2793<ul> 2794 <li>Fix crash when an invalid callback function is passed to CURLMOPT_PUSHFUNCTION.</li> 2795</ul></li> 2796<li>Date: 2797<ul> 2798 <li>Fixed bug <?php githubissuel('php/php-src', 11368); ?> (Date modify returns invalid datetime).</li> 2799 <li>Fixed bug <?php githubissuel('php/php-src', 11600); ?> (Can't parse time strings which include (narrow) non-breaking space characters).</li> 2800 <li>Fixed bug <?php githubissuel('php/php-src', 11854); ?> (DateTime:createFromFormat stopped parsing datetime with extra space).</li> 2801</ul></li> 2802<li>DOM: 2803<ul> 2804 <li>Fixed bug <?php githubissuel('php/php-src', 11625); ?> (DOMElement::replaceWith() doesn't replace node with DOMDocumentFragment but just deletes node or causes wrapping <></> depending on libxml2 version).</li> 2805</ul></li> 2806<li>Fileinfo: 2807<ul> 2808 <li>Fixed bug <?php githubissuel('php/php-src', 11298); ?> (finfo returns wrong mime type for xz files).</li> 2809</ul></li> 2810<li>FTP: 2811<ul> 2812 <li>Fix context option check for "overwrite".</li> 2813 <li>Fixed bug <?php githubissuel('php/php-src', 10562); ?> (Memory leak and invalid state with consecutive ftp_nb_fget).</li> 2814</ul></li> 2815<li>GD: 2816<ul> 2817 <li>Fix most of the external libgd test failures.</li> 2818</ul></li> 2819<li>Intl: 2820<ul> 2821 <li>Fix memory leak in MessageFormatter::format() on failure.</li> 2822</ul></li> 2823<li>Libxml: 2824<ul> 2825 <li>Fixed bug GHSA-3qrf-m4j2-pcrr (Security issue with external entity loading in XML without enabling it). (CVE-2023-3823)</li> 2826</ul></li> 2827<li>MBString: 2828<ul> 2829 <li>Fix <?php githubissuel('php/php-src', 11300); ?> (license issue: restricted unicode license headers).</li> 2830</ul></li> 2831<li>Opcache: 2832<ul> 2833 <li>Fixed bug <?php githubissuel('php/php-src', 10914); ?> (OPCache with Enum and Callback functions results in segmentation fault).</li> 2834 <li>Prevent potential deadlock if accelerated globals cannot be allocated.</li> 2835</ul></li> 2836<li>PCNTL: 2837<ul> 2838 <li>Fixed bug <?php githubissuel('php/php-src', 11498); ?> (SIGCHLD is not always returned from proc_open).</li> 2839</ul></li> 2840<li>PDO: 2841<ul> 2842 <li>Fix <?php githubissuel('php/php-src', 11587); ?> (After php8.1, when PDO::ATTR_EMULATE_PREPARES is true and PDO::ATTR_STRINGIFY_FETCHES is true, decimal zeros are no longer filled).</li> 2843</ul></li> 2844<li>PDO SQLite: 2845<ul> 2846 <li>Fix <?php githubissuel('php/php-src', 11492); ?> (Make test failure: ext/pdo_sqlite/tests/bug_42589.phpt).</li> 2847</ul></li> 2848<li>Phar: 2849<ul> 2850 <li>Add missing check on EVP_VerifyUpdate() in phar util.</li> 2851 <li>Fixed bug GHSA-jqcx-ccgc-xwhv (Buffer mismanagement in phar_dir_read()). (CVE-2023-3824)</li> 2852</ul></li> 2853<li>PHPDBG: 2854<ul> 2855 <li>Fixed bug <?php githubissuel('php/php-src', 9669); ?> (phpdbg -h options doesn't list the -z option).</li> 2856</ul></li> 2857<li>Session: 2858<ul> 2859 <li>Removed broken url support for transferring session ID.</li> 2860</ul></li> 2861<li>Standard: 2862<ul> 2863 <li>Fix serialization of RC1 objects appearing in object graph twice.</li> 2864</ul></li> 2865<li>Streams: 2866<ul> 2867 <li>Fixed bug <?php githubissuel('php/php-src', 11735); ?> (Use-after-free when unregistering user stream wrapper from itself).</li> 2868</ul></li> 2869<li>SQLite3: 2870<ul> 2871 <li>Fix replaced error handling in SQLite3Stmt::__construct.</li> 2872</ul></li> 2873<li>XMLReader: 2874<ul> 2875 <li>Fix <?php githubissuel('php/php-src', 11548); ?> (Argument corruption when calling XMLReader::open or XMLReader::XML non-statically with observer active).</li> 2876</ul></li> 2877</ul> 2878<!-- }}} --></section> 2879 2880 2881 2882<section class="version" id="8.2.8"><!-- {{{ 8.2.8 --> 2883<h3>Version 8.2.8</h3> 2884<b><?php release_date('06-Jul-2023'); ?></b> 2885<ul><li>CLI: 2886<ul> 2887 <li>Fixed bug <?php githubissuel('php/php-src', 11246); ?> (cli/get_set_process_title fails on MacOS).</li> 2888</ul></li> 2889<li>Core: 2890<ul> 2891 <li>Fixed build for the riscv64 architecture/GCC 12.</li> 2892</ul></li> 2893<li>Curl: 2894<ul> 2895 <li>Fixed bug <?php githubissuel('php/php-src', 11433); ?> (Unable to set CURLOPT_ACCEPT_ENCODING to NULL).</li> 2896</ul></li> 2897<li>Date: 2898<ul> 2899 <li>Fixed bug <?php githubissuel('php/php-src', 11455); ?> (Segmentation fault with custom object date properties).</li> 2900</ul></li> 2901<li>DOM: 2902<ul> 2903 <li>Fixed bugs <?php githubissuel('php/php-src', 11288); ?> and <?php githubissuel('php/php-src', 11289); ?> and <?php githubissuel('php/php-src', 11290); ?> and <?php githubissuel('php/php-src', 9142); ?> (DOMExceptions and segfaults with replaceWith).</li> 2904 <li>Fixed bug <?php githubissuel('php/php-src', 10234); ?> (Setting DOMAttr::textContent results in an empty attribute value).</li> 2905 <li>Fix return value in stub file for DOMNodeList::item.</li> 2906 <li>Fix spec compliance error with '*' namespace for DOMDocument::getElementsByTagNameNS.</li> 2907 <li>Fix DOMElement::append() and DOMElement::prepend() hierarchy checks.</li> 2908 <li>Fixed bug <?php githubissuel('php/php-src', 11347); ?> (Memory leak when calling a static method inside an xpath query).</li> 2909 <li><?php bugfix(67440); ?> (append_node of a DOMDocumentFragment does not reconcile namespaces).</li> 2910 <li><?php bugfix(81642); ?> (DOMChildNode::replaceWith() bug when replacing a node with itself).</li> 2911 <li><?php bugfix(77686); ?> (Removed elements are still returned by getElementById).</li> 2912 <li><?php bugfix(70359); ?> (print_r() on DOMAttr causes Segfault in php_libxml_node_free_list()).</li> 2913 <li><?php bugfix(78577); ?> (Crash in DOMNameSpace debug info handlers).</li> 2914 <li>Fix lifetime issue with getAttributeNodeNS().</li> 2915 <li>Fix "invalid state error" with cloned namespace declarations.</li> 2916 <li><?php bugfix(55294); ?> and #47530 and #47847 (various namespace reconciliation issues).</li> 2917 <li><?php bugfix(80332); ?> (Completely broken array access functionality with DOMNamedNodeMap).</li> 2918</ul></li> 2919<li>Opcache: 2920<ul> 2921 <li>Fix allocation loop in zend_shared_alloc_startup().</li> 2922 <li>Access violation on smm_shared_globals with ALLOC_FALLBACK.</li> 2923 <li>Fixed bug <?php githubissuel('php/php-src', 11336); ?> (php still tries to unlock the shared memory ZendSem with opcache.file_cache_only=1 but it was never locked).</li> 2924</ul></li> 2925<li>OpenSSL: 2926<ul> 2927 <li>Fixed bug <?php githubissuel('php/php-src', 9356); ?> Incomplete validation of IPv6 Address fields in subjectAltNames (James Lucas, Jakub Zelenka).</li> 2928</ul></li> 2929<li>PCRE: 2930<ul> 2931 <li>Fix preg_replace_callback_array() pattern validation.</li> 2932</ul></li> 2933<li>PGSQL: 2934<ul> 2935 <li>Fixed intermittent segfault with pg_trace.</li> 2936</ul></li> 2937<li>Phar: 2938<ul> 2939 <li>Fix cross-compilation check in phar generation for FreeBSD.</li> 2940</ul></li> 2941<li>SPL: 2942<ul> 2943 <li>Fixed bug <?php githubissuel('php/php-src', 11338); ?> (SplFileInfo empty getBasename with more than one slash).</li> 2944</ul></li> 2945<li>Standard: 2946<ul> 2947 <li>Fix access on NULL pointer in array_merge_recursive().</li> 2948 <li>Fix exception handling in array_multisort().</li> 2949</ul></li> 2950<li>SQLite3: 2951<ul> 2952 <li>Fixed bug <?php githubissuel('php/php-src', 11451); ?> (Invalid associative array containing duplicate keys).</li> 2953</ul></li> 2954</ul> 2955<!-- }}} --></section> 2956 2957 2958 2959<section class="version" id="8.2.7"><!-- {{{ 8.2.7 --> 2960<h3>Version 8.2.7</h3> 2961<b><?php release_date('08-Jun-2023'); ?></b> 2962<ul><li>Core: 2963<ul> 2964 <li>Fixed bug <?php githubissuel('php/php-src', 11152); ?> (Unable to alias namespaces containing reserved class names).</li> 2965 <li>Fixed bug <?php githubissuel('php/php-src', 9068); ?> (Conditional jump or move depends on uninitialised value(s)).</li> 2966 <li>Fixed bug <?php githubissuel('php/php-src', 11189); ?> (Exceeding memory limit in zend_hash_do_resize leaves the array in an invalid state).</li> 2967 <li>Fixed bug <?php githubissuel('php/php-src', 11063); ?> (Compilation error on old GCC versions).</li> 2968 <li>Fixed bug <?php githubissuel('php/php-src', 11222); ?> (foreach by-ref may jump over keys during a rehash).</li> 2969</ul></li> 2970<li>Date: 2971<ul> 2972 <li>Fixed bug <?php githubissuel('php/php-src', 11281); ?> (DateTimeZone::getName() does not include seconds in offset).</li> 2973</ul></li> 2974<li>Exif: 2975<ul> 2976 <li>Fixed bug <?php githubissuel('php/php-src', 10834); ?> (exif_read_data() cannot read smaller stream wrapper chunk sizes).</li> 2977</ul></li> 2978<li>FPM: 2979<ul> 2980 <li>Fixed bug <?php githubissuel('php/php-src', 10461); ?> (PHP-FPM segfault due to after free usage of child->ev_std(out|err)).</li> 2981 <li><?php bugfix(64539); ?> (FPM status page: query_string not properly JSON encoded).</li> 2982 <li>Fixed memory leak for invalid primary script file handle.</li> 2983</ul></li> 2984<li>Hash: 2985<ul> 2986 <li>Fixed bug <?php githubissuel('php/php-src', 11180); ?> (hash_file() appears to be restricted to 3 arguments).</li> 2987</ul></li> 2988<li>LibXML: 2989<ul> 2990 <li>Fixed bug <?php githubissuel('php/php-src', 11160); ?> (Few tests failed building with new libxml 2.11.0).</li> 2991</ul></li> 2992<li>MBString: 2993<ul> 2994 <li>Fix bug <?php githubissuel('php/php-src', 11217); ?> (Segfault in mb_strrpos / mb_strripos when using negative offset and ASCII encoding).</li> 2995</ul></li> 2996<li>Opcache: 2997<ul> 2998 <li>Fixed bug <?php githubissuel('php/php-src', 11134); ?> (Incorrect match default branch optimization).</li> 2999 <li>Fixed too wide OR and AND range inference.</li> 3000 <li>Fixed missing class redeclaration error with OPcache enabled.</li> 3001 <li>Fixed bug <?php githubissuel('php/php-src', 11245); ?> (In some specific cases SWITCH with one default statement will cause segfault).</li> 3002</ul></li> 3003<li>PCNTL: 3004<ul> 3005 <li>Fixed maximum argument count of pcntl_forkx().</li> 3006</ul></li> 3007<li>PGSQL: 3008<ul> 3009 <li>Fixed parameter parsing of pg_lo_export().</li> 3010</ul></li> 3011<li>Phar: 3012<ul> 3013 <li>Fixed bug <?php githubissuel('php/php-src', 11099); ?> (Generating phar.php during cross-compile can't be done).</li> 3014</ul></li> 3015<li>Soap: 3016<ul> 3017 <li>Fixed bug GHSA-76gg-c692-v2mw (Missing error check and insufficient random bytes in HTTP Digest authentication for SOAP). (CVE-2023-3247)</li> 3018 <li>Fixed bug <?php githubissuel('php/php-src', 8426); ?> (make test fail while soap extension build).</li> 3019</ul></li> 3020<li>SPL: 3021<ul> 3022 <li>Fixed bug <?php githubissuel('php/php-src', 11178); ?> (Segmentation fault in spl_array_it_get_current_data (PHP 8.1.18)).</li> 3023</ul></li> 3024<li>Standard: 3025<ul> 3026 <li>Fixed bug <?php githubissuel('php/php-src', 11138); ?> (move_uploaded_file() emits open_basedir warning for source file).</li> 3027 <li>Fixed bug <?php githubissuel('php/php-src', 11274); ?> (POST/PATCH request switches to GET after a HTTP 308 redirect).</li> 3028</ul></li> 3029<li>Streams: 3030<ul> 3031 <li>Fixed bug <?php githubissuel('php/php-src', 10031); ?> ([Stream] STREAM_NOTIFY_PROGRESS over HTTP emitted irregularly for last chunk of data).</li> 3032 <li>Fixed bug <?php githubissuel('php/php-src', 11175); ?> (Stream Socket Timeout).</li> 3033 <li>Fixed bug <?php githubissuel('php/php-src', 11177); ?> (ASAN UndefinedBehaviorSanitizer when timeout = -1 passed to stream_socket_accept/stream_socket_client).</li> 3034</ul></li> 3035</ul> 3036<!-- }}} --></section> 3037 3038 3039 3040<section class="version" id="8.2.6"><!-- {{{ 8.2.6 --> 3041<h3>Version 8.2.6</h3> 3042<b><?php release_date('11-May-2023'); ?></b> 3043<ul><li>Core: 3044<ul> 3045 <li>Fix inconsistent float negation in constant expressions.</li> 3046 <li>Fixed bug <?php githubissuel('php/php-src', 8841); ?> (php-cli core dump calling a badly formed function).</li> 3047 <li>Fixed bug <?php githubissuel('php/php-src', 10737); ?> (PHP 8.1.16 segfaults on line 597 of sapi/apache2handler/sapi_apache2.c).</li> 3048 <li>Fixed bug <?php githubissuel('php/php-src', 11028); ?> (Heap Buffer Overflow in zval_undefined_cv.).</li> 3049 <li>Fixed bug <?php githubissuel('php/php-src', 11108); ?> (Incorrect CG(memoize_mode) state after bailout in ??=).</li> 3050</ul></li> 3051<li>Date: 3052<ul> 3053 <li>Fixed bug where the diff() method would not return the right result around DST changeover for date/times associated with a timezone identifier.</li> 3054 <li>Fixed out-of-range bug when converting to/from around the LONG_MIN unix timestamp.</li> 3055</ul></li> 3056<li>DOM: 3057<ul> 3058 <li><?php bugfix(80602); ?> (Segfault when using DOMChildNode::before()).</li> 3059 <li>Fixed incorrect error handling in dom_zvals_to_fragment().</li> 3060</ul></li> 3061<li>Exif: 3062<ul> 3063 <li>Fixed bug <?php githubissuel('php/php-src', 9397); ?> (exif read : warnings and errors : Potentially invalid endianess, Illegal IFD size and Undefined index).</li> 3064</ul></li> 3065<li>Intl: 3066<ul> 3067 <li>Fixed bug <?php githubissuel('php/php-src', 11071); ?> (TZData version not displayed anymore).</li> 3068</ul></li> 3069<li>PCRE: 3070<ul> 3071 <li>Fixed bug <?php githubissuel('php/php-src', 10968); ?> (Segfault in preg_replace_callback_array()).</li> 3072</ul></li> 3073<li>Reflection: 3074<ul> 3075 <li>Fixed bug <?php githubissuel('php/php-src', 10983); ?> (State-dependant segfault in ReflectionObject::getProperties).</li> 3076</ul></li> 3077<li>SPL: 3078<ul> 3079 <li>Handle indirect zvals and use up-to-date properties in SplFixedArray::__serialize.</li> 3080</ul></li> 3081<li>Standard: 3082<ul> 3083 <li>Fixed bug <?php githubissuel('php/php-src', 10990); ?> (mail() throws TypeError after iterating over $additional_headers array by reference).</li> 3084 <li>Fixed bug <?php githubissuel('php/php-src', 9775); ?> (Duplicates returned by array_unique when using enums).</li> 3085</ul></li> 3086<li>Streams: 3087<ul> 3088 <li>Fixed bug <?php githubissuel('php/php-src', 10406); ?> (feof() behavior change for UNIX based socket resources).</li> 3089</ul></li> 3090</ul> 3091<!-- }}} --></section> 3092 3093 3094 3095<section class="version" id="8.2.5"><!-- {{{ 8.2.5 --> 3096<h3>Version 8.2.5</h3> 3097<b><?php release_date('13-Apr-2023'); ?></b> 3098<ul><li>Core: 3099<ul> 3100 <li>Added optional support for max_execution_time in ZTS/Linux builds (Kévin Dunglas)</li> 3101 <li>Fixed use-after-free in recursive AST evaluation.</li> 3102 <li>Fixed bug <?php githubissuel('php/php-src', 8646); ?> (Memory leak PHP FPM 8.1).</li> 3103 <li>Re-add some CTE functions that were removed from being CTE by a mistake.</li> 3104 <li>Remove CTE flag from array_diff_ukey(), which was added by mistake.</li> 3105 <li>Fixed bug <?php githubissuel('php/php-src', 10801); ?> (Named arguments in CTE functions cause a segfault).</li> 3106 <li>Fixed bug <?php githubissuel('php/php-src', 8789); ?> (PHP 8.0.20 (ZTS) zend_signal_handler_defer crashes on apache).</li> 3107 <li>Fixed bug <?php githubissuel('php/php-src', 10015); ?> (zend_signal_handler_defer crashes on apache shutdown).</li> 3108 <li>Fixed bug <?php githubissuel('php/php-src', 10810); ?> (Fix NUL byte terminating Exception::__toString()).</li> 3109 <li>Fix potential memory corruption when mixing __callStatic() and FFI.</li> 3110</ul></li> 3111<li>Date: 3112<ul> 3113 <li>Fixed bug <?php githubissuel('php/php-src', 10747); ?> (Private and protected properties in serialized Date* objects throw).</li> 3114</ul></li> 3115<li>FPM: 3116<ul> 3117 <li>Fixed bug <?php githubissuel('php/php-src', 10611); ?> (fpm_env_init_main leaks environ).</li> 3118 <li>Destroy file_handle in fpm_main.</li> 3119 <li><?php bugfix(74129); ?> (Incorrect SCRIPT_NAME with apache ProxyPassMatch when spaces are in path).</li> 3120</ul></li> 3121<li>FTP: 3122<ul> 3123 <li>Propagate success status of ftp_close().</li> 3124 <li>Fixed bug <?php githubissuel('php/php-src', 10521); ?> (ftp_get/ftp_nb_get resumepos offset is maximum 10GB).</li> 3125</ul></li> 3126<li>IMAP: 3127<ul> 3128 <li>Fix build failure with Clang 16.</li> 3129</ul></li> 3130<li>MySQLnd: 3131<ul> 3132 <li>Fixed bug <?php githubissuel('php/php-src', 8979); ?> (Possible Memory Leak with SSL-enabled MySQL connections).</li> 3133</ul></li> 3134<li>Opcache: 3135<ul> 3136 <li>Fixed build for macOS to cater with pkg-config settings.</li> 3137 <li>Fixed bug <?php githubissuel('php/php-src', 8065); ?> (opcache.consistency_checks > 0 causes segfaults in PHP >= 8.1.5 in fpm context).</li> 3138</ul></li> 3139<li>OpenSSL: 3140<ul> 3141 <li>Add missing error checks on file writing functions.</li> 3142</ul></li> 3143<li>PDO Firebird: 3144<ul> 3145 <li>Fixed bug <?php githubissuel('php/php-src', 10908); ?> (Bus error with PDO Firebird on RPI with 64 bit kernel and 32 bit userland).</li> 3146</ul></li> 3147<li>Phar: 3148<ul> 3149 <li>Fixed bug <?php githubissuel('php/php-src', 10766); ?> (PharData archive created with Phar::Zip format does not keep files metadata (datetime)).</li> 3150 <li>Add missing error checks on EVP_MD_CTX_create() and EVP_VerifyInit().</li> 3151</ul></li> 3152<li>PDO ODBC: 3153<ul> 3154 <li>Fixed missing and inconsistent error checks on SQLAllocHandle.</li> 3155</ul></li> 3156<li>PGSQL: 3157<ul> 3158 <li>Fixed typo in the array returned from pg_meta_data (extended mode).</li> 3159</ul></li> 3160<li>SPL: 3161<ul> 3162 <li>Fixed bug <?php githubissuel('php/php-src', 10519); ?> (Array Data Address Reference Issue).</li> 3163 <li>Fixed bug <?php githubissuel('php/php-src', 10907); ?> (Unable to serialize processed SplFixedArrays in PHP 8.2.4).</li> 3164 <li>Fixed bug <?php githubissuel('php/php-src', 10844); ?> (ArrayIterator allows modification of readonly props).</li> 3165</ul></li> 3166<li>Standard: 3167<ul> 3168 <li>Fixed bug <?php githubissuel('php/php-src', 10885); ?> (stream_socket_server context leaks).</li> 3169 <li>Fixed bug <?php githubissuel('php/php-src', 10052); ?> (Browscap crashes PHP 8.1.12 on request shutdown (apache2)).</li> 3170 <li>Fixed oss-fuzz #57392 (Buffer-overflow in php_fgetcsv() with \0 delimiter and enclosure).</li> 3171 <li>Fixed undefined behaviour in unpack().</li> 3172</ul></li> 3173</ul> 3174<!-- }}} --></section> 3175 3176 3177 3178<section class="version" id="8.2.4"><!-- {{{ 8.2.4 --> 3179<h3>Version 8.2.4</h3> 3180<b><?php release_date('16-Mar-2023'); ?></b> 3181<ul><li>Core: 3182<ul> 3183 <li>Fixed incorrect check condition in ZEND_YIELD.</li> 3184 <li>Fixed incorrect check condition in type inference.</li> 3185 <li>Fix incorrect check in zend_internal_call_should_throw().</li> 3186 <li>Fixed overflow check in OnUpdateMemoryConsumption.</li> 3187 <li>Fixed bug <?php githubissuel('php/php-src', 9916); ?> (Entering shutdown sequence with a fiber suspended in a Generator emits an unavoidable fatal error or crashes).</li> 3188 <li>Fixed bug <?php githubissuel('php/php-src', 10437); ?> (Segfault/assertion when using fibers in shutdown function after bailout).</li> 3189 <li>Fixed SSA object type update for compound assignment opcodes.</li> 3190 <li>Fixed language scanner generation build.</li> 3191 <li>Fixed zend_update_static_property() calling zend_update_static_property_ex() misleadingly with the wrong return type.</li> 3192 <li>Fix bug <?php githubissuel('php/php-src', 10570); ?> (Fixed unknown string hash on property fetch with integer constant name).</li> 3193 <li>Fixed php_fopen_primary_script() call resulted on zend_destroy_file_handle() freeing dangling pointers on the handle as it was uninitialized.</li> 3194</ul></li> 3195<li>Curl: 3196<ul> 3197 <li>Fixed deprecation warning at compile time.</li> 3198 <li>Fixed bug <?php githubissuel('php/php-src', 10270); ?> (Unable to return CURL_READFUNC_PAUSE in readfunc callback).</li> 3199</ul></li> 3200<li>Date: 3201<ul> 3202 <li>Fix <?php githubissuel('php/php-src', 10447); ?> ('p' format specifier does not yield 'Z' for 00:00).</li> 3203 <li>Fix <?php githubissuel('php/php-src', 10152); ?> (Custom properties of Date's child classes are not serialised).</li> 3204 <li>Fixed bug <?php githubissuel('php/php-src', 10747); ?> (Private and protected properties in serialized Date* objects throw).</li> 3205</ul></li> 3206<li>FFI: 3207<ul> 3208 <li>Fixed incorrect bitshifting and masking in ffi bitfield.</li> 3209</ul></li> 3210<li>Fiber: 3211<ul> 3212 <li>Fixed assembly on alpine x86.</li> 3213 <li>Fixed bug <?php githubissuel('php/php-src', 10496); ?> (segfault when garbage collector is invoked inside of fiber).</li> 3214</ul></li> 3215<li>FPM: 3216<ul> 3217 <li>Fixed bug <?php githubissuel('php/php-src', 10315); ?> (FPM unknown child alert not valid).</li> 3218 <li>Fixed bug <?php githubissuel('php/php-src', 10385); ?> (FPM successful config test early exit).</li> 3219</ul></li> 3220<li>GMP: 3221<ul> 3222 <li>Properly implement GMP::__construct().</li> 3223</ul></li> 3224<li>Intl: 3225<ul> 3226 <li>Fixed bug <?php githubissuel('php/php-src', 10647); ?> (Spoolchecker isSuspicious/areConfusable methods error code's argument always returning NULL0.</li> 3227</ul></li> 3228<li>JSON: 3229<ul> 3230 <li>Fixed JSON scanner and parser generation build.</li> 3231</ul></li> 3232<li>MBString: 3233<ul> 3234 <li>ext/mbstring: fix new_value length check.</li> 3235 <li>Fix bug <?php githubissuel('php/php-src', 10627); ?> (mb_convert_encoding crashes PHP on Windows).</li> 3236</ul></li> 3237<li>Opcache: 3238<ul> 3239 <li>Fix incorrect page_size check.</li> 3240</ul></li> 3241<li>OpenSSL: 3242<ul> 3243 <li>Fixed php_openssl_set_server_dh_param() DH params errors handling.</li> 3244</ul></li> 3245<li>PDO OCI: 3246<ul> 3247 <li><?php bugfix(60994); ?> (Reading a multibyte CLOB caps at 8192 chars).</li> 3248</ul></li> 3249<li>PHPDBG: 3250<ul> 3251 <li>Fixed bug <?php githubissuel('php/php-src', 10715); ?> (heap buffer overflow on --run option misuse).</li> 3252</ul></li> 3253<li>PGSQL: 3254<ul> 3255 <li>Fix <?php githubissuel('php/php-src', 10672); ?> (pg_lo_open segfaults in the strict_types mode).</li> 3256</ul></li> 3257<li>Phar: 3258<ul> 3259 <li>Fix incorrect check in phar tar parsing.</li> 3260</ul></li> 3261<li>Random: 3262<ul> 3263 <li>Fix <?php githubissuel('php/php-src', 10390); ?> (Do not trust arc4random_buf() on glibc).</li> 3264 <li>Fix <?php githubissuel('php/php-src', 10292); ?> (Made the default value of the first param of srand() and mt_srand() unknown).</li> 3265</ul></li> 3266<li>Reflection: 3267<ul> 3268 <li>Fixed bug <?php githubissuel('php/php-src', 10623); ?> (Reflection::getClosureUsedVariables opcode fix with variadic arguments).</li> 3269 <li>Fix Segfault when using ReflectionFiber suspended by an internal function.</li> 3270</ul></li> 3271<li>Session: 3272<ul> 3273 <li>Fixed ps_files_cleanup_dir() on failure code paths with -1 instead of 0 as the latter was considered success by callers. (nielsdos).</li> 3274</ul></li> 3275<li>Standard: 3276<ul> 3277 <li>Fixed bug <?php githubissuel('php/php-src', 8086); ?> (Introduce mail.mixed_lf_and_crlf INI).</li> 3278 <li>Fixed bug <?php githubissuel('php/php-src', 10292); ?> (Made the default value of the first param of srand() and mt_srand() unknown).</li> 3279 <li>Fix incorrect check in cs_8559_5 in map_from_unicode().</li> 3280 <li>Fix bug <?php githubissuel('php/php-src', 9697); ?> for reset/end/next/prev() attempting to move pointer of properties table for certain internal classes such as FFI classes</li> 3281 <li>Fix incorrect error check in browsecap for pcre2_match().</li> 3282</ul></li> 3283<li>Streams: 3284<ul> 3285 <li>Fixed bug <?php githubissuel('php/php-src', 10370); ?> (File corruption in _php_stream_copy_to_stream_ex when using copy_file_range).</li> 3286 <li>Fixed bug <?php githubissuel('php/php-src', 10548); ?> (copy() fails on cifs mounts because of incorrect copy_file_range() len).</li> 3287</ul></li> 3288<li>Tidy: 3289<ul> 3290 <li>Fix memory leaks when attempting to open a non-existing file or a file over 4GB.</li> 3291 <li>Add missing error check on tidyLoadConfig.</li> 3292</ul></li> 3293<li>Zlib: 3294<ul> 3295 <li>Fixed output_handler directive value's length which counted the string terminator.</li> 3296</ul></li> 3297</ul> 3298<!-- }}} --></section> 3299 3300 3301 3302<section class="version" id="8.2.3"><!-- {{{ 8.2.3 --> 3303<h3>Version 8.2.3</h3> 3304<b><?php release_date('14-Feb-2023'); ?></b> 3305<ul><li>Core: 3306<ul> 3307 <li><?php bugfix(81744); ?> (Password_verify() always return true with some hash). (CVE-2023-0567)</li> 3308 <li><?php bugfix(81746); ?> (1-byte array overrun in common path resolve code). (CVE-2023-0568)</li> 3309</ul></li> 3310<li>SAPI: 3311<ul> 3312 <li>Fixed bug GHSA-54hq-v5wp-fqgv (DOS vulnerability when parsing multipart request body). (CVE-2023-0662)</li> 3313</ul></li> 3314</ul> 3315<!-- }}} --></section> 3316 3317 3318 3319<section class="version" id="8.2.2"><!-- {{{ 8.2.2 --> 3320<h3>Version 8.2.2</h3> 3321<b><?php release_date('02-Feb-2023'); ?></b> 3322<ul><li>Core: 3323<ul> 3324 <li>Fixed bug <?php githubissuel('php/php-src', 10200); ?> (zif_get_object_vars: Assertion `!(((__ht)->u.flags & (1<<2)) != 0)' failed).</li> 3325 <li>Fix <?php githubissuel('php/php-src', 10251); ?> (Assertion `(flag & (1<<3)) == 0' failed).</li> 3326 <li>Fix <?php githubissuel('php/php-src', 10240); ?> (Assertion failure when adding more than 2**30 elements to an unpacked array).</li> 3327 <li>Fix <?php githubissuel('php/php-src', 9735); ?> (Fiber stack variables do not participate in cycle collector).</li> 3328 <li>Fix <?php githubissuel('php/php-src', 9675); ?> (Broken run_time_cache init for internal enum methods).</li> 3329</ul></li> 3330<li>FPM: 3331<ul> 3332 <li><?php bugfix(77106); ?> (Missing separator in FPM FastCGI errors).</li> 3333 <li>Fixed bug <?php githubissuel('php/php-src', 9981); ?> (FPM does not reset fastcgi.error_header).</li> 3334 <li><?php bugfix(68591); ?> (Configuration test does not perform UID lookups).</li> 3335 <li>Fixed memory leak when running FPM config test.</li> 3336 <li><?php bugfix(67244); ?> (Wrong owner:group for listening unix socket).</li> 3337</ul></li> 3338<li>Hash: 3339<ul> 3340 <li>Handle exceptions from __toString in XXH3's initialization (nielsdos)</li> 3341</ul></li> 3342<li>LDAP: 3343<ul> 3344 <li>Fixed bug <?php githubissuel('php/php-src', 10112); ?> (LDAP\Connection::__construct() refers to ldap_create()).</li> 3345</ul></li> 3346<li>Opcache: 3347<ul> 3348 <li>Fix inverted bailout value in zend_runtime_jit() (Max Kellermann).</li> 3349 <li>Fix access to uninitialized variable in accel_preload().</li> 3350 <li>Fix zend_jit_find_trace() crashes.</li> 3351 <li>Added missing lock for EXIT_INVALIDATE in zend_jit_trace_exit.</li> 3352</ul></li> 3353<li>Phar: 3354<ul> 3355 <li>Fix wrong flags check for compression method in phar_object.c (nielsdos)</li> 3356</ul></li> 3357<li>PHPDBG: 3358<ul> 3359 <li>Fix undefined behaviour in phpdbg_load_module_or_extension().</li> 3360 <li>Fix NULL pointer dereference in phpdbg_create_conditional_breal().</li> 3361 <li>Fix <?php githubissuel('php/php-src', 9710); ?>: phpdbg memory leaks by option "-h" (nielsdos)</li> 3362 <li>Fix phpdbg segmentation fault in case of malformed input (nielsdos)</li> 3363</ul></li> 3364<li>Posix: 3365<ul> 3366 <li>Fix memory leak in posix_ttyname() (girgias)</li> 3367</ul></li> 3368<li>Random: 3369<ul> 3370 <li>Fixed bug <?php githubissuel('php/php-src', 10247); ?> (Theoretical file descriptor leak for /dev/urandom).</li> 3371</ul></li> 3372<li>Standard: 3373<ul> 3374 <li>Fix <?php githubissuel('php/php-src', 10187); ?> (Segfault in stripslashes() with arm64).</li> 3375 <li>Fixed bug <?php githubissuel('php/php-src', 10214); ?> (Incomplete validation of object syntax during unserialize()).</li> 3376 <li>Fix substr_replace with slots in repl_ht being UNDEF.</li> 3377</ul></li> 3378<li>XMLWriter: 3379<ul> 3380 <li>Fix missing check for xmlTextWriterEndElement (nielsdos)</li> 3381</ul></li> 3382</ul> 3383<!-- }}} --></section> 3384 3385 3386 3387<section class="version" id="8.2.1"><!-- {{{ 8.2.1 --> 3388<h3>Version 8.2.1</h3> 3389<b><?php release_date('05-Jan-2023'); ?></b> 3390<ul><li>Core: 3391<ul> 3392 <li>Fixed bug <?php githubissuel('php/php-src', 9905); ?> (constant() behaves inconsistent when class is undefined).</li> 3393 <li>Fixed bug <?php githubissuel('php/php-src', 9918); ?> (License information for xxHash is not included in README.REDIST.BINS file).</li> 3394 <li>Fixed bug <?php githubissuel('php/php-src', 9890); ?> (OpenSSL legacy providers not available on Windows).</li> 3395 <li>Fixed bug <?php githubissuel('php/php-src', 9650); ?> (Can't initialize heap: [0x000001e7]).</li> 3396 <li>Fixed potentially undefined behavior in Windows ftok(3) emulation.</li> 3397 <li>Fixed <?php githubissuel('php/php-src', 9769); ?> (Misleading error message for unpacking of objects).</li> 3398</ul></li> 3399<li>Apache: 3400<ul> 3401 <li>Fixed bug <?php githubissuel('php/php-src', 9949); ?> (Partial content on incomplete POST request).</li> 3402</ul></li> 3403<li>FPM: 3404<ul> 3405 <li>Fixed bug <?php githubissuel('php/php-src', 9959); ?> (Solaris port event mechanism is still broken after bug #66694).</li> 3406 <li><?php bugfix(68207); ?> (Setting fastcgi.error_header can result in a WARNING).</li> 3407 <li><?php bugfix(80669); ?> (FPM numeric user fails to set groups).</li> 3408 <li>Fixed bug <?php githubissuel('php/php-src', 8517); ?> (Random crash of FPM master process in fpm_stdio_child_said).</li> 3409</ul></li> 3410<li>Imap: 3411<ul> 3412 <li>Fixed bug <?php githubissuel('php/php-src', 10051); ?> (IMAP: there's no way to check if a IMAP\Connection is still open).</li> 3413</ul></li> 3414<li>MBString: 3415<ul> 3416 <li>Fixed bug <?php githubissuel('php/php-src', 9535); ?> (The behavior of mb_strcut in mbstring has been changed in PHP8.1).</li> 3417</ul></li> 3418<li>Opcache: 3419<ul> 3420 <li>Fixed bug <?php githubissuel('php/php-src', 9968); ?> (Segmentation Fault during OPCache Preload).</li> 3421</ul></li> 3422<li>OpenSSL: 3423<ul> 3424 <li>Fixed bug <?php githubissuel('php/php-src', 9997); ?> (OpenSSL engine clean up segfault).</li> 3425 <li>Fixed bug <?php githubissuel('php/php-src', 9064); ?> (PHP fails to build if openssl was built with --no-ec).</li> 3426 <li>Fixed bug <?php githubissuel('php/php-src', 10000); ?> (OpenSSL test failures when OpenSSL compiled with no-dsa).</li> 3427</ul></li> 3428<li>Pcntl: 3429<ul> 3430 <li>Fixed bug <?php githubissuel('php/php-src', 9298); ?> (Signal handler called after rshutdown leads to crash).</li> 3431</ul></li> 3432<li>PDO_Firebird: 3433<ul> 3434 <li>Fixed bug <?php githubissuel('php/php-src', 9971); ?> (Incorrect NUMERIC value returned from PDO_Firebird).</li> 3435</ul></li> 3436<li>PDO/SQLite: 3437<ul> 3438 <li><?php bugfix(81740); ?> (PDO::quote() may return unquoted string). (CVE-2022-31631)</li> 3439</ul></li> 3440<li>Session: 3441<ul> 3442 <li>Fixed <?php githubissuel('php/php-src', 9932); ?> (session name silently fails with . and [).</li> 3443</ul></li> 3444<li>SPL: 3445<ul> 3446 <li>Fixed <?php githubissuel('php/php-src', 9883); ?> (SplFileObject::__toString() reads next line).</li> 3447 <li>Fixed <?php githubissuel('php/php-src', 10011); ?> (Trampoline autoloader will get reregistered and cannot be unregistered).</li> 3448</ul></li> 3449<li>SQLite3: 3450<ul> 3451 <li><?php bugfix(81742); ?> (open_basedir bypass in SQLite3 by using file URI).</li> 3452</ul></li> 3453<li>TSRM: 3454<ul> 3455 <li>Fixed Windows shmget() wrt. IPC_PRIVATE.</li> 3456</ul></li> 3457</ul> 3458<!-- }}} --></section> 3459 3460 3461 3462<section class="version" id="8.2.0"><!-- {{{ 8.2.0 --> 3463<h3>Version 8.2.0</h3> 3464<b><?php release_date('08-Dec-2022'); ?></b> 3465<ul><li>CLI: 3466<ul> 3467 <li><?php bugfix(81496); ?> (Server logs incorrect request method).</li> 3468 <li>Updated the mime-type table for the builtin-server.</li> 3469 <li>Fixed potential overflow for the builtin server via the PHP_CLI_SERVER_WORKERS environment variable.</li> 3470 <li>Fixed <?php githubissuel('php/php-src', 8575); ?> by changing STDOUT, STDERR and STDIN to not close on resource destruction.</li> 3471 <li>Implement built-in web server responding without body to HEAD request on a static resource.</li> 3472 <li>Implement built-in web server responding with HTTP status 405 to DELETE/PUT/PATCH request on a static resource.</li> 3473 <li>Fixed bug <?php githubissuel('php/php-src', 9709); ?> (Null pointer dereference with -w/-s options).</li> 3474</ul></li> 3475<li>COM: 3476<ul> 3477 <li>Fixed bug <?php githubissuel('php/php-src', 8750); ?> (Can not create VT_ERROR variant type).</li> 3478</ul></li> 3479<li>Core: 3480<ul> 3481 <li><?php bugfix(81380); ?> (Observer may not be initialized properly).</li> 3482 <li>Fixed bug <?php githubissuel('php/php-src', 7771); ?> (Fix filename/lineno of constant expressions).</li> 3483 <li>Fixed bug <?php githubissuel('php/php-src', 7792); ?> (Improve class type in error messages).</li> 3484 <li>Support huge pages on MacOS.</li> 3485 <li>Fixed bug <?php githubissuel('php/php-src', 8655); ?> (Casting an object to array does not unwrap refcount=1 references).</li> 3486 <li>Fixed bug <?php githubissuel('php/php-src', 8661); ?> (Nullsafe in coalesce triggers undefined variable warning).</li> 3487 <li>Fixed bug <?php githubissuel('php/php-src', 7821); ?> and <?php githubissuel('php/php-src', 8418); ?> (Allow arbitrary const expressions in backed enums).</li> 3488 <li>Fixed bug <?php githubissuel('php/php-src', 8810); ?> (Incorrect lineno in backtrace of multi-line function calls).</li> 3489 <li>Optimised code path for newly created file with the stream plain wrapper.</li> 3490 <li>Uses safe_perealloc instead of perealloc for the ZEND_PTR_STACK_RESIZE_IF_NEEDED to avoid possible overflows.</li> 3491 <li>Reduced the memory footprint of strings returned by var_export(), json_encode(), serialize(), iconv_*(), mb_ereg*(), session_create_id(), http_build_query(), strstr(), Reflection*::__toString().</li> 3492 <li>Fixed bug <?php githubissuel('php/php-src', 8995); ?> (WeakMap object reference offset causing TypeError).</li> 3493 <li>Added error_log_mode ini setting.</li> 3494 <li>Updated request startup messages.</li> 3495 <li>Fixed bug <?php githubissuel('php/php-src', 7900); ?> (Arrow function with never return type compile-time errors).</li> 3496 <li>Fixed incorrect double to long casting in latest clang.</li> 3497 <li>Added support for defining constants in traits.</li> 3498 <li>Stop incorrectly emitting false positive deprecation notice alongside unsupported syntax fatal error for `"{$g{'h'}}"`.</li> 3499 <li>Fix unexpected deprecated dynamic property warning, which occurred when exit() in finally block after an exception was thrown without catching.</li> 3500 <li>Fixed bug <?php githubissuel('php/php-src', 9323); ?> (Crash in ZEND_RETURN/GC/zend_call_function) (Tim Starling)</li> 3501 <li>Fixed bug <?php githubissuel('php/php-src', 9227); ?> (Trailing dots and spaces in filenames are ignored).</li> 3502 <li>Fixed bug <?php githubissuel('php/php-src', 9285); ?> (Traits cannot be used in readonly classes).</li> 3503 <li>Fixed bug <?php githubissuel('php/php-src', 9186); ?> (@strict-properties can be bypassed using unserialization).</li> 3504 <li>Fixed bug <?php githubissuel('php/php-src', 9500); ?> (Using dnf type with parentheses after readonly keyword results in a parse error).</li> 3505 <li>Fixed bug <?php githubissuel('php/php-src', 9516); ?> ((A&B)|D as a param should allow AB or D. Not just A).</li> 3506 <li>Fixed observer class notify with Opcache file_cache_only=1.</li> 3507 <li>Fixes segfault with Fiber on FreeBSD i386 architecture.</li> 3508 <li>Fixed bug <?php githubissuel('php/php-src', 9655); ?> (Pure intersection types cannot be implicitly nullable) (Girgias)</li> 3509 <li>Fixed bug <?php githubissuel('php/php-src', 9589); ?> (dl() segfaults when module is already loaded).</li> 3510 <li>Fixed bug <?php githubissuel('php/php-src', 9752); ?> (Generator crashes when interrupted during argument evaluation with extra named params).</li> 3511 <li>Fixed bug <?php githubissuel('php/php-src', 9801); ?> (Generator crashes when memory limit is exceeded during initialization).</li> 3512 <li>Fixed a bug with preloaded enums possibly segfaulting.</li> 3513 <li>Fixed bug <?php githubissuel('php/php-src', 9823); ?> (Don’t reset func in zend_closure_internal_handler).</li> 3514 <li>Fixed potential NULL pointer dereference Windows shm*() functions.</li> 3515 <li>Fix target validation for internal attributes with constructor property promotion.</li> 3516 <li>Fixed bug <?php githubissuel('php/php-src', 9750); ?> (Generator memory leak when interrupted during argument evaluation.</li> 3517 <li>Move observer_declared_function_notify until after pass_two().</li> 3518 <li>Do not report MINIT stage internal class aliases in extensions.</li> 3519</ul></li> 3520<li>Curl: 3521<ul> 3522 <li>Added support for CURLOPT_XFERINFOFUNCTION.</li> 3523 <li>Added support for CURLOPT_MAXFILESIZE_LARGE.</li> 3524 <li>Added new constants from cURL 7.62 to 7.80.</li> 3525 <li>New function curl_upkeep().</li> 3526</ul></li> 3527<li>Date: 3528<ul> 3529 <li>Fixed <?php githubissuel('php/php-src', 8458); ?> (DateInterval::createFromDateString does not throw if non-relative items are present).</li> 3530 <li><?php bugfix(52015); ?> (Allow including end date in DatePeriod iterations) (Daniel Egeberg, Derick)</li> 3531 <li>idate() now accepts format specifiers "N" (ISO Day-of-Week) and "o" (ISO Year).</li> 3532 <li>Fixed bug <?php githubissuel('php/php-src', 8730); ?> (DateTime::diff miscalculation is same time zone of different type).</li> 3533 <li>Fixed bug <?php githubissuel('php/php-src', 8964); ?> (DateTime object comparison after applying delta less than 1 second).</li> 3534 <li>Fixed bug <?php githubissuel('php/php-src', 9106); ?> (DateInterval 1.5s added to DateTimeInterface is rounded down since PHP 8.1.0).</li> 3535 <li><?php bugfix(75035); ?> (Datetime fails to unserialize "extreme" dates).</li> 3536 <li><?php bugfix(80483); ?> (DateTime Object with 5-digit year can't unserialized).</li> 3537 <li><?php bugfix(81263); ?> (Wrong result from DateTimeImmutable::diff).</li> 3538 <li>Fixed bug <?php githubissuel('php/php-src', 9431); ?> (DateTime::getLastErrors() not returning false when no errors/warnings).</li> 3539 <li>Fixed bug with parsing large negative numbers with the @ notation.</li> 3540</ul></li> 3541<li>DBA: 3542<ul> 3543 <li>Fixed LMDB driver hanging when attempting to delete a non-existing key (Girgias)</li> 3544 <li>Fixed LMDB driver memory leak on DB creation failure (Girgias)</li> 3545 <li>Fixed <?php githubissuel('php/php-src', 8856); ?> (dba: lmdb: allow to override the MDB_NOSUBDIR flag).</li> 3546</ul></li> 3547<li>FFI: 3548<ul> 3549 <li>Fixed bug <?php githubissuel('php/php-src', 9090); ?> (Support assigning function pointers in FFI).</li> 3550</ul></li> 3551<li>Fileinfo: 3552<ul> 3553 <li>Fixed bug <?php githubissuel('php/php-src', 8805); ?> (finfo returns wrong mime type for woff/woff2 files).</li> 3554</ul></li> 3555<li>Filter: 3556<ul> 3557 <li>Added FILTER_FLAG_GLOBAL_RANGE to filter Global IPs.</li> 3558</ul></li> 3559<li>FPM: 3560<ul> 3561 <li>Emit error for invalid port setting.</li> 3562 <li>Added extra check for FPM proc dumpable on SELinux based systems.</li> 3563 <li>Added support for listening queue on macOS.</li> 3564 <li>Changed default for listen.backlog on Linux to -1.</li> 3565 <li>Added listen.setfib pool option to set route FIB on FreeBSD.</li> 3566 <li>Added access.suppress_path pool option to filter access log entries.</li> 3567 <li>Fixed on fpm scoreboard occasional warning on acquisition failure.</li> 3568 <li>Fixed bug <?php githubissuel('php/php-src', 9754); ?> (SaltStack (using Python subprocess) hangs when running php-fpm 8.1.11).</li> 3569</ul></li> 3570<li>FTP: 3571<ul> 3572 <li>Fix datetime format string to follow POSIX spec in ftp_mdtm().</li> 3573</ul></li> 3574<li>GD: 3575<ul> 3576 <li><?php bugfix(81739); ?>: OOB read due to insufficient input validation in imageloadfont(). (CVE-2022-31630)</li> 3577</ul></li> 3578<li>GMP: 3579<ul> 3580 <li>Fixed bug <?php githubissuel('php/php-src', 9308); ?> (GMP throws the wrong error when a GMP object is passed to gmp_init()).</li> 3581</ul></li> 3582<li>Hash: 3583<ul> 3584 <li><?php bugfix(81738); ?>: buffer overflow in hash_update() on long parameter. (CVE-2022-37454)</li> 3585</ul></li> 3586<li>Intl: 3587<ul> 3588 <li>Update all grandfathered language tags with preferred values</li> 3589 <li>Fixed <?php githubissuel('php/php-src', 7939); ?> (Cannot unserialize IntlTimeZone objects).</li> 3590 <li>Fixed build for ICU 69.x and onwards.</li> 3591 <li>Declared Transliterator::$id as readonly to unlock subclassing it.</li> 3592 <li>Fixed bug <?php githubissuel('php/php-src', 9421); ?> (Incorrect argument number for ValueError in NumberFormatter).</li> 3593</ul></li> 3594<li>MBString: 3595<ul> 3596 <li>Fixed bug <?php githubissuel('php/php-src', 9248); ?> (Segmentation fault in mb_strimwidth()).</li> 3597</ul></li> 3598<li>mysqli: 3599<ul> 3600 <li>Fixed bug <?php githubissuel('php/php-src', 9841); ?> (mysqli_query throws warning despite using silenced error mode).</li> 3601</ul></li> 3602<li>MySQLnd: 3603<ul> 3604 <li>Fixed potential heap corruption due to alignment mismatch.</li> 3605</ul></li> 3606<li>OCI8: 3607<ul> 3608 <li>Added oci8.prefetch_lob_size directive to tune LOB query performance</li> 3609 <li>Support for building against Oracle Client libraries 10.1 and 10.2 has been dropped. Oracle Client libraries 11.2 or newer are now required.</li> 3610</ul></li> 3611<li>ODBC: 3612<ul> 3613 <li>Fixed bug <?php githubissuel('php/php-src', 8300); ?> (User input not escaped when building connection string).</li> 3614 <li>Fixed bug <?php githubissuel('php/php-src', 9347); ?> (Current ODBC liveness checks may be inadequate).</li> 3615</ul></li> 3616<li>Opcache: 3617<ul> 3618 <li>Allocate JIT buffer close to PHP .text segemnt to allow using direct IP-relative calls and jumps.</li> 3619 <li>Added initial support for JIT performance profiling generation for macOs Instrument.</li> 3620 <li>Fixed bug <?php githubissuel('php/php-src', 8030); ?> (Segfault with JIT and large match/switch statements).</li> 3621 <li>Added JIT support improvement for macOs for segments and executable permission bit handling.</li> 3622 <li>Added JIT buffer allocation near the .text section on FreeNSD.</li> 3623 <li>Fixed bug <?php githubissuel('php/php-src', 9371); ?> (Crash with JIT on mac arm64) (jdp1024/David Carlier)</li> 3624 <li>Fixed bug <?php githubissuel('php/php-src', 9259); ?> (opcache.interned_strings_buffer setting integer overflow).</li> 3625 <li>Added indirect call reduction for jit on x86 architectures.</li> 3626 <li>Fixed bug <?php githubissuel('php/php-src', 9164); ?> (Segfault in zend_accel_class_hash_copy).</li> 3627 <li>Fix opcache preload with observers enabled.</li> 3628</ul></li> 3629<li>OpenSSL: 3630<ul> 3631 <li>Discard poll calls on socket when no timeout/non blocking/MSG_DONTWAIT.</li> 3632 <li>Fixed bug <?php githubissuel('php/php-src', 9310); ?> (SSL local_cert and local_pk do not respect open_basedir).</li> 3633 <li>Implement FR #76935 ("chacha20-poly1305" is an AEAD but does not work like AEAD).</li> 3634 <li>Added openssl_cipher_key_length function.</li> 3635 <li>Fixed bug <?php githubissuel('php/php-src', 9517); ?> (Compilation error openssl extension related to PR <?php githubissuel('php/php-src', 9366); ?>).</li> 3636 <li>Fixed missing clean up of OpenSSL engine list - attempt to fix <?php githubissuel('php/php-src', 8620); ?>.</li> 3637 <li>Fixed bug <?php githubissuel('php/php-src', 8430); ?> (OpenSSL compiled with no-md2, no-md4 or no-rmd160 does not build).</li> 3638</ul></li> 3639<li>PCNTL: 3640<ul> 3641 <li>Fixed pcntl_(get|set)priority error handling for MacOS.</li> 3642</ul></li> 3643<li>PCRE: 3644<ul> 3645 <li><?php implemented(77726); ?> (Allow null character in regex patterns).</li> 3646 <li>Updated bundled libpcre to 10.40.</li> 3647</ul></li> 3648<li>PDO: 3649<ul> 3650 <li>Fixed bug <?php githubissuel('php/php-src', 9818); ?> (Initialize run time cache in PDO methods).</li> 3651</ul></li> 3652<li>PDO_Firebird: 3653<ul> 3654 <li>Fixed bug <?php githubissuel('php/php-src', 8576); ?> (Bad interpretation of length when char is UTF-8).</li> 3655</ul></li> 3656<li>PDO_ODBC: 3657<ul> 3658 <li><?php bugfix(80909); ?> (crash with persistent connections in PDO_ODBC).</li> 3659 <li>Fixed bug <?php githubissuel('php/php-src', 8300); ?> (User input not escaped when building connection string).</li> 3660 <li>Fixed bug <?php githubissuel('php/php-src', 9347); ?> (Current ODBC liveness checks may be inadequate).</li> 3661 <li>Fixed bug <?php githubissuel('php/php-src', 9372); ?> (HY010 when binding overlong parameter).</li> 3662</ul></li> 3663<li>PDO_PGSQL: 3664<ul> 3665 <li>Fixed bug <?php githubissuel('php/php-src', 9411); ?> (PgSQL large object resource is incorrectly closed).</li> 3666</ul></li> 3667<li>Random: 3668<ul> 3669 <li>Added new random extension.</li> 3670 <li>Fixed bug <?php githubissuel('php/php-src', 9067); ?> (random extension is not thread safe).</li> 3671 <li>Fixed bug <?php githubissuel('php/php-src', 9055); ?> (segmentation fault if user engine throws).</li> 3672 <li>Fixed bug <?php githubissuel('php/php-src', 9066); ?> (signed integer overflow).</li> 3673 <li>Fixed bug <?php githubissuel('php/php-src', 9083); ?> (undefined behavior during shifting).</li> 3674 <li>Fixed bug <?php githubissuel('php/php-src', 9088); ?>, <?php githubissuel('php/php-src', 9056); ?> (incorrect expansion of bytes when generating uniform integers within a given range).</li> 3675 <li>Fixed bug <?php githubissuel('php/php-src', 9089); ?> (Fix memory leak on Randomizer::__construct() call twice).</li> 3676 <li>Fixed bug <?php githubissuel('php/php-src', 9212); ?> (PcgOneseq128XslRr64::jump() should not allow negative $advance).</li> 3677 <li>Changed Mt19937 to throw a ValueError instead of InvalidArgumentException for invalid $mode.</li> 3678 <li>Splitted Random\Randomizer::getInt() (without arguments) to Random\Randomizer::nextInt().</li> 3679 <li>Fixed bug <?php githubissuel('php/php-src', 9235); ?> (non-existant $sequence parameter in stub for PcgOneseq128XslRr64::__construct()).</li> 3680 <li>Fixed bug <?php githubissuel('php/php-src', 9190); ?>, <?php githubissuel('php/php-src', 9191); ?> (undefined behavior for MT_RAND_PHP when handling large ranges).</li> 3681 <li>Fixed bug <?php githubissuel('php/php-src', 9249); ?> (Xoshiro256StarStar does not reject the invalid all-zero state).</li> 3682 <li>Removed redundant RuntimeExceptions from Randomizer methods. The exceptions thrown by the engines will be exposed directly.</li> 3683 <li>Added extension specific Exceptions/Errors (RandomException, RandomError, BrokenRandomEngineError).</li> 3684 <li>Fixed bug <?php githubissuel('php/php-src', 9415); ?> (Randomizer::getInt(0, 2**32 - 1) with Mt19937 always returns 1).</li> 3685 <li>Fixed Randomizer::getInt() consistency for 32-bit engines.</li> 3686 <li>Fixed bug <?php githubissuel('php/php-src', 9464); ?> (build on older macOs releases).</li> 3687 <li>Fixed bug <?php githubissuel('php/php-src', 9839); ?> (Pre-PHP 8.2 output compatibility for non-mt_rand() functions for MT_RAND_PHP).</li> 3688</ul></li> 3689<li>Reflection: 3690<ul> 3691 <li>Added ReflectionFunction::isAnonymous().</li> 3692 <li>Added ReflectionMethod::hasPrototype().</li> 3693 <li>Narrow ReflectionEnum::getBackingType() return type to ReflectionNamedType.</li> 3694 <li>Fixed bug <?php githubissuel('php/php-src', 8932); ?> (ReflectionFunction provides no way to get the called class of a Closure).</li> 3695</ul></li> 3696<li>Session: 3697<ul> 3698 <li>Fixed bug <?php githubissuel('php/php-src', 7787); ?> (Improve session write failure message for user error handlers).</li> 3699 <li>Fixed <?php githubissuel('php/php-src', 9200); ?> (setcookie has an obsolete expires date format).</li> 3700 <li>Fixed <?php githubissuel('php/php-src', 9584); ?> (Avoid memory corruption when not unregistering custom session handler).</li> 3701 <li>Fixed bug <?php githubissuel('php/php-src', 9583); ?> (session_create_id() fails with user defined save handler that doesn't have a validateId() method).</li> 3702</ul></li> 3703<li>SOAP: 3704<ul> 3705 <li>Fixed bug <?php githubissuel('php/php-src', 9720); ?> (Null pointer dereference while serializing the response).</li> 3706</ul></li> 3707<li>Sockets: 3708<ul> 3709 <li>Added TCP_NOTSENT_LOWAT socket option.</li> 3710 <li>Added SO_MEMINFO socket option.</li> 3711 <li>Added SO_RTABLE socket option (OpenBSD), equivalent of SO_MARK (Linux).</li> 3712 <li>Added TCP_KEEPALIVE, TCP_KEEPIDLE, TCP_KEEPINTVL, TCP_KEEPCNT socket options.</li> 3713 <li>Added ancillary data support for FreeBSD.</li> 3714 <li>Added ancillary data support for NetBSD.</li> 3715 <li>Added SO_BPF_EXTENSIONS socket option.</li> 3716 <li>Added SO_SETFIB socket option.</li> 3717 <li>Added TCP_CONGESTION socket option.</li> 3718 <li>Added SO_ZEROCOPY/MSG_ZEROCOPY options.</li> 3719 <li>Added SOL_FILTER socket option for Solaris.</li> 3720 <li>Fixed socket constants regression as of PHP 8.2.0beta3.</li> 3721</ul></li> 3722<li>Sodium: 3723<ul> 3724 <li>Added sodium_crypto_stream_xchacha20_xor_ic().</li> 3725</ul></li> 3726<li>SPL: 3727<ul> 3728 <li>Uses safe_erealloc instead of erealloc to handle heap growth for the SplHeap::insert method to avoid possible overflows.</li> 3729 <li>Widen iterator_to_array() and iterator_count()'s $iterator parameter to iterable.</li> 3730 <li><?php bugfix(69181); ?> (READ_CSV|DROP_NEW_LINE drops newlines within fields).</li> 3731 <li><?php bugfix(65069); ?> (GlobIterator incorrect handling of open_basedir check).</li> 3732</ul></li> 3733<li>SQLite3: 3734<ul> 3735 <li>Changed sqlite3.defensive from PHP_INI_SYSTEM to PHP_INI_USER.</li> 3736</ul></li> 3737<li>Standard: 3738<ul> 3739 <li>net_get_interfaces() also reports wireless network interfaces on Windows.</li> 3740 <li>Finished AVIF support in getimagesize().</li> 3741 <li>Fixed bug <?php githubissuel('php/php-src', 7847); ?> (stripos with large haystack has bad performance).</li> 3742 <li>New function memory_reset_peak_usage().</li> 3743 <li>Fixed parse_url(): can not recognize port without scheme.</li> 3744 <li>Deprecated utf8_encode() and utf8_decode().</li> 3745 <li>Fixed the crypt_sha256/512 api build with clang > 12.</li> 3746 <li>Uses safe_erealloc instead of erealloc to handle options in getopt to avoid possible overflows.</li> 3747 <li>Implemented FR <?php githubissuel('php/php-src', 8924); ?> (str_split should return empty array for empty string).</li> 3748 <li>Added ini_parse_quantity function to convert ini quantities shorthand notation to int.</li> 3749 <li>Enable arc4random_buf for Linux glibc 2.36 and onwards for the random_bytes.</li> 3750 <li>Uses CCRandomGenerateBytes instead of arc4random_buf on macOs. (David Carlier).</li> 3751 <li><?php bugfix(65489); ?> (glob() basedir check is inconsistent).</li> 3752 <li>Fixed <?php githubissuel('php/php-src', 9200); ?> (setcookie has an obsolete expires date format).</li> 3753 <li>Fixed <?php githubissuel('php/php-src', 9244); ?> (Segfault with array_multisort + array_shift).</li> 3754 <li>Fixed bug <?php githubissuel('php/php-src', 9296); ?> (`ksort` behaves incorrectly on arrays with mixed keys).</li> 3755 <li>Marked crypt()'s $string parameter as #[\SensitiveParameter].</li> 3756 <li>Fixed bug <?php githubissuel('php/php-src', 9464); ?> (build on older macOs releases).</li> 3757 <li>Fixed bug <?php githubissuel('php/php-src', 9518); ?> (Disabling IPv6 support disables unrelated constants).</li> 3758 <li>Revert "Fixed parse_url(): can not recognize port without scheme." (andypost)</li> 3759 <li>Fix crash reading module_entry after DL_UNLOAD() when module already loaded.</li> 3760</ul></li> 3761<li>Streams: 3762<ul> 3763 <li>Set IP_BIND_ADDRESS_NO_PORT if available when connecting to remote host.</li> 3764 <li>Fixed bug <?php githubissuel('php/php-src', 8548); ?> (stream_wrapper_unregister() leaks memory).</li> 3765 <li>Discard poll calls on socket when no timeout/non blocking/MSG_DONTWAIT.</li> 3766 <li>Fixed bug <?php githubissuel('php/php-src', 9316); ?> ($http_response_header is wrong for long status line).</li> 3767 <li>Fixed bug <?php githubissuel('php/php-src', 9590); ?> (stream_select does not abort upon exception or empty valid fd set).</li> 3768 <li>Fixed bug <?php githubissuel('php/php-src', 9653); ?> (file copy between different filesystems).</li> 3769 <li>Fixed bug <?php githubissuel('php/php-src', 9779); ?> (stream_copy_to_stream fails if dest in append mode).</li> 3770</ul></li> 3771<li>Windows: 3772<ul> 3773 <li>Added preliminary support for (cross-)building for ARM64.</li> 3774</ul></li> 3775<li>XML: 3776<ul> 3777 <li>Added libxml_get_external_entity_loader() function.</li> 3778</ul></li> 3779<li>Zip: 3780<ul> 3781 <li>add ZipArchive::clearError() method</li> 3782 <li>add ZipArchive::getStreamName() method</li> 3783 <li>add ZipArchive::getStreamIndex() method</li> 3784 <li>On Windows, the Zip extension is now built as shared library (DLL) by default.</li> 3785 <li>Implement fseek for zip stream when possible with libzip 1.9.1.</li> 3786</ul></li> 3787</ul> 3788<!-- }}} --></section> 3789 3790 3791 3792<a id="PHP_8_1"></a> 3793 3794<section class="version" id="8.1.31"><!-- {{{ 8.1.31 --> 3795<h3>Version 8.1.31</h3> 3796<b><?php release_date('21-Nov-2024'); ?></b> 3797<ul><li>CLI: 3798<ul> 3799 <li>Fixed bug <?php githubsecurityl('php/php-src', '4w77-75f9-2c8w'); ?> (Heap-Use-After-Free in sapi_read_post_data Processing in CLI SAPI Interface).</li> 3800</ul></li> 3801<li>LDAP: 3802<ul> 3803 <li>Fixed bug <?php githubsecurityl('php/php-src', 'g665-fm4p-vhff'); ?> (OOB access in ldap_escape). (CVE-2024-8932)</li> 3804</ul></li> 3805<li>MySQLnd: 3806<ul> 3807 <li>Fixed bug <?php githubsecurityl('php/php-src', 'h35g-vwh6-m678'); ?> (Leak partial content of the heap through heap buffer over-read). (CVE-2024-8929)</li> 3808</ul></li> 3809<li>PDO DBLIB: 3810<ul> 3811 <li>Fixed bug <?php githubsecurityl('php/php-src', '5hqh-c84r-qjcv'); ?> (Integer overflow in the dblib quoter causing OOB writes). (CVE-2024-11236)</li> 3812</ul></li> 3813<li>PDO Firebird: 3814<ul> 3815 <li>Fixed bug <?php githubsecurityl('php/php-src', '5hqh-c84r-qjcv'); ?> (Integer overflow in the firebird quoter causing OOB writes). (CVE-2024-11236)</li> 3816</ul></li> 3817<li>Streams: 3818<ul> 3819 <li>Fixed bug <?php githubsecurityl('php/php-src', 'c5f2-jwm7-mmq2'); ?> (Configuring a proxy in a stream context might allow for CRLF injection in URIs). (CVE-2024-11234)</li> 3820 <li>Fixed bug <?php githubsecurityl('php/php-src', 'r977-prxv-hc43'); ?> (Single byte overread with convert.quoted-printable-decode filter). (CVE-2024-11233)</li> 3821</ul></li> 3822</ul> 3823<!-- }}} --></section> 3824 3825 3826 3827<section class="version" id="8.1.30"><!-- {{{ 8.1.30 --> 3828<h3>Version 8.1.30</h3> 3829<b><?php release_date('26-Sep-2024'); ?></b> 3830<ul><li>CGI: 3831<ul> 3832 <li>Fixed bug GHSA-p99j-rfp4-xqvq (Bypass of CVE-2024-4577, Parameter Injection Vulnerability). (CVE-2024-8926)</li> 3833 <li>Fixed bug GHSA-94p6-54jq-9mwp (cgi.force_redirect configuration is bypassable due to the environment variable collision). (CVE-2024-8927)</li> 3834</ul></li> 3835<li>FPM: 3836<ul> 3837 <li>Fixed bug GHSA-865w-9rf3-2wh5 (Logs from childrens may be altered). (CVE-2024-9026)</li> 3838</ul></li> 3839<li>SAPI: 3840<ul> 3841 <li>Fixed bug GHSA-9pqp-7h25-4f32 (Erroneous parsing of multipart form data). (CVE-2024-8925)</li> 3842</ul></li> 3843</ul> 3844<!-- }}} --></section> 3845 3846 3847 3848<section class="version" id="8.1.29"><!-- {{{ 8.1.29 --> 3849<h3>Version 8.1.29</h3> 3850<b><?php release_date('06-Jun-2024'); ?></b> 3851<ul><li>CGI: 3852<ul> 3853 <li>Fixed bug GHSA-3qgc-jrrr-25jv (Bypass of CVE-2012-1823, Argument Injection in PHP-CGI). (CVE-2024-4577)</li> 3854</ul></li> 3855<li>Filter: 3856<ul> 3857 <li>Fixed bug GHSA-w8qr-v226-r27w (Filter bypass in filter_var FILTER_VALIDATE_URL). (CVE-2024-5458)</li> 3858</ul></li> 3859<li>OpenSSL: 3860<ul> 3861 <li>The openssl_private_decrypt function in PHP, when using PKCS1 padding (OPENSSL_PKCS1_PADDING, which is the default), is vulnerable to the Marvin Attack unless it is used with an OpenSSL version that includes the changes from this pull request: https://github.com/openssl/openssl/pull/13817 (rsa_pkcs1_implicit_rejection). These changes are part of OpenSSL 3.2 and have also been backported to stable versions of various Linux distributions, as well as to the PHP builds provided for Windows since the previous release. All distributors and builders should ensure that this version is used to prevent PHP from being vulnerable.</li> 3862</ul></li> 3863<li>Standard: 3864<ul> 3865 <li>Fixed bug GHSA-9fcc-425m-g385 (Bypass of CVE-2024-1874). (CVE-2024-5585)</li> 3866</ul></li> 3867</ul> 3868<!-- }}} --></section> 3869 3870 3871 3872<section class="version" id="8.1.28"><!-- {{{ 8.1.28 --> 3873<h3>Version 8.1.28</h3> 3874<b><?php release_date('11-Apr-2024'); ?></b> 3875<ul><li>Standard: 3876<ul> 3877 <li>Fixed bug GHSA-pc52-254m-w9w7 (Command injection via array-ish $command parameter of proc_open). (CVE-2024-1874)</li> 3878 <li>Fixed bug GHSA-wpj3-hf5j-x4v4 (__Host-/__Secure- cookie bypass due to partial CVE-2022-31629 fix). (CVE-2024-2756)</li> 3879 <li>Fixed bug GHSA-h746-cjrr-wfmr (password_verify can erroneously return true, opening ATO risk). (CVE-2024-3096)</li> 3880</ul></li> 3881</ul> 3882<!-- }}} --></section> 3883 3884 3885 3886<section class="version" id="8.1.27"><!-- {{{ 8.1.27 --> 3887<h3>Version 8.1.27</h3> 3888<b><?php release_date('21-Dec-2023'); ?></b> 3889<ul><li>Core: 3890<ul> 3891 <li>Fixed oss-fuzz #54325 (Use-after-free of name in var-var with malicious error handler).</li> 3892 <li>Fixed oss-fuzz #64209 (In-place modification of filename in php_message_handler_for_zend).</li> 3893 <li>Fixed bug <?php githubissuel('php/php-src', 12758); ?> / <?php githubissuel('php/php-src', 12768); ?> (Invalid opline in OOM handlers within ZEND_FUNC_GET_ARGS and ZEND_BIND_STATIC).</li> 3894</ul></li> 3895<li>DOM: 3896<ul> 3897 <li>Fixed bug <?php githubissuel('php/php-src', 12616); ?> (DOM: Removing XMLNS namespace node results in invalid default: prefix).</li> 3898</ul></li> 3899<li>FPM: 3900<ul> 3901 <li>Fixed bug <?php githubissuel('php/php-src', 12705); ?> (Segmentation fault in fpm_status_export_to_zval).</li> 3902</ul></li> 3903<li>Intl: 3904<ul> 3905 <li>Fixed bug <?php githubissuel('php/php-src', 12635); ?> (Test bug69398.phpt fails with ICU 74.1).</li> 3906</ul></li> 3907<li>LibXML: 3908<ul> 3909 <li>Fixed bug <?php githubissuel('php/php-src', 12702); ?> (libxml2 2.12.0 issue building from src).</li> 3910</ul></li> 3911<li>MySQLnd: 3912<ul> 3913 <li>Avoid using uninitialised struct.</li> 3914</ul></li> 3915<li>OpenSSL: 3916<ul> 3917 <li><?php bugfix(50713); ?> (openssl_pkcs7_verify() may ignore untrusted CAs).</li> 3918</ul></li> 3919<li>PCRE: 3920<ul> 3921 <li>Fixed bug <?php githubissuel('php/php-src', 12628); ?> (The gh11374 test fails on Alpinelinux).</li> 3922</ul></li> 3923<li>PGSQL: 3924<ul> 3925 <li>Fixed bug <?php githubissuel('php/php-src', 12763); ?> wrong argument type for pg_untrace.</li> 3926</ul></li> 3927<li>PHPDBG: 3928<ul> 3929 <li>Fixed bug <?php githubissuel('php/php-src', 12675); ?> (MEMORY_LEAK in phpdbg_prompt.c).</li> 3930</ul></li> 3931<li>SQLite3: 3932<ul> 3933 <li>Fixed bug <?php githubissuel('php/php-src', 12633); ?> (sqlite3_defensive.phpt fails with sqlite 3.44.0).</li> 3934</ul></li> 3935<li>Standard: 3936<ul> 3937 <li>Fix memory leak in syslog device handling.</li> 3938 <li>Fixed bug <?php githubissuel('php/php-src', 12621); ?> (browscap segmentation fault when configured in the vhost).</li> 3939 <li>Fixed bug <?php githubissuel('php/php-src', 12655); ?> (proc_open() does not take into account references in the descriptor array).</li> 3940</ul></li> 3941<li>Streams: 3942<ul> 3943 <li><?php bugfix(79945); ?> (Stream wrappers in imagecreatefrompng causes segfault).</li> 3944</ul></li> 3945<li>Zip: 3946<ul> 3947 <li>Fixed bug <?php githubissuel('php/php-src', 12661); ?> (Inconsistency in ZipArchive::addGlob remove_path Option Behavior).</li> 3948</ul></li> 3949</ul> 3950<!-- }}} --></section> 3951 3952 3953 3954<section class="version" id="8.1.26"><!-- {{{ 8.1.26 --> 3955<h3>Version 8.1.26</h3> 3956<b><?php release_date('23-Nov-2023'); ?></b> 3957<ul><li>Core: 3958<ul> 3959 <li>Fixed bug <?php githubissuel('php/php-src', 12468); ?> (Double-free of doc_comment when overriding static property via trait).</li> 3960 <li>Fixed segfault caused by weak references to FFI objects.</li> 3961 <li>Fixed max_execution_time: don't delete an unitialized timer.</li> 3962</ul></li> 3963<li>DOM: 3964<ul> 3965 <li>Fix registerNodeClass with abstract class crashing.</li> 3966 <li>Add missing NULL pointer error check.</li> 3967 <li>Fix validation logic of php:function() callbacks.</li> 3968</ul></li> 3969<li>Fiber: 3970<ul> 3971 <li>Fixed bug <?php githubissuel('php/php-src', 11121); ?> (ReflectionFiber segfault).</li> 3972</ul></li> 3973<li>FPM: 3974<ul> 3975 <li>Fixed bug <?php githubissuel('php/php-src', 9921); ?> (Loading ext in FPM config does not register module handlers).</li> 3976 <li>Fixed bug <?php githubissuel('php/php-src', 12232); ?> (FPM: segfault dynamically loading extension without opcache).</li> 3977</ul></li> 3978<li>Intl: 3979<ul> 3980 <li>Removed the BC break on IntlDateFormatter::construct which threw an exception with an invalid locale.</li> 3981</ul></li> 3982<li>Opcache: 3983<ul> 3984 <li>Added warning when JIT cannot be enabled.</li> 3985 <li>Fixed bug <?php githubissuel('php/php-src', 8143); ?> (Crashes in zend_accel_inheritance_cache_find since upgrading to 8.1.3 due to corrupt on-disk file cache).</li> 3986</ul></li> 3987<li>OpenSSL: 3988<ul> 3989 <li>Fixed bug <?php githubissuel('php/php-src', 12489); ?> (Missing sigbio creation checking in openssl_cms_verify).</li> 3990</ul></li> 3991<li>PCRE: 3992<ul> 3993 <li>Fixed bug <?php githubissuel('php/php-src', 11374); ?> (Backport upstream fix, Different preg_match result with -d pcre.jit=0).</li> 3994</ul></li> 3995<li>SOAP: 3996<ul> 3997 <li>Fixed bug <?php githubissuel('php/php-src', 12392); ?> (Segmentation fault on SoapClient::__getTypes).</li> 3998 <li><?php bugfix(66150); ?> (SOAP WSDL cache race condition causes Segmentation Fault).</li> 3999 <li><?php bugfix(67617); ?> (SOAP leaves incomplete cache file on ENOSPC).</li> 4000 <li>Fix incorrect uri check in SOAP caching.</li> 4001 <li>Fix segfault and assertion failure with refcounted props and arrays.</li> 4002 <li>Fix potential crash with an edge case of persistent encoders.</li> 4003 <li><?php bugfix(75306); ?> (Memleak in SoapClient).</li> 4004</ul></li> 4005<li>Streams: 4006<ul> 4007 <li><?php bugfix(75708); ?> (getimagesize with "&$imageinfo" fails on StreamWrappers).</li> 4008</ul></li> 4009<li>XMLReader: 4010<ul> 4011 <li>Add missing NULL pointer error check.</li> 4012</ul></li> 4013<li>XMLWriter: 4014<ul> 4015 <li>Add missing NULL pointer error check.</li> 4016</ul></li> 4017<li>XSL: 4018<ul> 4019 <li>Add missing module dependency.</li> 4020 <li>Fix validation logic of php:function() callbacks.</li> 4021</ul></li> 4022</ul> 4023<!-- }}} --></section> 4024 4025 4026 4027<section class="version" id="8.1.25"><!-- {{{ 8.1.25 --> 4028<h3>Version 8.1.25</h3> 4029<b><?php release_date('26-Oct-2023'); ?></b> 4030<ul><li>Core: 4031<ul> 4032 <li>Fixed bug <?php githubissuel('php/php-src', 12207); ?> (memory leak when class using trait with doc block).</li> 4033 <li>Fixed bug <?php githubissuel('php/php-src', 12215); ?> (Module entry being overwritten causes type errors in ext/dom).</li> 4034 <li>Fixed bug <?php githubissuel('php/php-src', 12273); ?> (__builtin_cpu_init check).</li> 4035 <li><?php bugfix(80092); ?> (ZTS + preload = segfault on shutdown).</li> 4036</ul></li> 4037<li>CLI: 4038<ul> 4039 <li>Ensure a single Date header is present.</li> 4040</ul></li> 4041<li>CType: 4042<ul> 4043 <li>Fixed bug <?php githubissuel('php/php-src', 11997); ?> (ctype_alnum 5 times slower in PHP 8.1 or greater).</li> 4044</ul></li> 4045<li>DOM: 4046<ul> 4047 <li>Restore old namespace reconciliation behaviour.</li> 4048 <li>Fixed bug <?php githubissuel('php/php-src', 8996); ?> (DOMNode serialization on PHP ^8.1).</li> 4049</ul></li> 4050<li>Fileinfo: 4051<ul> 4052 <li>Fixed bug <?php githubissuel('php/php-src', 11891); ?> (fileinfo returns text/xml for some svg files).</li> 4053</ul></li> 4054<li>Filter: 4055<ul> 4056 <li>Fix explicit FILTER_REQUIRE_SCALAR with FILTER_CALLBACK (ilutov)</li> 4057</ul></li> 4058<li>Hash: 4059<ul> 4060 <li>Fixed bug <?php githubissuel('php/php-src', 12186); ?> (segfault copying/cloning a finalized HashContext).</li> 4061</ul></li> 4062<li>Intl: 4063<ul> 4064 <li>Fixed bug <?php githubissuel('php/php-src', 12243); ?> (segfault on IntlDateFormatter::construct).</li> 4065 <li>Fixed bug <?php githubissuel('php/php-src', 12282); ?> (IntlDateFormatter::construct should throw an exception on an invalid locale).</li> 4066</ul></li> 4067<li>MySQLnd: 4068<ul> 4069 <li>Fixed bug <?php githubissuel('php/php-src', 12297); ?> (PHP Startup: Invalid library (maybe not a PHP library) 'mysqlnd.so' in Unknown on line).</li> 4070</ul></li> 4071<li>Opcache: 4072<ul> 4073 <li>Fixed opcache_invalidate() on deleted file.</li> 4074 <li>Fixed bug <?php githubissuel('php/php-src', 12380); ?> (JIT+private array property access inside closure accesses private property in child class).</li> 4075</ul></li> 4076<li>PCRE: 4077<ul> 4078 <li>Fixed bug <?php githubissuel('php/php-src', 11956); ?> (Backport upstream fix, PCRE regular expressions with JIT enabled gives different result).</li> 4079</ul></li> 4080<li>SimpleXML: 4081<ul> 4082 <li>Fixed bug <?php githubissuel('php/php-src', 12170); ?> (Can't use xpath with comments in SimpleXML).</li> 4083 <li>Fixed bug <?php githubissuel('php/php-src', 12223); ?> (Entity reference produces infinite loop in var_dump/print_r).</li> 4084 <li>Fixed bug <?php githubissuel('php/php-src', 12167); ?> (Unable to get processing instruction contents in SimpleXML).</li> 4085 <li>Fixed bug <?php githubissuel('php/php-src', 12169); ?> (Unable to get comment contents in SimpleXML).</li> 4086</ul></li> 4087<li>Streams: 4088<ul> 4089 <li>Fixed bug <?php githubissuel('php/php-src', 12190); ?> (binding ipv4 address with both address and port at 0).</li> 4090</ul></li> 4091<li>XML: 4092<ul> 4093 <li>Fix return type of stub of xml_parse_into_struct().</li> 4094 <li>Fix memory leak when calling xml_parse_into_struct() twice.</li> 4095</ul></li> 4096<li>XSL: 4097<ul> 4098 <li>Fix type error on XSLTProcessor::transformToDoc return value with SimpleXML.</li> 4099</ul></li> 4100<li>Sockets: 4101<ul> 4102 <li>Fix socket_export_stream() with wrong protocol (twosee)</li> 4103</ul></li> 4104</ul> 4105<!-- }}} --></section> 4106 4107 4108 4109<section class="version" id="8.1.24"><!-- {{{ 8.1.24 --> 4110<h3>Version 8.1.24</h3> 4111<b><?php release_date('28-Sep-2023'); ?></b> 4112<ul><li>Core: 4113<ul> 4114 <li>Fixed bug <?php githubissuel('php/php-src', 11937); ?> (Constant ASTs containing objects).</li> 4115 <li>Fixed bug <?php githubissuel('php/php-src', 11790); ?> (On riscv64 require libatomic if actually needed).</li> 4116 <li>Fixed bug <?php githubissuel('php/php-src', 12073); ?> (Segfault when freeing incompletely initialized closures).</li> 4117 <li>Fixed bug <?php githubissuel('php/php-src', 12060); ?> (Internal iterator rewind handler is called twice).</li> 4118 <li>Fixed bug <?php githubissuel('php/php-src', 12102); ?> (Incorrect compile error when using array access on TMP value in function call).</li> 4119</ul></li> 4120<li>DOM: 4121<ul> 4122 <li>Fix memory leak when setting an invalid DOMDocument encoding.</li> 4123</ul></li> 4124<li>Iconv: 4125<ul> 4126 <li>Fixed build for NetBSD which still uses the old iconv signature.</li> 4127</ul></li> 4128<li>Intl: 4129<ul> 4130 <li>Fixed bug <?php githubissuel('php/php-src', 12020); ?> (intl_get_error_message() broken after MessageFormatter::formatMessage() fails).</li> 4131</ul></li> 4132<li>MySQLnd: 4133<ul> 4134 <li>Fixed bug <?php githubissuel('php/php-src', 10270); ?> (Invalid error message when connection via SSL fails: "trying to connect via (null)").</li> 4135</ul></li> 4136<li>ODBC: 4137<ul> 4138 <li>Fixed memory leak with failed SQLPrepare.</li> 4139 <li>Fixed persistent procedural ODBC connections not getting closed.</li> 4140</ul></li> 4141<li>SimpleXML: 4142<ul> 4143 <li><?php bugfix(52751); ?> (XPath processing-instruction() function is not supported).</li> 4144</ul></li> 4145<li>SPL: 4146<ul> 4147 <li>Fixed bug <?php githubissuel('php/php-src', 11972); ?> (RecursiveCallbackFilterIterator regression in 8.1.18).</li> 4148</ul></li> 4149<li>SQLite3: 4150<ul> 4151 <li>Fixed bug <?php githubissuel('php/php-src', 11878); ?> (SQLite3 callback functions cause a memory leak with a callable array).</li> 4152</ul></li> 4153</ul> 4154<!-- }}} --></section> 4155 4156 4157 4158<section class="version" id="8.1.23"><!-- {{{ 8.1.23 --> 4159<h3>Version 8.1.23</h3> 4160<b><?php release_date('31-Aug-2023'); ?></b> 4161<ul><li>CLI: 4162<ul> 4163 <li>Fixed bug <?php githubissuel('php/php-src', 11716); ?> (cli server crashes on SIGINT when compiled with ZEND_RC_DEBUG=1).</li> 4164 <li>Fixed bug <?php githubissuel('php/php-src', 10964); ?> (Improve man page about the built-in server).</li> 4165</ul></li> 4166<li>Core: 4167<ul> 4168 <li>Fixed strerror_r detection at configuration time.</li> 4169</ul></li> 4170<li>Date: 4171<ul> 4172 <li>Fixed bug <?php githubissuel('php/php-src', 11416); ?>: Crash with DatePeriod when uninitialised objects are passed in.</li> 4173</ul></li> 4174<li>DOM: 4175<ul> 4176 <li>Fix DOMEntity field getter bugs.</li> 4177 <li>Fix incorrect attribute existence check in DOMElement::setAttributeNodeNS.</li> 4178 <li>Fix DOMCharacterData::replaceWith() with itself.</li> 4179 <li>Fix empty argument cases for DOMParentNode methods.</li> 4180 <li>Fixed bug <?php githubissuel('php/php-src', 11791); ?> (Wrong default value of DOMDocument::xmlStandalone).</li> 4181 <li>Fix json_encode result on DOMDocument.</li> 4182 <li>Fix manually calling __construct() on DOM classes.</li> 4183 <li>Fixed bug <?php githubissuel('php/php-src', 11830); ?> (ParentNode methods should perform their checks upfront).</li> 4184 <li>Fix segfault when DOMParentNode::prepend() is called when the child disappears.</li> 4185</ul></li> 4186<li>FFI: 4187<ul> 4188 <li>Fix leaking definitions when using FFI::cdef()->new(...).</li> 4189</ul></li> 4190<li>MySQLnd: 4191<ul> 4192 <li>Fixed bug <?php githubissuel('php/php-src', 11440); ?> (authentication to a sha256_password account fails over SSL).</li> 4193 <li>Fixed bug <?php githubissuel('php/php-src', 11438); ?> (mysqlnd fails to authenticate with sha256_password accounts using passwords longer than 19 characters).</li> 4194 <li>Fixed bug <?php githubissuel('php/php-src', 11550); ?> (MySQL Statement has a empty query result when the response field has changed, also Segmentation fault).</li> 4195 <li>Fixed invalid error message "Malformed packet" when connection is dropped.</li> 4196</ul></li> 4197<li>Opcache: 4198<ul> 4199 <li>Fixed bug <?php githubissuel('php/php-src', 11715); ?> (opcache.interned_strings_buffer either has no effect or opcache_get_status() / phpinfo() is wrong).</li> 4200 <li>Avoid adding an unnecessary read-lock when loading script from shm if restart is in progress.</li> 4201</ul></li> 4202<li>PCNTL: 4203<ul> 4204 <li>Revert behaviour of receiving SIGCHLD signals back to the behaviour before 8.1.22.</li> 4205</ul></li> 4206<li>SPL: 4207<ul> 4208 <li><?php bugfix(81992); ?> (SplFixedArray::setSize() causes use-after-free).</li> 4209</ul></li> 4210<li>Standard: 4211<ul> 4212 <li>Prevent int overflow on $decimals in number_format.</li> 4213 <li>Fixed bug <?php githubissuel('php/php-src', 11870); ?> (Fix off-by-one bug when truncating tempnam prefix) (athos-ribeiro)</li> 4214</ul></li> 4215</ul> 4216<!-- }}} --></section> 4217 4218 4219 4220<section class="version" id="8.1.22"><!-- {{{ 8.1.22 --> 4221<h3>Version 8.1.22</h3> 4222<b><?php release_date('03-Aug-2023'); ?></b> 4223<ul><li>Build: 4224<ul> 4225 <li>Fixed bug <?php githubissuel('php/php-src', 11522); ?> (PHP version check fails with '-' separator).</li> 4226</ul></li> 4227<li>CLI: 4228<ul> 4229 <li>Fix interrupted CLI output causing the process to exit.</li> 4230</ul></li> 4231<li>Core: 4232<ul> 4233 <li>Fixed oss-fuzz #60011 (Mis-compilation of by-reference nullsafe operator).</li> 4234 <li>Fixed use-of-uninitialized-value with ??= on assert.</li> 4235 <li>Fixed build for FreeBSD before the 11.0 releases.</li> 4236</ul></li> 4237<li>Curl: 4238<ul> 4239 <li>Fix crash when an invalid callback function is passed to CURLMOPT_PUSHFUNCTION.</li> 4240</ul></li> 4241<li>Date: 4242<ul> 4243 <li>Fixed bug <?php githubissuel('php/php-src', 11368); ?> (Date modify returns invalid datetime).</li> 4244</ul></li> 4245<li>DOM: 4246<ul> 4247 <li>Fixed bug <?php githubissuel('php/php-src', 11625); ?> (DOMElement::replaceWith() doesn't replace node with DOMDocumentFragment but just deletes node or causes wrapping <></> depending on libxml2 version).</li> 4248</ul></li> 4249<li>Fileinfo: 4250<ul> 4251 <li>Fixed bug <?php githubissuel('php/php-src', 11298); ?> (finfo returns wrong mime type for xz files).</li> 4252</ul></li> 4253<li>FTP: 4254<ul> 4255 <li>Fix context option check for "overwrite".</li> 4256 <li>Fixed bug <?php githubissuel('php/php-src', 10562); ?> (Memory leak and invalid state with consecutive ftp_nb_fget).</li> 4257</ul></li> 4258<li>GD: 4259<ul> 4260 <li>Fix most of the external libgd test failures.</li> 4261</ul></li> 4262<li>Hash: 4263<ul> 4264 <li>Fix use-of-uninitialized-value in hash_pbkdf2(), fix missing $options parameter in signature.</li> 4265</ul></li> 4266<li>Intl: 4267<ul> 4268 <li>Fix memory leak in MessageFormatter::format() on failure.</li> 4269</ul></li> 4270<li>Libxml: 4271<ul> 4272 <li>Fixed bug GHSA-3qrf-m4j2-pcrr (Security issue with external entity loading in XML without enabling it). (CVE-2023-3823)</li> 4273</ul></li> 4274<li>MBString: 4275<ul> 4276 <li>Fix <?php githubissuel('php/php-src', 11300); ?> (license issue: restricted unicode license headers).</li> 4277</ul></li> 4278<li>Opcache: 4279<ul> 4280 <li>Fixed bug <?php githubissuel('php/php-src', 10914); ?> (OPCache with Enum and Callback functions results in segmentation fault).</li> 4281 <li>Prevent potential deadlock if accelerated globals cannot be allocated.</li> 4282</ul></li> 4283<li>PCNTL: 4284<ul> 4285 <li>Fixed bug <?php githubissuel('php/php-src', 11498); ?> (SIGCHLD is not always returned from proc_open).</li> 4286</ul></li> 4287<li>PCRE: 4288<ul> 4289 <li>Mangle PCRE regex cache key with JIT option.</li> 4290</ul></li> 4291<li>PDO: 4292<ul> 4293 <li>Fix <?php githubissuel('php/php-src', 11587); ?> (After php8.1, when PDO::ATTR_EMULATE_PREPARES is true and PDO::ATTR_STRINGIFY_FETCHES is true, decimal zeros are no longer filled).</li> 4294</ul></li> 4295<li>PDO SQLite: 4296<ul> 4297 <li>Fix <?php githubissuel('php/php-src', 11492); ?> (Make test failure: ext/pdo_sqlite/tests/bug_42589.phpt).</li> 4298</ul></li> 4299<li>Phar: 4300<ul> 4301 <li>Add missing check on EVP_VerifyUpdate() in phar util.</li> 4302 <li>Fixed bug GHSA-jqcx-ccgc-xwhv (Buffer mismanagement in phar_dir_read()). (CVE-2023-3824)</li> 4303</ul></li> 4304<li>PHPDBG: 4305<ul> 4306 <li>Fixed bug <?php githubissuel('php/php-src', 9669); ?> (phpdbg -h options doesn't list the -z option).</li> 4307</ul></li> 4308<li>Session: 4309<ul> 4310 <li>Removed broken url support for transferring session ID.</li> 4311</ul></li> 4312<li>Standard: 4313<ul> 4314 <li>Fix serialization of RC1 objects appearing in object graph twice.</li> 4315</ul></li> 4316<li>SQLite3: 4317<ul> 4318 <li>Fix replaced error handling in SQLite3Stmt::__construct.</li> 4319</ul></li> 4320</ul> 4321<!-- }}} --></section> 4322 4323 4324 4325<section class="version" id="8.1.21"><!-- {{{ 8.1.21 --> 4326<h3>Version 8.1.21</h3> 4327<b><?php release_date('06-Jul-2023'); ?></b> 4328<ul><li>CLI: 4329<ul> 4330 <li>Fixed bug <?php githubissuel('php/php-src', 11246); ?> (cli/get_set_process_title fails on MacOS).</li> 4331</ul></li> 4332<li>Core: 4333<ul> 4334 <li>Fixed build for the riscv64 architecture/GCC 12.</li> 4335</ul></li> 4336<li>Curl: 4337<ul> 4338 <li>Fixed bug <?php githubissuel('php/php-src', 11433); ?> (Unable to set CURLOPT_ACCEPT_ENCODING to NULL).</li> 4339</ul></li> 4340<li>DOM: 4341<ul> 4342 <li>Fixed bugs <?php githubissuel('php/php-src', 11288); ?> and <?php githubissuel('php/php-src', 11289); ?> and <?php githubissuel('php/php-src', 11290); ?> and <?php githubissuel('php/php-src', 9142); ?> (DOMExceptions and segfaults with replaceWith).</li> 4343 <li>Fixed bug <?php githubissuel('php/php-src', 10234); ?> (Setting DOMAttr::textContent results in an empty attribute value).</li> 4344 <li>Fix return value in stub file for DOMNodeList::item.</li> 4345 <li>Fix spec compliance error with '*' namespace for DOMDocument::getElementsByTagNameNS.</li> 4346 <li>Fix DOMElement::append() and DOMElement::prepend() hierarchy checks.</li> 4347 <li>Fixed bug <?php githubissuel('php/php-src', 11347); ?> (Memory leak when calling a static method inside an xpath query).</li> 4348 <li><?php bugfix(67440); ?> (append_node of a DOMDocumentFragment does not reconcile namespaces).</li> 4349 <li><?php bugfix(81642); ?> (DOMChildNode::replaceWith() bug when replacing a node with itself).</li> 4350 <li><?php bugfix(77686); ?> (Removed elements are still returned by getElementById).</li> 4351 <li><?php bugfix(70359); ?> (print_r() on DOMAttr causes Segfault in php_libxml_node_free_list()).</li> 4352 <li><?php bugfix(78577); ?> (Crash in DOMNameSpace debug info handlers).</li> 4353 <li>Fix lifetime issue with getAttributeNodeNS().</li> 4354 <li>Fix "invalid state error" with cloned namespace declarations.</li> 4355 <li><?php bugfix(55294); ?> and #47530 and #47847 (various namespace reconciliation issues).</li> 4356 <li><?php bugfix(80332); ?> (Completely broken array access functionality with DOMNamedNodeMap).</li> 4357</ul></li> 4358<li>Opcache: 4359<ul> 4360 <li>Fix allocation loop in zend_shared_alloc_startup().</li> 4361 <li>Access violation on smm_shared_globals with ALLOC_FALLBACK.</li> 4362 <li>Fixed bug <?php githubissuel('php/php-src', 11336); ?> (php still tries to unlock the shared memory ZendSem with opcache.file_cache_only=1 but it was never locked).</li> 4363</ul></li> 4364<li>OpenSSL: 4365<ul> 4366 <li>Fixed bug <?php githubissuel('php/php-src', 9356); ?> Incomplete validation of IPv6 Address fields in subjectAltNames (James Lucas, Jakub Zelenka).</li> 4367</ul></li> 4368<li>PGSQL: 4369<ul> 4370 <li>Fixed intermittent segfault with pg_trace.</li> 4371</ul></li> 4372<li>Phar: 4373<ul> 4374 <li>Fix cross-compilation check in phar generation for FreeBSD.</li> 4375</ul></li> 4376<li>SPL: 4377<ul> 4378 <li>Fixed bug <?php githubissuel('php/php-src', 11338); ?> (SplFileInfo empty getBasename with more than one slash).</li> 4379</ul></li> 4380<li>Standard: 4381<ul> 4382 <li>Fix access on NULL pointer in array_merge_recursive().</li> 4383 <li>Fix exception handling in array_multisort().</li> 4384</ul></li> 4385</ul> 4386<!-- }}} --></section> 4387 4388 4389 4390<section class="version" id="8.1.20"><!-- {{{ 8.1.20 --> 4391<h3>Version 8.1.20</h3> 4392<b><?php release_date('08-Jun-2023'); ?></b> 4393<ul><li>Core: 4394<ul> 4395 <li>Fixed bug <?php githubissuel('php/php-src', 9068); ?> (Conditional jump or move depends on uninitialised value(s)).</li> 4396 <li>Fixed bug <?php githubissuel('php/php-src', 11189); ?> (Exceeding memory limit in zend_hash_do_resize leaves the array in an invalid state).</li> 4397 <li>Fixed bug <?php githubissuel('php/php-src', 11222); ?> (foreach by-ref may jump over keys during a rehash).</li> 4398</ul></li> 4399<li>Date: 4400<ul> 4401 <li>Fixed bug <?php githubissuel('php/php-src', 11281); ?> (DateTimeZone::getName() does not include seconds in offset).</li> 4402</ul></li> 4403<li>Exif: 4404<ul> 4405 <li>Fixed bug <?php githubissuel('php/php-src', 10834); ?> (exif_read_data() cannot read smaller stream wrapper chunk sizes).</li> 4406</ul></li> 4407<li>FPM: 4408<ul> 4409 <li>Fixed bug <?php githubissuel('php/php-src', 10461); ?> (PHP-FPM segfault due to after free usage of child->ev_std(out|err)).</li> 4410 <li><?php bugfix(64539); ?> (FPM status page: query_string not properly JSON encoded).</li> 4411 <li>Fixed memory leak for invalid primary script file handle.</li> 4412</ul></li> 4413<li>Hash: 4414<ul> 4415 <li>Fixed bug <?php githubissuel('php/php-src', 11180); ?> (hash_file() appears to be restricted to 3 arguments).</li> 4416</ul></li> 4417<li>LibXML: 4418<ul> 4419 <li>Fixed bug <?php githubissuel('php/php-src', 11160); ?> (Few tests failed building with new libxml 2.11.0).</li> 4420</ul></li> 4421<li>Opcache: 4422<ul> 4423 <li>Fixed bug <?php githubissuel('php/php-src', 11134); ?> (Incorrect match default branch optimization).</li> 4424 <li>Fixed too wide OR and AND range inference.</li> 4425 <li>Fixed bug <?php githubissuel('php/php-src', 11245); ?> (In some specific cases SWITCH with one default statement will cause segfault).</li> 4426</ul></li> 4427<li>PGSQL: 4428<ul> 4429 <li>Fixed parameter parsing of pg_lo_export().</li> 4430</ul></li> 4431<li>Phar: 4432<ul> 4433 <li>Fixed bug <?php githubissuel('php/php-src', 11099); ?> (Generating phar.php during cross-compile can't be done).</li> 4434</ul></li> 4435<li>Soap: 4436<ul> 4437 <li>Fixed bug GHSA-76gg-c692-v2mw (Missing error check and insufficient random bytes in HTTP Digest authentication for SOAP). (CVE-2023-3247)</li> 4438 <li>Fixed bug <?php githubissuel('php/php-src', 8426); ?> (make test fail while soap extension build).</li> 4439</ul></li> 4440<li>SPL: 4441<ul> 4442 <li>Fixed bug <?php githubissuel('php/php-src', 11178); ?> (Segmentation fault in spl_array_it_get_current_data (PHP 8.1.18)).</li> 4443</ul></li> 4444<li>Standard: 4445<ul> 4446 <li>Fixed bug <?php githubissuel('php/php-src', 11138); ?> (move_uploaded_file() emits open_basedir warning for source file).</li> 4447 <li>Fixed bug <?php githubissuel('php/php-src', 11274); ?> (POST/PATCH request switches to GET after a HTTP 308 redirect).</li> 4448</ul></li> 4449<li>Streams: 4450<ul> 4451 <li>Fixed bug <?php githubissuel('php/php-src', 10031); ?> ([Stream] STREAM_NOTIFY_PROGRESS over HTTP emitted irregularly for last chunk of data).</li> 4452 <li>Fixed bug <?php githubissuel('php/php-src', 11175); ?> (Stream Socket Timeout).</li> 4453 <li>Fixed bug <?php githubissuel('php/php-src', 11177); ?> (ASAN UndefinedBehaviorSanitizer when timeout = -1 passed to stream_socket_accept/stream_socket_client).</li> 4454</ul></li> 4455</ul> 4456<!-- }}} --></section> 4457 4458 4459 4460<section class="version" id="8.1.19"><!-- {{{ 8.1.19 --> 4461<h3>Version 8.1.19</h3> 4462<b><?php release_date('11-May-2023'); ?></b> 4463<ul><li>Core: 4464<ul> 4465 <li>Fix inconsistent float negation in constant expressions.</li> 4466 <li>Fixed bug <?php githubissuel('php/php-src', 8841); ?> (php-cli core dump calling a badly formed function).</li> 4467 <li>Fixed bug <?php githubissuel('php/php-src', 10737); ?> (PHP 8.1.16 segfaults on line 597 of sapi/apache2handler/sapi_apache2.c).</li> 4468 <li>Fixed bug <?php githubissuel('php/php-src', 11028); ?> (Heap Buffer Overflow in zval_undefined_cv.).</li> 4469 <li>Fixed bug <?php githubissuel('php/php-src', 11108); ?> (Incorrect CG(memoize_mode) state after bailout in ??=).</li> 4470</ul></li> 4471<li>DOM: 4472<ul> 4473 <li><?php bugfix(80602); ?> (Segfault when using DOMChildNode::before()).</li> 4474 <li>Fixed incorrect error handling in dom_zvals_to_fragment().</li> 4475</ul></li> 4476<li>Exif: 4477<ul> 4478 <li>Fixed bug <?php githubissuel('php/php-src', 9397); ?> (exif read : warnings and errors : Potentially invalid endianess, Illegal IFD size and Undefined index).</li> 4479</ul></li> 4480<li>Intl: 4481<ul> 4482 <li>Fixed bug <?php githubissuel('php/php-src', 11071); ?> (TZData version not displayed anymore).</li> 4483</ul></li> 4484<li>PCRE: 4485<ul> 4486 <li>Fixed bug <?php githubissuel('php/php-src', 10968); ?> (Segfault in preg_replace_callback_array()).</li> 4487</ul></li> 4488<li>Standard: 4489<ul> 4490 <li>Fixed bug <?php githubissuel('php/php-src', 10990); ?> (mail() throws TypeError after iterating over $additional_headers array by reference).</li> 4491 <li>Fixed bug <?php githubissuel('php/php-src', 9775); ?> (Duplicates returned by array_unique when using enums).</li> 4492</ul></li> 4493</ul> 4494<!-- }}} --></section> 4495 4496 4497 4498<section class="version" id="8.1.18"><!-- {{{ 8.1.18 --> 4499<h3>Version 8.1.18</h3> 4500<b><?php release_date('13-Apr-2023'); ?></b> 4501<ul><li>Core: 4502<ul> 4503 <li>Added optional support for max_execution_time in ZTS/Linux builds.</li> 4504 <li>Fixed use-after-free in recursive AST evaluation.</li> 4505 <li>Fixed bug <?php githubissuel('php/php-src', 8646); ?> (Memory leak PHP FPM 8.1).</li> 4506 <li>Fixed bug <?php githubissuel('php/php-src', 10801); ?> (Named arguments in CTE functions cause a segfault).</li> 4507 <li>Fixed bug <?php githubissuel('php/php-src', 8789); ?> (PHP 8.0.20 (ZTS) zend_signal_handler_defer crashes on apache).</li> 4508 <li>Fixed bug <?php githubissuel('php/php-src', 10015); ?> (zend_signal_handler_defer crashes on apache shutdown).</li> 4509 <li>Fixed bug <?php githubissuel('php/php-src', 10810); ?> (Fix NUL byte terminating Exception::__toString()).</li> 4510 <li>Fix potential memory corruption when mixing __callStatic() and FFI.</li> 4511</ul></li> 4512<li>Date: 4513<ul> 4514 <li>Fixed bug <?php githubissuel('php/php-src', 10583); ?> (DateTime modify with tz pattern should not update linked timezone).</li> 4515</ul></li> 4516<li>FPM: 4517<ul> 4518 <li>Fixed bug <?php githubissuel('php/php-src', 10611); ?> (fpm_env_init_main leaks environ).</li> 4519 <li>Destroy file_handle in fpm_main.</li> 4520 <li><?php bugfix(74129); ?> (Incorrect SCRIPT_NAME with apache ProxyPassMatch when spaces are in path).</li> 4521</ul></li> 4522<li>FTP: 4523<ul> 4524 <li>Propagate success status of ftp_close().</li> 4525 <li>Fixed bug <?php githubissuel('php/php-src', 10521); ?> (ftp_get/ftp_nb_get resumepos offset is maximum 10GB).</li> 4526</ul></li> 4527<li>IMAP: 4528<ul> 4529 <li>Fix build failure with Clang 16.</li> 4530</ul></li> 4531<li>MySQLnd: 4532<ul> 4533 <li>Fixed bug <?php githubissuel('php/php-src', 8979); ?> (Possible Memory Leak with SSL-enabled MySQL connections).</li> 4534</ul></li> 4535<li>Opcache: 4536<ul> 4537 <li>Fixed build for macOS to cater with pkg-config settings.</li> 4538 <li>Fixed bug <?php githubissuel('php/php-src', 8065); ?> (opcache.consistency_checks > 0 causes segfaults in PHP >= 8.1.5 in fpm context).</li> 4539</ul></li> 4540<li>OpenSSL: 4541<ul> 4542 <li>Add missing error checks on file writing functions.</li> 4543</ul></li> 4544<li>PDO Firebird: 4545<ul> 4546 <li>Fixed bug <?php githubissuel('php/php-src', 10908); ?> (Bus error with PDO Firebird on RPI with 64 bit kernel and 32 bit userland).</li> 4547</ul></li> 4548<li>PDO ODBC: 4549<ul> 4550 <li>Fixed missing and inconsistent error checks on SQLAllocHandle.</li> 4551</ul></li> 4552<li>Phar: 4553<ul> 4554 <li>Fixed bug <?php githubissuel('php/php-src', 10766); ?> (PharData archive created with Phar::Zip format does not keep files metadata (datetime)).</li> 4555 <li>Add missing error checks on EVP_MD_CTX_create() and EVP_VerifyInit().</li> 4556</ul></li> 4557<li>PGSQL: 4558<ul> 4559 <li>Fixed typo in the array returned from pg_meta_data (extended mode).</li> 4560</ul></li> 4561<li>SPL: 4562<ul> 4563 <li>Fixed bug <?php githubissuel('php/php-src', 10519); ?> (Array Data Address Reference Issue).</li> 4564 <li>Fixed bug <?php githubissuel('php/php-src', 10844); ?> (ArrayIterator allows modification of readonly props).</li> 4565</ul></li> 4566<li>Standard: 4567<ul> 4568 <li>Fixed bug <?php githubissuel('php/php-src', 10885); ?> (stream_socket_server context leaks).</li> 4569 <li>Fixed bug <?php githubissuel('php/php-src', 10052); ?> (Browscap crashes PHP 8.1.12 on request shutdown (apache2)).</li> 4570 <li>Fixed oss-fuzz #57392 (Buffer-overflow in php_fgetcsv() with \0 delimiter and enclosure).</li> 4571 <li>Fixed undefined behaviour in unpack().</li> 4572</ul></li> 4573</ul> 4574<!-- }}} --></section> 4575 4576 4577 4578<section class="version" id="8.1.17"><!-- {{{ 8.1.17 --> 4579<h3>Version 8.1.17</h3> 4580<b><?php release_date('16-Mar-2023'); ?></b> 4581<ul><li>Core: 4582<ul> 4583 <li>Fixed incorrect check condition in ZEND_YIELD.</li> 4584 <li>Fixed incorrect check condition in type inference.</li> 4585 <li>Fixed overflow check in OnUpdateMemoryConsumption.</li> 4586 <li>Fixed bug <?php githubissuel('php/php-src', 9916); ?> (Entering shutdown sequence with a fiber suspended in a Generator emits an unavoidable fatal error or crashes).</li> 4587 <li>Fixed bug <?php githubissuel('php/php-src', 10437); ?> (Segfault/assertion when using fibers in shutdown function after bailout).</li> 4588 <li>Fixed SSA object type update for compound assignment opcodes.</li> 4589 <li>Fixed language scanner generation build.</li> 4590 <li>Fixed zend_update_static_property() calling zend_update_static_property_ex() misleadingly with the wrong return type.</li> 4591 <li>Fix bug <?php githubissuel('php/php-src', 10570); ?> (Fixed unknown string hash on property fetch with integer constant name).</li> 4592 <li>Fixed php_fopen_primary_script() call resulted on zend_destroy_file_handle() freeing dangling pointers on the handle as it was uninitialized.</li> 4593</ul></li> 4594<li>Curl: 4595<ul> 4596 <li>Fixed deprecation warning at compile time.</li> 4597 <li>Fixed bug <?php githubissuel('php/php-src', 10270); ?> (Unable to return CURL_READFUNC_PAUSE in readfunc callback).</li> 4598</ul></li> 4599<li>Date: 4600<ul> 4601 <li>Fix <?php githubissuel('php/php-src', 10447); ?> ('p' format specifier does not yield 'Z' for 00:00).</li> 4602</ul></li> 4603<li>FFI: 4604<ul> 4605 <li>Fixed incorrect bitshifting and masking in ffi bitfield.</li> 4606</ul></li> 4607<li>Fiber: 4608<ul> 4609 <li>Fixed assembly on alpine x86.</li> 4610 <li>Fixed bug <?php githubissuel('php/php-src', 10496); ?> (segfault when garbage collector is invoked inside of fiber).</li> 4611</ul></li> 4612<li>FPM: 4613<ul> 4614 <li>Fixed bug <?php githubissuel('php/php-src', 10315); ?> (FPM unknown child alert not valid).</li> 4615 <li>Fixed bug <?php githubissuel('php/php-src', 10385); ?> (FPM successful config test early exit).</li> 4616</ul></li> 4617<li>Intl: 4618<ul> 4619 <li>Fixed bug <?php githubissuel('php/php-src', 10647); ?> (Spoolchecker isSuspicious/areConfusable methods error code's argument always returning NULL0.</li> 4620</ul></li> 4621<li>JSON: 4622<ul> 4623 <li>Fixed JSON scanner and parser generation build.</li> 4624</ul></li> 4625<li>MBString: 4626<ul> 4627 <li>ext/mbstring: fix new_value length check.</li> 4628 <li>Fix bug <?php githubissuel('php/php-src', 10627); ?> (mb_convert_encoding crashes PHP on Windows).</li> 4629</ul></li> 4630<li>Opcache: 4631<ul> 4632 <li>Fix incorrect page_size check.</li> 4633</ul></li> 4634<li>OpenSSL: 4635<ul> 4636 <li>Fixed php_openssl_set_server_dh_param() DH params errors handling.</li> 4637</ul></li> 4638<li>PDO OCI: 4639<ul> 4640 <li><?php bugfix(60994); ?> (Reading a multibyte CLOB caps at 8192 chars).</li> 4641</ul></li> 4642<li>PHPDBG: 4643<ul> 4644 <li>Fixed bug <?php githubissuel('php/php-src', 10715); ?> (heap buffer overflow on --run option misuse).</li> 4645</ul></li> 4646<li>PGSQL: 4647<ul> 4648 <li>Fix <?php githubissuel('php/php-src', 10672); ?> (pg_lo_open segfaults in the strict_types mode).</li> 4649</ul></li> 4650<li>Phar: 4651<ul> 4652 <li>Fix incorrect check in phar tar parsing.</li> 4653</ul></li> 4654<li>Reflection: 4655<ul> 4656 <li>Fixed bug <?php githubissuel('php/php-src', 10623); ?> (Reflection::getClosureUsedVariables opcode fix with variadic arguments).</li> 4657 <li>Fix Segfault when using ReflectionFiber suspended by an internal function.</li> 4658</ul></li> 4659<li>Session: 4660<ul> 4661 <li>Fixed ps_files_cleanup_dir() on failure code paths with -1 instead of 0 as the latter was considered success by callers. (nielsdos).</li> 4662</ul></li> 4663<li>Standard: 4664<ul> 4665 <li>Fixed bug <?php githubissuel('php/php-src', 10292); ?> (Made the default value of the first param of srand() and mt_srand() unknown).</li> 4666 <li>Fix incorrect check in cs_8559_5 in map_from_unicode().</li> 4667 <li>Fix bug <?php githubissuel('php/php-src', 9697); ?> for reset/end/next/prev() attempting to move pointer of properties table for certain internal classes such as FFI classes</li> 4668 <li>Fix incorrect error check in browsecap for pcre2_match().</li> 4669</ul></li> 4670<li>Tidy: 4671<ul> 4672 <li>Fix memory leaks when attempting to open a non-existing file or a file over 4GB.</li> 4673 <li>Add missing error check on tidyLoadConfig.</li> 4674</ul></li> 4675<li>Zlib: 4676<ul> 4677 <li>Fixed output_handler directive value's length which counted the string terminator.</li> 4678</ul></li> 4679</ul> 4680<!-- }}} --></section> 4681 4682 4683 4684<section class="version" id="8.1.16"><!-- {{{ 8.1.16 --> 4685<h3>Version 8.1.16</h3> 4686<b><?php release_date('14-Feb-2023'); ?></b> 4687<ul><li>Core: 4688<ul> 4689 <li><?php bugfix(81744); ?> (Password_verify() always return true with some hash).</li> 4690 <li><?php bugfix(81746); ?> (1-byte array overrun in common path resolve code).</li> 4691</ul></li> 4692<li>SAPI: 4693<ul> 4694 <li>Fixed bug GHSA-54hq-v5wp-fqgv (DOS vulnerability when parsing multipart request body). (CVE-2023-0662)</li> 4695</ul></li> 4696</ul> 4697<!-- }}} --></section> 4698 4699 4700 4701<section class="version" id="8.1.15"><!-- {{{ 8.1.15 --> 4702<h3>Version 8.1.15</h3> 4703<b><?php release_date('02-Feb-2023'); ?></b> 4704<ul><li>Apache: 4705<ul> 4706 <li>Fixed bug <?php githubissuel('php/php-src', 9949); ?> (Partial content on incomplete POST request).</li> 4707</ul></li> 4708<li>Core: 4709<ul> 4710 <li>Fixed bug <?php githubissuel('php/php-src', 10072); ?> (PHP crashes when execute_ex is overridden and a __call trampoline is used from internal code).</li> 4711 <li>Fix <?php githubissuel('php/php-src', 10251); ?> (Assertion `(flag & (1<<3)) == 0' failed).</li> 4712 <li>Fix wrong comparison in block optimisation pass after opcode update.</li> 4713</ul></li> 4714<li>Date: 4715<ul> 4716 <li>Fixed bug <?php githubissuel('php/php-src', 9891); ?> (DateTime modify with unixtimestamp (@) must work like setTimestamp).</li> 4717 <li>Fixed bug <?php githubissuel('php/php-src', 10218); ?> (DateTimeZone fails to parse time zones that contain the "+" character).</li> 4718</ul></li> 4719<li>Fiber: 4720<ul> 4721 <li>Fix assertion on stack allocation size.</li> 4722</ul></li> 4723<li>FPM: 4724<ul> 4725 <li>Fixed bug <?php githubissuel('php/php-src', 9981); ?> (FPM does not reset fastcgi.error_header).</li> 4726 <li><?php bugfix(67244); ?> (Wrong owner:group for listening unix socket).</li> 4727</ul></li> 4728<li>Hash: 4729<ul> 4730 <li>Handle exceptions from __toString in XXH3's initialization (nielsdos)</li> 4731</ul></li> 4732<li>LDAP: 4733<ul> 4734 <li>Fixed bug <?php githubissuel('php/php-src', 10112); ?> (LDAP\Connection::__construct() refers to ldap_create()).</li> 4735</ul></li> 4736<li>MBString: 4737<ul> 4738 <li>Fixed: mb_strlen (and a couple of other mbstring functions) would wrongly treat 0x80, 0xFD, 0xFE, 0xFF, and certain other byte values as the first byte of a 2-byte SJIS character.</li> 4739</ul></li> 4740<li>Opcache: 4741<ul> 4742 <li>Fix inverted bailout value in zend_runtime_jit() (Max Kellermann).</li> 4743 <li>Fix access to uninitialized variable in accel_preload().</li> 4744 <li>Fix zend_jit_find_trace() crashes.</li> 4745 <li>Added missing lock for EXIT_INVALIDATE in zend_jit_trace_exit.</li> 4746</ul></li> 4747<li>Phar: 4748<ul> 4749 <li>Fix wrong flags check for compression method in phar_object.c (nielsdos)</li> 4750</ul></li> 4751<li>PHPDBG: 4752<ul> 4753 <li>Fix undefined behaviour in phpdbg_load_module_or_extension().</li> 4754 <li>Fix NULL pointer dereference in phpdbg_create_conditional_breal().</li> 4755 <li>Fix <?php githubissuel('php/php-src', 9710); ?>: phpdbg memory leaks by option "-h" (nielsdos)</li> 4756 <li>Fix phpdbg segmentation fault in case of malformed input (nielsdos)</li> 4757</ul></li> 4758<li>Posix: 4759<ul> 4760 <li>Fix memory leak in posix_ttyname() (girgias)</li> 4761</ul></li> 4762<li>Standard: 4763<ul> 4764 <li>Fix <?php githubissuel('php/php-src', 10187); ?> (Segfault in stripslashes() with arm64).</li> 4765 <li>Fix substr_replace with slots in repl_ht being UNDEF.</li> 4766</ul></li> 4767<li>TSRM: 4768<ul> 4769 <li>Fixed Windows shmget() wrt. IPC_PRIVATE.</li> 4770</ul></li> 4771<li>XMLWriter: 4772<ul> 4773 <li>Fix missing check for xmlTextWriterEndElement (nielsdos)</li> 4774</ul></li> 4775</ul> 4776<!-- }}} --></section> 4777 4778 4779 4780<section class="version" id="8.1.14"><!-- {{{ 8.1.14 --> 4781<h3>Version 8.1.14</h3> 4782<b><?php release_date('05-Jan-2023'); ?></b> 4783<ul><li>Core: 4784<ul> 4785 <li>Fixed bug <?php githubissuel('php/php-src', 9905); ?> (constant() behaves inconsistent when class is undefined).</li> 4786 <li>Fixed bug <?php githubissuel('php/php-src', 9918); ?> (License information for xxHash is not included in README.REDIST.BINS file).</li> 4787 <li>Fixed bug <?php githubissuel('php/php-src', 9650); ?> (Can't initialize heap: [0x000001e7]).</li> 4788 <li>Fixed potentially undefined behavior in Windows ftok(3) emulation.</li> 4789</ul></li> 4790<li>Date: 4791<ul> 4792 <li>Fixed bug <?php githubissuel('php/php-src', 9699); ?> (DateTimeImmutable::diff differences in 8.1.10 onwards - timezone related).</li> 4793 <li>Fixed bug <?php githubissuel('php/php-src', 9700); ?> (DateTime::createFromFormat: Parsing TZID string is too greedy).</li> 4794 <li>Fixed bug <?php githubissuel('php/php-src', 9866); ?> (Time zone bug with \DateTimeInterface::diff()).</li> 4795 <li>Fixed bug <?php githubissuel('php/php-src', 9880); ?> (DateTime diff returns wrong sign on day count when using a timezone).</li> 4796</ul></li> 4797<li>FPM: 4798<ul> 4799 <li>Fixed bug <?php githubissuel('php/php-src', 9959); ?> (Solaris port event mechanism is still broken after bug #66694).</li> 4800 <li><?php bugfix(68207); ?> (Setting fastcgi.error_header can result in a WARNING).</li> 4801 <li>Fixed bug <?php githubissuel('php/php-src', 8517); ?> (Random crash of FPM master process in fpm_stdio_child_said).</li> 4802</ul></li> 4803<li>MBString: 4804<ul> 4805 <li>Fixed bug <?php githubissuel('php/php-src', 9535); ?> (The behavior of mb_strcut in mbstring has been changed in PHP8.1).</li> 4806</ul></li> 4807<li>Opcache: 4808<ul> 4809 <li>Fixed bug <?php githubissuel('php/php-src', 9968); ?> (Segmentation Fault during OPCache Preload).</li> 4810</ul></li> 4811<li>OpenSSL: 4812<ul> 4813 <li>Fixed bug <?php githubissuel('php/php-src', 9064); ?> (PHP fails to build if openssl was built with --no-ec).</li> 4814 <li>Fixed bug <?php githubissuel('php/php-src', 10000); ?> (OpenSSL test failures when OpenSSL compiled with no-dsa).</li> 4815</ul></li> 4816<li>Pcntl: 4817<ul> 4818 <li>Fixed bug <?php githubissuel('php/php-src', 9298); ?> (Signal handler called after rshutdown leads to crash).</li> 4819</ul></li> 4820<li>PDO_Firebird: 4821<ul> 4822 <li>Fixed bug <?php githubissuel('php/php-src', 9971); ?> (Incorrect NUMERIC value returned from PDO_Firebird).</li> 4823</ul></li> 4824<li>PDO/SQLite: 4825<ul> 4826 <li><?php bugfix(81740); ?> (PDO::quote() may return unquoted string). (CVE-2022-31631)</li> 4827</ul></li> 4828<li>Session: 4829<ul> 4830 <li>Fixed <?php githubissuel('php/php-src', 9932); ?> (session name silently fails with . and [).</li> 4831</ul></li> 4832<li>SPL: 4833<ul> 4834 <li>Fixed <?php githubissuel('php/php-src', 9883); ?> (SplFileObject::__toString() reads next line).</li> 4835 <li>Fixed <?php githubissuel('php/php-src', 10011); ?> (Trampoline autoloader will get reregistered and cannot be unregistered).</li> 4836</ul></li> 4837<li>SQLite3: 4838<ul> 4839 <li><?php bugfix(81742); ?> (open_basedir bypass in SQLite3 by using file URI).</li> 4840</ul></li> 4841</ul> 4842<!-- }}} --></section> 4843 4844 4845 4846<section class="version" id="8.1.13"><!-- {{{ 8.1.13 --> 4847<h3>Version 8.1.13</h3> 4848<b><?php release_date('24-Nov-2022'); ?></b> 4849<ul><li>CLI: 4850<ul> 4851 <li>Fixed bug <?php githubissuel('php/php-src', 9709); ?> (Null pointer dereference with -w/-s options).</li> 4852</ul></li> 4853<li>Core: 4854<ul> 4855 <li>Fixed bug <?php githubissuel('php/php-src', 9752); ?> (Generator crashes when interrupted during argument evaluation with extra named params).</li> 4856 <li>Fixed bug <?php githubissuel('php/php-src', 9801); ?> (Generator crashes when memory limit is exceeded during initialization).</li> 4857 <li>Fixed potential NULL pointer dereference Windows shm*() functions.</li> 4858 <li>Fixed bug <?php githubissuel('php/php-src', 9750); ?> (Generator memory leak when interrupted during argument evaluation.</li> 4859</ul></li> 4860<li>Date: 4861<ul> 4862 <li>Fixed bug <?php githubissuel('php/php-src', 9763); ?> (DateTimeZone ctr mishandles input and adds null byte if the argument is an offset larger than 100*60 minutes).</li> 4863</ul></li> 4864<li>FPM: 4865<ul> 4866 <li>Fixed bug <?php githubissuel('php/php-src', 9754); ?> (SaltStack (using Python subprocess) hangs when running php-fpm 8.1.11).</li> 4867</ul></li> 4868<li>mysqli: 4869<ul> 4870 <li>Fixed bug <?php githubissuel('php/php-src', 9841); ?> (mysqli_query throws warning despite using silenced error mode).</li> 4871</ul></li> 4872<li>MySQLnd: 4873<ul> 4874 <li>Fixed potential heap corruption due to alignment mismatch.</li> 4875</ul></li> 4876<li>OpenSSL: 4877<ul> 4878 <li>Fixed bug <?php githubissuel('php/php-src', 8430); ?> (OpenSSL compiled with no-md2, no-md4 or no-rmd160 does not build).</li> 4879</ul></li> 4880<li>SOAP: 4881<ul> 4882 <li>Fixed <?php githubissuel('php/php-src', 9720); ?> (Null pointer dereference while serializing the response).</li> 4883</ul></li> 4884</ul> 4885<!-- }}} --></section> 4886 4887 4888 4889<section class="version" id="8.1.12"><!-- {{{ 8.1.12 --> 4890<h3>Version 8.1.12</h3> 4891<b><?php release_date('27-Oct-2022'); ?></b> 4892<ul><li>Core: 4893<ul> 4894 <li>Fixes segfault with Fiber on FreeBSD i386 architecture.</li> 4895</ul></li> 4896<li>Fileinfo: 4897<ul> 4898 <li>Fixed bug <?php githubissuel('php/php-src', 8805); ?> (finfo returns wrong mime type for woff/woff2 files).</li> 4899</ul></li> 4900<li>GD: 4901<ul> 4902 <li><?php bugfix(81739); ?>: OOB read due to insufficient input validation in imageloadfont(). (CVE-2022-31630)</li> 4903</ul></li> 4904<li>Hash: 4905<ul> 4906 <li><?php bugfix(81738); ?>: buffer overflow in hash_update() on long parameter. (CVE-2022-37454)</li> 4907</ul></li> 4908<li>MBString: 4909<ul> 4910 <li>Fixed bug <?php githubissuel('php/php-src', 9683); ?> (Problem when ISO-2022-JP-MS is specified in mb_ encode_mimeheader).</li> 4911</ul></li> 4912<li>Opcache: 4913<ul> 4914 <li>Added indirect call reduction for jit on x86 architectures.</li> 4915</ul></li> 4916<li>Session: 4917<ul> 4918 <li>Fixed bug <?php githubissuel('php/php-src', 9583); ?> (session_create_id() fails with user defined save handler that doesn't have a validateId() method).</li> 4919</ul></li> 4920<li>Streams: 4921<ul> 4922 <li>Fixed bug <?php githubissuel('php/php-src', 9590); ?> (stream_select does not abort upon exception or empty valid fd set).</li> 4923</ul></li> 4924</ul> 4925<!-- }}} --></section> 4926 4927 4928 4929<section class="version" id="8.1.11"><!-- {{{ 8.1.11 --> 4930<h3>Version 8.1.11</h3> 4931<b><?php release_date('29-Sep-2022'); ?></b> 4932<ul><li>Core: 4933<ul> 4934 <li><?php bugfix(81726); ?>: phar wrapper: DOS when using quine gzip file. (CVE-2022-31628)</li> 4935 <li><?php bugfix(81727); ?>: Don't mangle HTTP variable names that clash with ones that have a specific semantic meaning. (CVE-2022-31629)</li> 4936 <li>Fixed bug <?php githubissuel('php/php-src', 9323); ?> (Crash in ZEND_RETURN/GC/zend_call_function) (Tim Starling)</li> 4937 <li>Fixed bug <?php githubissuel('php/php-src', 9361); ?> (Segmentation fault on script exit #9379).</li> 4938 <li>Fixed bug <?php githubissuel('php/php-src', 9447); ?> (Invalid class FQN emitted by AST dump for new and class constants in constant expressions).</li> 4939</ul></li> 4940<li>DOM: 4941<ul> 4942 <li><?php bugfix(79451); ?> (DOMDocument->replaceChild on doctype causes double free).</li> 4943</ul></li> 4944<li>FPM: 4945<ul> 4946 <li>Fixed bug <?php githubissuel('php/php-src', 8885); ?> (FPM access.log with stderr begins to write logs to error_log after daemon reload).</li> 4947 <li><?php bugfix(77780); ?> ("Headers already sent..." when previous connection was aborted).</li> 4948</ul></li> 4949<li>GMP: 4950<ul> 4951 <li>Fixed bug <?php githubissuel('php/php-src', 9308); ?> (GMP throws the wrong error when a GMP object is passed to gmp_init()).</li> 4952</ul></li> 4953<li>Intl: 4954<ul> 4955 <li>Fixed bug <?php githubissuel('php/php-src', 9421); ?> (Incorrect argument number for ValueError in NumberFormatter).</li> 4956</ul></li> 4957<li>PCRE: 4958<ul> 4959 <li>Fixed pcre.jit on Apple Silicon.</li> 4960</ul></li> 4961<li>PDO_PGSQL: 4962<ul> 4963 <li>Fixed bug <?php githubissuel('php/php-src', 9411); ?> (PgSQL large object resource is incorrectly closed).</li> 4964</ul></li> 4965<li>Reflection: 4966<ul> 4967 <li>Fixed bug <?php githubissuel('php/php-src', 8932); ?> (ReflectionFunction provides no way to get the called class of a Closure).</li> 4968</ul></li> 4969<li>Streams: 4970<ul> 4971 <li>Fixed bug <?php githubissuel('php/php-src', 9316); ?> ($http_response_header is wrong for long status line).</li> 4972</ul></li> 4973</ul> 4974<!-- }}} --></section> 4975 4976 4977 4978<section class="version" id="8.1.10"><!-- {{{ 8.1.10 --> 4979<h3>Version 8.1.10</h3> 4980<b><?php release_date('01-Sep-2022'); ?></b> 4981<ul><li>Core: 4982<ul> 4983 <li>Fixed --CGI-- support of run-tests.php.</li> 4984 <li>Fixed incorrect double to long casting in latest clang.</li> 4985 <li>Fixed bug <?php githubissuel('php/php-src', 9266); ?> (GC root buffer keeps growing when dtors are present).</li> 4986</ul></li> 4987<li>Date: 4988<ul> 4989 <li>Fixed bug <?php githubissuel('php/php-src', 8730); ?> (DateTime::diff miscalculation is same time zone of different type).</li> 4990 <li>Fixed bug <?php githubissuel('php/php-src', 8964); ?> (DateTime object comparison after applying delta less than 1 second).</li> 4991 <li>Fixed bug <?php githubissuel('php/php-src', 9106); ?>: (DateInterval 1.5s added to DateTimeInterface is rounded down since PHP 8.1.0).</li> 4992 <li><?php bugfix(81263); ?> (Wrong result from DateTimeImmutable::diff).</li> 4993</ul></li> 4994<li>DBA: 4995<ul> 4996 <li>Fixed LMDB driver memory leak on DB creation failure.</li> 4997 <li>Fixed bug <?php githubissuel('php/php-src', 9155); ?> (dba_open("non-existing", "c-", "flatfile") segfaults).</li> 4998</ul></li> 4999<li>IMAP: 5000<ul> 5001 <li>Fixed bug <?php githubissuel('php/php-src', 9309); ?> (Segfault when connection is used after imap_close()).</li> 5002</ul></li> 5003<li>Intl: 5004<ul> 5005 <li>Fixed IntlDateFormatter::formatObject() parameter type.</li> 5006</ul></li> 5007<li>MBString: 5008<ul> 5009 <li>Fixed bug <?php githubissuel('php/php-src', 9008); ?> (mb_detect_encoding(): wrong results with null $encodings).</li> 5010</ul></li> 5011<li>OPcache: 5012<ul> 5013 <li>Fixed bug <?php githubissuel('php/php-src', 9033); ?> (Loading blacklist file can fail due to negative length).</li> 5014 <li>Fixed bug <?php githubissuel('php/php-src', 9164); ?> (Segfault in zend_accel_class_hash_copy).</li> 5015</ul></li> 5016<li>PDO_SQLite: 5017<ul> 5018 <li>Fixed bug <?php githubissuel('php/php-src', 9032); ?> (SQLite3 authorizer crashes on NULL values).</li> 5019</ul></li> 5020<li>SQLite3: 5021<ul> 5022 <li>Fixed bug <?php githubissuel('php/php-src', 9032); ?> (SQLite3 authorizer crashes on NULL values).</li> 5023</ul></li> 5024<li>Streams: 5025<ul> 5026 <li>Fixed bug <?php githubissuel('php/php-src', 8472); ?> (The resource returned by stream_socket_accept may have incorrect metadata).</li> 5027 <li>Fixed bug <?php githubissuel('php/php-src', 8409); ?> (SSL handshake timeout leaves persistent connections hanging).</li> 5028</ul></li> 5029</ul> 5030<!-- }}} --></section> 5031 5032 5033 5034<section class="version" id="8.1.9"><!-- {{{ 8.1.9 --> 5035<h3>Version 8.1.9</h3> 5036<b><?php release_date('04-Aug-2022'); ?></b> 5037<ul><li>CLI: 5038<ul> 5039 <li>Fixed potential overflow for the builtin server via the PHP_CLI_SERVER_WORKERS environment variable.</li> 5040 <li>Fixed <?php githubissuel('php/php-src', 8952); ?> (Intentionally closing std handles no longer possible).</li> 5041</ul></li> 5042<li>Core: 5043<ul> 5044 <li>Fixed bug <?php githubissuel('php/php-src', 8923); ?> (error_log on Windows can hold the file write lock).</li> 5045 <li>Fixed bug <?php githubissuel('php/php-src', 8995); ?> (WeakMap object reference offset causing TypeError).</li> 5046</ul></li> 5047<li>Date: 5048<ul> 5049 <li><?php bugfix(80047); ?> (DatePeriod doesn't warn with custom DateTimeImmutable).</li> 5050</ul></li> 5051<li>FPM: 5052<ul> 5053 <li>Fixed zlog message prepend, free on incorrect address.</li> 5054 <li>Fixed possible double free on configuration loading failure. (Heiko Weber).</li> 5055</ul></li> 5056<li>GD: 5057<ul> 5058 <li>Fixed bug <?php githubissuel('php/php-src', 8848); ?> (imagecopyresized() error refers to the wrong argument).</li> 5059</ul></li> 5060<li>Intl: 5061<ul> 5062 <li>Fixed build for ICU 69.x and onwards.</li> 5063</ul></li> 5064<li>OPcache: 5065<ul> 5066 <li>Fixed bug <?php githubissuel('php/php-src', 8847); ?> (PHP hanging infinitly at 100% cpu when check php syntax of a valid file).</li> 5067 <li>Fixed bug <?php githubissuel('php/php-src', 8030); ?> (Segfault with JIT and large match/switch statements).</li> 5068</ul></li> 5069<li>Reflection: 5070<ul> 5071 <li>Fixed bug <?php githubissuel('php/php-src', 8943); ?> (Fixed Reflection::getModifierNames() with readonly modifier).</li> 5072</ul></li> 5073<li>Standard: 5074<ul> 5075 <li>Fixed the crypt_sha256/512 api build with clang > 12.</li> 5076 <li>Uses CCRandomGenerateBytes instead of arc4random_buf on macOs. (David Carlier).</li> 5077 <li>Fixed bug <?php githubissuel('php/php-src', 9017); ?> (php_stream_sock_open_from_socket could return NULL).</li> 5078</ul></li> 5079</ul> 5080<!-- }}} --></section> 5081 5082 5083 5084<section class="version" id="8.1.8"><!-- {{{ 8.1.8 --> 5085<h3>Version 8.1.8</h3> 5086<b><?php release_date('07-Jul-2022'); ?></b> 5087<ul><li>Core: 5088<ul> 5089 <li>Fixed bug <?php githubissuel('php/php-src',8338); ?> (Intel CET is disabled unintentionally).</li> 5090 <li>Fixed leak in Enum::from/tryFrom for internal enums when using JIT</li> 5091 <li>Fixed calling internal methods with a static return type from extension code.</li> 5092 <li>Fixed bug <?php githubissuel('php/php-src',8655); ?> (Casting an object to array does not unwrap refcount=1 references).</li> 5093 <li>Fixed potential use after free in php_binary_init().</li> 5094</ul></li> 5095<li>CLI: 5096<ul> 5097 <li>Fixed <?php githubissuel('php/php-src',8827); ?> (Intentionally closing std handles no longer possible).</li> 5098</ul></li> 5099<li>COM: 5100<ul> 5101 <li>Fixed bug <?php githubissuel('php/php-src',8778); ?> (Integer arithmethic with large number variants fails).</li> 5102</ul></li> 5103<li>Curl: 5104<ul> 5105 <li>Fixed CURLOPT_TLSAUTH_TYPE is not treated as a string option.</li> 5106</ul></li> 5107<li>Date: 5108<ul> 5109 <li><?php bugfix(72963); ?> (Null-byte injection in CreateFromFormat and related functions).</li> 5110 <li><?php bugfix(74671); ?> (DST timezone abbreviation has incorrect offset).</li> 5111 <li><?php bugfix(77243); ?> (Weekdays are calculated incorrectly for negative years).</li> 5112 <li><?php bugfix(78139); ?> (timezone_open accepts invalid timezone string argument).</li> 5113</ul></li> 5114<li>Fileinfo: 5115<ul> 5116 <li><?php bugfix(81723); ?> (Heap buffer overflow in finfo_buffer). (CVE-2022-31627)</li> 5117</ul></li> 5118<li>FPM: 5119<ul> 5120 <li><?php bugfix(67764); ?> (fpm: syslog.ident don't work).</li> 5121</ul></li> 5122<li>GD: 5123<ul> 5124 <li>Fixed imagecreatefromavif() memory leak.</li> 5125</ul></li> 5126<li>MBString: 5127<ul> 5128 <li>mb_detect_encoding recognizes all letters in Czech alphabet</li> 5129 <li>mb_detect_encoding recognizes all letters in Hungarian alphabet</li> 5130 <li>Fixed bug <?php githubissuel('php/php-src',8685); ?> (pcre not ready at mbstring startup).</li> 5131 <li>Backwards-compatible mappings for 0x5C/0x7E in Shift-JIS are restored, after they had been changed in 8.1.0.</li> 5132</ul></li> 5133<li>ODBC: 5134<ul> 5135 <li>Fixed handling of single-key connection strings.</li> 5136</ul></li> 5137<li>OPcache: 5138<ul> 5139 <li>Fixed bug <?php githubissuel('php/php-src',8591); ?> (tracing JIT crash after private instance method change).</li> 5140</ul></li> 5141<li>OpenSSL: 5142<ul> 5143 <li><?php bugfix(50293); ?> (Several openssl functions ignore the VCWD).</li> 5144 <li><?php bugfix(81713); ?> (NULL byte injection in several OpenSSL functions working with certificates).</li> 5145</ul></li> 5146<li>PDO_ODBC: 5147<ul> 5148 <li>Fixed handling of single-key connection strings.</li> 5149</ul></li> 5150<li>Zip: 5151<ul> 5152 <li>Fixed bug <?php githubissuel('php/php-src',8781); ?> (ZipArchive::close deletes zip file without updating stat cache).</li> 5153</ul></li> 5154</ul> 5155<!-- }}} --></section> 5156 5157 5158 5159<section class="version" id="8.1.7"><!-- {{{ 8.1.7 --> 5160<h3>Version 8.1.7</h3> 5161<b><?php release_date('09-Jun-2022'); ?></b> 5162<ul><li>CLI: 5163<ul> 5164 <li>Fixed bug <?php githubissuel('php/php-src',8575); ?> (CLI closes standard streams too early).</li> 5165</ul></li> 5166<li>Date: 5167<ul> 5168 <li><?php bugfix(51934); ?> (strtotime plurals / incorrect time).</li> 5169 <li><?php bugfix(51987); ?> (Datetime fails to parse an ISO 8601 ordinal date (extended format)).</li> 5170 <li><?php bugfix(66019); ?> (DateTime object does not support short ISO 8601 time format - YYYY-MM-DDTHH)</li> 5171 <li><?php bugfix(68549); ?> (Timezones and offsets are not properly used when working with dates)</li> 5172 <li><?php bugfix(81565); ?> (date parsing fails when provided with timezones including seconds).</li> 5173 <li>Fixed bug <?php githubissuel('php/php-src',7758); ?> (Problems with negative timestamps and fractions).</li> 5174</ul></li> 5175<li>FPM: 5176<ul> 5177 <li>Fixed ACL build check on MacOS.</li> 5178 <li><?php bugfix(72185); ?>: php-fpm writes empty fcgi record causing nginx 502.</li> 5179</ul></li> 5180<li>mysqlnd: 5181<ul> 5182 <li><?php bugfix(81719); ?>: mysqlnd/pdo password buffer overflow. (CVE-2022-31626)</li> 5183</ul></li> 5184<li>OPcache: 5185<ul> 5186 <li>Fixed bug <?php githubissuel('php/php-src',8461); ?> (tracing JIT crash after function/method change).</li> 5187</ul></li> 5188<li>OpenSSL: 5189<ul> 5190 <li><?php bugfix(79589); ?> (error:14095126:SSL routines:ssl3_read_n:unexpected eof while reading).</li> 5191</ul></li> 5192<li>Pcntl: 5193<ul> 5194 <li>Fixed Haiku build.</li> 5195</ul></li> 5196<li>pgsql: 5197<ul> 5198 <li><?php bugfix(81720); ?>: Uninitialized array in pg_query_params(). (CVE-2022-31625)</li> 5199</ul></li> 5200<li>Soap: 5201<ul> 5202 <li>Fixed bug <?php githubissuel('php/php-src',8578); ?> (Error on wrong parameter on SoapHeader constructor).</li> 5203 <li>Fixed bug <?php githubissuel('php/php-src',8538); ?> (SoapClient may strip parts of nmtokens).</li> 5204</ul></li> 5205<li>SPL: 5206<ul> 5207 <li>Fixed bug <?php githubissuel('php/php-src',8235); ?> (iterator_count() may run indefinitely).</li> 5208</ul></li> 5209<li>Standard: 5210<ul> 5211 <li>Fixed bug <?php githubissuel('php/php-src',8185); ?> (Crash during unloading of extension after dl() in ZTS).</li> 5212</ul></li> 5213<li>Zip: 5214<ul> 5215 <li>Fixed type for index in ZipArchive::replaceFile.</li> 5216</ul></li> 5217</ul> 5218<!-- }}} --></section> 5219 5220 5221 5222<section class="version" id="8.1.6"><!-- {{{ 8.1.6 --> 5223<h3>Version 8.1.6</h3> 5224<b><?php release_date('12-May-2022'); ?></b> 5225<ul><li>Core: 5226<ul> 5227 <li>Fixed bug <?php githubissuel('php/php-src',8310); ?> (Registry settings are no longer recognized).</li> 5228 <li>Fixed potential race condition during resource ID allocation.</li> 5229 <li>Fixed bug <?php githubissuel('php/php-src',8133); ?> (Preloading of constants containing arrays with enums segfaults).</li> 5230 <li>Fixed Haiku ZTS builds.</li> 5231</ul></li> 5232<li>Date: 5233<ul> 5234 <li>Fixed bug <?php githubissuel('php/php-src',7752); ?> (DateTimeZone::getTransitions() returns insufficient data).</li> 5235 <li>Fixed bug <?php githubissuel('php/php-src',8108); ?> (Timezone doesn't work as intended).</li> 5236 <li><?php bugfix(81660); ?> (DateTimeZone::getTransitions() returns invalid data).</li> 5237 <li>Fixed bug <?php githubissuel('php/php-src',8289); ?> (Exceptions thrown within a yielded from iterator are not rethrown into the generator).</li> 5238</ul></li> 5239<li>FFI: 5240<ul> 5241 <li>Fixed bug <?php githubissuel('php/php-src',8433); ?> (Assigning function pointers to structs in FFI leaks).</li> 5242</ul></li> 5243<li>FPM: 5244<ul> 5245 <li><?php bugfix(76003); ?> (FPM /status reports wrong number of active processe).</li> 5246 <li><?php bugfix(77023); ?> (FPM cannot shutdown processes).</li> 5247 <li>Fixed comment in kqueue remove callback log message.</li> 5248</ul></li> 5249<li>Hash: 5250<ul> 5251 <li><?php bugfix(81714); ?> (segfault when serializing finalized HashContext).</li> 5252</ul></li> 5253<li>Iconv: 5254<ul> 5255 <li>Fixed bug <?php githubissuel('php/php-src',8218); ?> (ob_end_clean does not reset Content-Encoding header).</li> 5256</ul></li> 5257<li>Intl: 5258<ul> 5259 <li>Fixed bug <?php githubissuel('php/php-src',8364); ?> (msgfmt_format $values may not support references).</li> 5260</ul></li> 5261<li>MBString: 5262<ul> 5263 <li>Number of error markers emitted for invalid UTF-8 text matches WHATWG specification. This is a return to the behavior of PHP 8.0 and earlier.</li> 5264</ul></li> 5265<li>MySQLi: 5266<ul> 5267 <li>Fixed bug <?php githubissuel('php/php-src',8267); ?> (MySQLi uses unsupported format specifier on Windows).</li> 5268</ul></li> 5269<li>SPL: 5270<ul> 5271 <li>Fixed bug <?php githubissuel('php/php-src',8366); ?> (ArrayIterator may leak when calling __construct()).</li> 5272 <li>Fixed bug <?php githubissuel('php/php-src',8273); ?> (SplFileObject: key() returns wrong value).</li> 5273</ul></li> 5274<li>Streams: 5275<ul> 5276 <li>Fixed php://temp does not preserve file-position when switched to temporary file.</li> 5277</ul></li> 5278<li>zlib: 5279<ul> 5280 <li>Fixed bug <?php githubissuel('php/php-src',8218); ?> (ob_end_clean does not reset Content-Encoding header).</li> 5281</ul></li> 5282</ul> 5283<!-- }}} --></section> 5284 5285 5286 5287<section class="version" id="8.1.5"><!-- {{{ 8.1.5 --> 5288<h3>Version 8.1.5</h3> 5289<b><?php release_date('14-Apr-2022'); ?></b> 5290<ul><li>Core: 5291<ul> 5292 <li>Fixed bug <?php githubissuel('php/php-src',8176); ?> (Enum values in property initializers leak).</li> 5293 <li>Fixed freeing of internal attribute arguments.</li> 5294 <li>Fixed bug <?php githubissuel('php/php-src',8070); ?> (memory leak of internal function attribute hash).</li> 5295 <li>Fixed bug <?php githubissuel('php/php-src',8160); ?> (ZTS support on Alpine is broken).</li> 5296</ul></li> 5297<li>Filter: 5298<ul> 5299 <li>Fixed signedness confusion in php_filter_validate_domain().</li> 5300</ul></li> 5301<li>Intl: 5302<ul> 5303 <li>Fixed bug <?php githubissuel('php/php-src',8115); ?> (Can't catch arg type deprecation when instantiating Intl classes).</li> 5304 <li>Fixed bug <?php githubissuel('php/php-src',8142); ?> (Compilation error on cygwin).</li> 5305 <li>Fixed bug <?php githubissuel('php/php-src',7734); ?> (Fix IntlPartsIterator key off-by-one error and first key).</li> 5306</ul></li> 5307<li>MBString: 5308<ul> 5309 <li>Fixed bug <?php githubissuel('php/php-src',8208); ?> (mb_encode_mimeheader: $indent functionality broken).</li> 5310</ul></li> 5311<li>MySQLi: 5312<ul> 5313 <li>Fixed bug <?php githubissuel('php/php-src',8068); ?> (mysqli_fetch_object creates inaccessible properties).</li> 5314</ul></li> 5315<li>Pcntl: 5316<ul> 5317 <li>Fixed bug <?php githubissuel('php/php-src',8142); ?> (Compilation error on cygwin).</li> 5318</ul></li> 5319<li>PgSQL: 5320<ul> 5321 <li>Fixed result_type related stack corruption on LLP64 architectures.</li> 5322 <li>Fixed bug <?php githubissuel('php/php-src',8253); ?> (pg_insert() fails for references).</li> 5323</ul></li> 5324<li>Sockets: 5325<ul> 5326 <li>Fixed Solaris builds.</li> 5327</ul></li> 5328<li>SPL: 5329<ul> 5330 <li>Fixed bug <?php githubissuel('php/php-src',8121); ?> (SplFileObject - seek and key with csv file inconsistent).</li> 5331 <li>Fixed bug <?php githubissuel('php/php-src',8192); ?> (Cannot override DirectoryIterator::current() without return typehint in 8.1).</li> 5332</ul></li> 5333<li>Standard: 5334<ul> 5335 <li>Fixed bug <?php githubissuel('php/php-src',8048); ?> (Force macOS to use statfs).</li> 5336</ul></li> 5337</ul> 5338<!-- }}} --></section> 5339 5340 5341 5342<section class="version" id="8.1.4"><!-- {{{ 8.1.4 --> 5343<h3>Version 8.1.4</h3> 5344<b><?php release_date('17-Mar-2022'); ?></b> 5345<ul><li>Core: 5346<ul> 5347 <li>Fixed Haiku ZTS build.</li> 5348 <li>Fixed bug <?php githubissuel('php/php-src',8059); ?> arginfo not regenerated for extension.</li> 5349 <li>Fixed bug <?php githubissuel('php/php-src',8083); ?> Segfault when dumping uncalled fake closure with static variables.</li> 5350 <li>Fixed bug <?php githubissuel('php/php-src',7958); ?> (Nested CallbackFilterIterator is leaking memory).</li> 5351 <li>Fixed bug <?php githubissuel('php/php-src',8074); ?> (Wrong type inference of range() result).</li> 5352 <li>Fixed bug <?php githubissuel('php/php-src',8140); ?> (Wrong first class callable by name optimization).</li> 5353 <li>Fixed bug <?php githubissuel('php/php-src',8082); ?> (op_arrays with temporary run_time_cache leak memory when observed).</li> 5354</ul></li> 5355<li>GD: 5356<ul> 5357 <li>Fixed libpng warning when loading interlaced images.</li> 5358</ul></li> 5359<li>FPM: 5360<ul> 5361 <li><?php bugfix(76109); ?> (Unsafe access to fpm scoreboard).</li> 5362</ul></li> 5363<li>Iconv: 5364<ul> 5365 <li>Fixed bug <?php githubissuel('php/php-src',7953); ?> (ob_clean() only does not set Content-Encoding).</li> 5366 <li>Fixed bug <?php githubissuel('php/php-src',7980); ?> (Unexpected result for iconv_mime_decode).</li> 5367</ul></li> 5368<li>MBString: 5369<ul> 5370 <li>Fixed bug <?php githubissuel('php/php-src',8128); ?> (mb_check_encoding wrong result for 7bit).</li> 5371</ul></li> 5372<li>MySQLnd: 5373<ul> 5374 <li>Fixed bug <?php githubissuel('php/php-src',8058); ?> (NULL pointer dereference in mysqlnd package).</li> 5375</ul></li> 5376<li>Reflection: 5377<ul> 5378 <li>Fixed bug <?php githubissuel('php/php-src',8080); ?> (ReflectionClass::getConstants() depends on def. order).</li> 5379</ul></li> 5380<li>Zlib: 5381<ul> 5382 <li>Fixed bug <?php githubissuel('php/php-src',7953); ?> (ob_clean() only does not set Content-Encoding).</li> 5383</ul></li> 5384</ul> 5385<!-- }}} --></section> 5386 5387 5388 5389<section class="version" id="8.1.3"><!-- {{{ 8.1.3 --> 5390<h3>Version 8.1.3</h3> 5391<b><?php release_date('17-Feb-2022'); ?></b> 5392<ul><li>Core: 5393<ul> 5394 <li><?php bugfix(81430); ?> (Attribute instantiation leaves dangling pointer).</li> 5395 <li>Fixed bug <?php githubissuel('php/php-src',7896); ?> (Environment vars may be mangled on Windows).</li> 5396 <li>Fixed bug <?php githubissuel('php/php-src',7883); ?> (Segfault when INI file is not readable).</li> 5397</ul></li> 5398<li>FFI: 5399<ul> 5400 <li>Fixed bug <?php githubissuel('php/php-src',7867); ?> (FFI::cast() from pointer to array is broken).</li> 5401</ul></li> 5402<li>Filter: 5403<ul> 5404 <li>Fix #81708: UAF due to php_filter_float() failing for ints. (CVE-2021-21708)</li> 5405</ul></li> 5406<li>FPM: 5407<ul> 5408 <li>Fixed memory leak on invalid port.</li> 5409 <li>Fixed bug <?php githubissuel('php/php-src',7842); ?> (Invalid OpenMetrics response format returned by FPM status page.</li> 5410</ul></li> 5411<li>MBString: 5412<ul> 5413 <li>Fixed bug <?php githubissuel('php/php-src',7902); ?> (mb_send_mail may delimit headers with LF only).</li> 5414</ul></li> 5415<li>MySQLnd: 5416<ul> 5417 <li>Fixed bug <?php githubissuel('php/php-src',7972); ?> (MariaDB version prefix 5.5.5- is not stripped).</li> 5418</ul></li> 5419<li>pcntl: 5420<ul> 5421 <li>Fixed pcntl_rfork build for DragonFlyBSD.</li> 5422</ul></li> 5423<li>Sockets: 5424<ul> 5425 <li>Fixed bug <?php githubissuel('php/php-src',7978); ?> (sockets extension compilation errors).</li> 5426</ul></li> 5427<li>Standard: 5428<ul> 5429 <li>Fixed bug <?php githubissuel('php/php-src',7899); ?> (Regression in unpack for negative int value).</li> 5430 <li>Fixed bug <?php githubissuel('php/php-src',7875); ?> (mails are sent even if failure to log throws exception).</li> 5431</ul></li> 5432</ul> 5433<!-- }}} --></section> 5434 5435 5436 5437<section class="version" id="8.1.2"><!-- {{{ 8.1.2 --> 5438<h3>Version 8.1.2</h3> 5439<b><?php release_date('20-Jan-2022'); ?></b> 5440<ul><li>Core: 5441<ul> 5442 <li><?php bugfix(81216); ?> (Nullsafe operator leaks dynamic property name).</li> 5443 <li><?php bugfix(81684); ?> (Using null coalesce assignment with $GLOBALS["x"] produces opcode error).</li> 5444 <li><?php bugfix(81656); ?> (GCC-11 silently ignores -R).</li> 5445 <li><?php bugfix(81683); ?> (Misleading "access type ... must be public" error message on final or abstract interface methods).</li> 5446 <li><?php bugfix(81585); ?> (cached_chunks are not counted to real_size on shutdown).</li> 5447 <li>Fixed bug <?php githubissuel('php/php-src',7757); ?> (Multi-inherited final constant causes fatal error).</li> 5448 <li>Fixed zend_fibers.c build with ZEND_FIBER_UCONTEXT.</li> 5449 <li>Added riscv64 support for fibers.</li> 5450</ul></li> 5451<li>Filter: 5452<ul> 5453 <li>Fixed FILTER_FLAG_NO_RES_RANGE flag.</li> 5454</ul></li> 5455<li>Hash: 5456<ul> 5457 <li>Fixed bug <?php githubissuel('php/php-src',7759); ?> (Incorrect return types for hash() and hash_hmac()).</li> 5458 <li>Fixed bug <?php githubissuel('php/php-src',7826); ?> (Inconsistent argument name in hash_hmac_file and hash_file).</li> 5459</ul></li> 5460<li>MBString: 5461<ul> 5462 <li><?php bugfix(81693); ?> (mb_check_encoding(7bit) segfaults).</li> 5463</ul></li> 5464<li>MySQLi: 5465<ul> 5466 <li><?php bugfix(81658); ?> (MYSQL_OPT_LOAD_DATA_LOCAL_DIR not available in MariaDB).</li> 5467 <li>Introduced MYSQLI_IS_MARIADB.</li> 5468 <li>Fixed bug <?php githubissuel('php/php-src',7746); ?> (mysqli_sql_exception->getSqlState()).</li> 5469</ul></li> 5470<li>MySQLnd: 5471<ul> 5472 <li>Fixed bug where large bigints may be truncated.</li> 5473</ul></li> 5474<li>OCI8: 5475<ul> 5476 <li>Fixed bug <?php githubissuel('php/php-src',7765); ?> (php_oci_cleanup_global_handles segfaults at second call).</li> 5477</ul></li> 5478<li>OPcache: 5479<ul> 5480 <li><?php bugfix(81679); ?> (Tracing JIT crashes on reattaching).</li> 5481</ul></li> 5482<li>Readline: 5483<ul> 5484 <li><?php bugfix(81598); ?> (Cannot input unicode characters in PHP 8 interactive shell).</li> 5485</ul></li> 5486<li>Reflection: 5487<ul> 5488 <li><?php bugfix(81681); ?> (ReflectionEnum throwing exceptions).</li> 5489</ul></li> 5490<li>PDO_PGSQL: 5491<ul> 5492 <li>Fixed error message allocation of PDO PgSQL.</li> 5493</ul></li> 5494<li>Sockets: 5495<ul> 5496 <li>Avoid void* arithmetic in sockets/multicast.c on NetBSD.</li> 5497 <li>Fixed ext/sockets build on Haiku.</li> 5498</ul></li> 5499<li>Spl: 5500<ul> 5501 <li><?php bugfix(75917); ?> (SplFileObject::seek broken with CSV flags).</li> 5502 <li>Fixed bug <?php githubissuel('php/php-src',7809); ?> (Cloning a faked SplFileInfo object may segfault).</li> 5503</ul></li> 5504<li>Standard: 5505<ul> 5506 <li>Fixed bug <?php githubissuel('php/php-src',7748); ?> (gethostbyaddr outputs binary string).</li> 5507 <li>Fixed bug <?php githubissuel('php/php-src',7815); ?> (php_uname doesn't recognise latest Windows versions).</li> 5508</ul></li> 5509</ul> 5510<!-- }}} --></section> 5511 5512 5513 5514<section class="version" id="8.1.1"><!-- {{{ 8.1.1 --> 5515<h3>Version 8.1.1</h3> 5516<b><?php release_date('02-Dec-2021'); ?></b> 5517<ul><li>IMAP: 5518<ul> 5519 <li><?php bugfix(81649); ?> (imap_(un)delete accept sequences, not single numbers).</li> 5520</ul></li> 5521<li>PCRE: 5522<ul> 5523 <li>Update bundled PCRE2 to 10.39.</li> 5524 <li><?php bugfix(74604); ?> (Out of bounds in php_pcre_replace_impl).</li> 5525</ul></li> 5526<li>Standard: 5527<ul> 5528 <li><?php bugfix(81659); ?> (stream_get_contents() may unnecessarily overallocate).</li> 5529</ul></li> 5530</ul> 5531<!-- }}} --></section> 5532 5533 5534 5535<section class="version" id="8.1.0"><!-- {{{ 8.1.0 --> 5536<h3>Version 8.1.0</h3> 5537<b><?php release_date('25-Nov-2021'); ?></b> 5538<ul><li>Core: 5539<ul> 5540 <li>Fixed inclusion order for phpize builds on Windows.</li> 5541 <li>Added missing hashtable insertion APIs for arr/obj/ref.</li> 5542 <li><?php implemented(77372); ?> (Relative file path is removed from uploaded file).</li> 5543 <li><?php bugfix(81607); ?> (CE_CACHE allocation with concurrent access).</li> 5544 <li><?php bugfix(81507); ?> (Fiber does not compile on AIX).</li> 5545 <li><?php bugfix(78647); ?> (SEGFAULT in zend_do_perform_implementation_check).</li> 5546 <li><?php bugfix(81518); ?> (Header injection via default_mimetype / default_charset).</li> 5547 <li><?php bugfix(75941); ?> (Fix compile failure on Solaris with clang).</li> 5548 <li><?php bugfix(81380); ?> (Observer may not be initialized properly).</li> 5549 <li><?php bugfix(81514); ?> (Using Enum as key in WeakMap triggers GC + SegFault).</li> 5550 <li><?php bugfix(81520); ?> (TEST_PHP_CGI_EXECUTABLE badly set in run-tests.php).</li> 5551 <li><?php bugfix(81377); ?> (unset() of $GLOBALS sub-key yields warning).</li> 5552 <li><?php bugfix(81342); ?> (New ampersand token parsing depends on new line after it).</li> 5553 <li><?php bugfix(81280); ?> (Unicode characters in cli.prompt causes segfault).</li> 5554 <li><?php bugfix(81192); ?> ("Declaration should be compatible with" gives incorrect line number with traits).</li> 5555 <li><?php bugfix(78919); ?> (CLI server: insufficient cleanup if request startup fails).</li> 5556 <li><?php bugfix(81303); ?> (match error message improvements).</li> 5557 <li><?php bugfix(81238); ?> (Fiber support missing for Solaris Sparc).</li> 5558 <li><?php bugfix(81237); ?> (Comparison of fake closures doesn't work).</li> 5559 <li><?php bugfix(81202); ?> (powerpc64 build fails on fibers).</li> 5560 <li><?php bugfix(80072); ?> (Cyclic unserialize in TMPVAR operand may leak).</li> 5561 <li><?php bugfix(81163); ?> (__sleep allowed to return non-array).</li> 5562 <li><?php bugfix(75474); ?> (function scope static variables are not bound to a unique function).</li> 5563 <li><?php bugfix(53826); ?> (__callStatic fired in base class through a parent call if the method is private).</li> 5564 <li><?php bugfix(81076); ?> (incorrect debug info on Closures with implicit binds).</li> 5565</ul></li> 5566<li>CLI: 5567<ul> 5568 <li><?php bugfix(81496); ?> (Server logs incorrect request method).</li> 5569</ul></li> 5570<li>COM: 5571<ul> 5572 <li>Dispatch using LANG_NEUTRAL instead of LOCALE_SYSTEM_DEFAULT.</li> 5573</ul></li> 5574<li>Curl: 5575<ul> 5576 <li><?php bugfix(81085); ?> (Support CURLOPT_SSLCERT_BLOB for cert strings).</li> 5577</ul></li> 5578<li>Date: 5579<ul> 5580 <li><?php bugfix(81458); ?> (Regression Incorrect difference after timezone change).</li> 5581 <li><?php bugfix(81500); ?> (Interval serialization regression since 7.3.14 / 7.4.2).</li> 5582 <li><?php bugfix(81504); ?> (Incorrect timezone transition details for POSIX data).</li> 5583 <li><?php bugfix(80998); ?> (Missing second with inverted interval).</li> 5584 <li>Speed up finding timezone offset information.</li> 5585 <li><?php bugfix(79580); ?> (date_create_from_format misses leap year).</li> 5586 <li><?php bugfix(80963); ?> (DateTimeZone::getTransitions() truncated).</li> 5587 <li><?php bugfix(80974); ?> (Wrong diff between 2 dates in different timezones).</li> 5588 <li><?php bugfix(80998); ?> (Missing second with inverted interval).</li> 5589 <li><?php bugfix(81097); ?> (DateTimeZone silently falls back to UTC when providing an offset with seconds).</li> 5590 <li><?php bugfix(81106); ?> (Regression in 8.1: add() now truncate ->f).</li> 5591 <li><?php bugfix(81273); ?> (Date interval calculation not correct).</li> 5592 <li><?php bugfix(52480); ?> (Incorrect difference using DateInterval).</li> 5593 <li><?php bugfix(62326); ?> (date_diff() function returns false result).</li> 5594 <li><?php bugfix(64992); ?> (dst not handled past 2038).</li> 5595 <li><?php bugfix(65003); ?> (Wrong date diff).</li> 5596 <li><?php bugfix(66545); ?> (DateTime. diff returns negative values).</li> 5597 <li><?php bugfix(68503); ?> (date_diff on two dates with timezone set localised returns wrong results).</li> 5598 <li><?php bugfix(69806); ?> (Incorrect date from timestamp).</li> 5599 <li><?php bugfix(71700); ?> (Extra day on diff between begin and end of march 2016).</li> 5600 <li><?php bugfix(71826); ?> (DateTime::diff confuse on timezone 'Asia/Tokyo').</li> 5601 <li><?php bugfix(73460); ?> (Datetime add not realising it already applied DST change).</li> 5602 <li><?php bugfix(74173); ?> (DateTimeImmutable::getTimestamp() triggers DST switch in incorrect time).</li> 5603 <li><?php bugfix(74274); ?> (Handling DST transitions correctly).</li> 5604 <li><?php bugfix(74524); ?> (Date diff is bad calculated, in same time zone).</li> 5605 <li><?php bugfix(75167); ?> (DateTime::add does only care about backward DST transition, not forward).</li> 5606 <li><?php bugfix(76032); ?> (DateTime->diff having issues with leap days for timezones ahead of UTC).</li> 5607 <li><?php bugfix(76374); ?> (Date difference varies according day time).</li> 5608 <li><?php bugfix(77571); ?> (DateTime's diff DateInterval incorrect in timezones from UTC+01:00 to UTC+12:00).</li> 5609 <li><?php bugfix(78452); ?> (diff makes wrong in hour for Asia/Tehran).</li> 5610 <li><?php bugfix(79452); ?> (DateTime::diff() generates months differently between time zones).</li> 5611 <li><?php bugfix(79698); ?> (timelib mishandles future timestamps (triggered by 'zic -b slim')).</li> 5612 <li><?php bugfix(79716); ?> (Invalid date time created (with day "00")).</li> 5613 <li><?php bugfix(80610); ?> (DateTime calculate wrong with DateInterval).</li> 5614 <li><?php bugfix(80664); ?> (DateTime objects behave incorrectly around DST transition).</li> 5615 <li><?php bugfix(80913); ?> (DateTime(Immutable)::sub around DST yield incorrect time).</li> 5616</ul></li> 5617<li>DBA: 5618<ul> 5619 <li><?php bugfix(81588); ?> (TokyoCabinet driver leaks memory).</li> 5620</ul></li> 5621<li>DOM: 5622<ul> 5623 <li><?php bugfix(81433); ?> (DOMElement::setIdAttribute() called twice may remove ID).</li> 5624</ul></li> 5625<li>FFI: 5626<ul> 5627 <li><?php bugfix(79576); ?> ("TYPE *" shows unhelpful message when type is not defined).</li> 5628</ul></li> 5629<li>Filter: 5630<ul> 5631 <li><?php bugfix(61700); ?> (FILTER_FLAG_IPV6/FILTER_FLAG_NO_PRIV|RES_RANGE failing).</li> 5632</ul></li> 5633<li>FPM: 5634<ul> 5635 <li><?php bugfix(81513); ?> (Future possibility for heap overflow in FPM zlog).</li> 5636 <li><?php bugfix(81026); ?> (PHP-FPM oob R/W in root process leading to privilege escalation) (CVE-2021-21703).</li> 5637 <li>Added openmetrics status format.</li> 5638 <li>Enable process renaming on macOS.</li> 5639 <li>Added pm.max_spawn_rate option to configure max spawn child processes rate.</li> 5640 <li><?php bugfix(65800); ?> (Events port mechanism).</li> 5641</ul></li> 5642<li>FTP: 5643<ul> 5644 <li>Convert resource<ftp> to object \FTP\Connection.</li> 5645</ul></li> 5646<li>GD: 5647<ul> 5648 <li><?php bugfix(71316); ?> (libpng warning from imagecreatefromstring).</li> 5649 <li>Convert resource<gd font> to object \GdFont.</li> 5650 <li>Added support for Avif images</li> 5651</ul></li> 5652<li>hash: 5653<ul> 5654 <li><?php implemented(68109); ?> (Add MurmurHash V3).</li> 5655 <li><?php implemented(73385); ?> (Add xxHash support).</li> 5656</ul></li> 5657<li>JSON: 5658<ul> 5659 <li><?php bugfix(81532); ?> (Change of $depth behaviour in json_encode() on PHP 8.1).</li> 5660</ul></li> 5661<li>LDAP: 5662<ul> 5663 <li>Convert resource<ldap link> to object \LDAP\Connection.</li> 5664 <li>Convert resource<ldap result> to object \LDAP\Result.</li> 5665 <li>Convert resource<ldap result entry> to object \LDAP\ResultEntry.</li> 5666</ul></li> 5667<li>MBString: 5668<ul> 5669 <li><?php bugfix(76167); ?> (mbstring may use pointer from some previous request).</li> 5670 <li><?php bugfix(81390); ?> (mb_detect_encoding() regression).</li> 5671 <li><?php bugfix(81349); ?> (mb_detect_encoding misdetcts ASCII in some cases).</li> 5672 <li><?php bugfix(81298); ?> (mb_detect_encoding() segfaults when 7bit encoding is specified).</li> 5673</ul></li> 5674<li>MySQLi: 5675<ul> 5676 <li><?php bugfix(70372); ?> (Emulate mysqli_fetch_all() for libmysqlclient).</li> 5677 <li><?php bugfix(80330); ?> (Replace language in APIs and source code/docs).</li> 5678 <li><?php bugfix(80329); ?> (Add option to specify LOAD DATA LOCAL white list folder (including libmysql)).</li> 5679</ul></li> 5680<li>MySQLnd: 5681<ul> 5682 <li><?php bugfix(63327); ?> (Crash (Bus Error) in mysqlnd due to wrong alignment).</li> 5683 <li><?php bugfix(80761); ?> (PDO uses too much memory).</li> 5684</ul></li> 5685<li>Opcache: 5686<ul> 5687 <li><?php bugfix(81409); ?> (Incorrect JIT code for ADD with a reference to array).</li> 5688 <li><?php bugfix(81255); ?> (Memory leak in PHPUnit with functional JIT).</li> 5689 <li><?php bugfix(80959); ?> (infinite loop in building cfg during JIT compilation).</li> 5690 <li><?php bugfix(81225); ?> (Wrong result with pow operator with JIT enabled).</li> 5691 <li><?php bugfix(81249); ?> (Intermittent property assignment failure with JIT enabled).</li> 5692 <li><?php bugfix(81256); ?> (Assertion `zv != ((void *)0)' failed for "preload" with JIT).</li> 5693 <li><?php bugfix(81133); ?> (building opcache with phpize fails).</li> 5694 <li><?php bugfix(81136); ?> (opcache header not installed).</li> 5695 <li>Added inheritance cache.</li> 5696</ul></li> 5697<li>OpenSSL: 5698<ul> 5699 <li><?php bugfix(81502); ?> ($tag argument of openssl_decrypt() should accept null/empty string).</li> 5700 <li>Bump minimal OpenSSL version to 1.0.2.</li> 5701</ul></li> 5702<li>PCRE: 5703<ul> 5704 <li><?php bugfix(81424); ?> (PCRE2 10.35 JIT performance regression).</li> 5705 <li>Bundled PCRE2 is 10.37.</li> 5706</ul></li> 5707<li>PDO: 5708<ul> 5709 <li><?php bugfix(40913); ?> (PDO_MYSQL: PDO::PARAM_LOB does not bind to a stream for fetching a BLOB).</li> 5710</ul></li> 5711<li>PDO MySQL: 5712<ul> 5713 <li><?php bugfix(80908); ?> (PDO::lastInsertId() return wrong).</li> 5714 <li><?php bugfix(81037); ?> (PDO discards error message text from prepared statement).</li> 5715</ul></li> 5716<li>PDO OCI: 5717<ul> 5718 <li><?php bugfix(77120); ?> (Support 'success with info' at connection).</li> 5719</ul></li> 5720<li>PDO ODBC: 5721<ul> 5722 <li>Implement PDO_ATTR_SERVER_VERSION and PDO_ATTR_SERVER_INFO for PDO::getAttribute().</li> 5723</ul></li> 5724<li>PDO PgSQL: 5725<ul> 5726 <li><?php bugfix(81343); ?> (pdo_pgsql: Inconsitent boolean conversion after calling closeCursor()).</li> 5727</ul></li> 5728<li>PDO SQLite: 5729<ul> 5730 <li><?php bugfix(38334); ?> (Proper data-type support for PDO_SQLITE).</li> 5731</ul></li> 5732<li>PgSQL: 5733<ul> 5734 <li><?php bugfix(81509); ?> (pg_end_copy still expects a resource).</li> 5735 <li>Convert resource<pgsql link> to object \PgSql\Connection.</li> 5736 <li>Convert resource<pgsql result> to object \PgSql\Result.</li> 5737 <li>Convert resource<pgsql large object> to object \PgSql\Lob.</li> 5738</ul></li> 5739<li>Phar: 5740<ul> 5741 <li>Use SHA256 by default for signature.</li> 5742 <li>Add support for OpenSSL_SHA256 and OpenSSL_SHA512 signature.</li> 5743</ul></li> 5744<li>phpdbg: 5745<ul> 5746 <li><?php bugfix(81135); ?> (unknown help topic causes assertion failure).</li> 5747</ul></li> 5748<li>PSpell: 5749<ul> 5750 <li>Convert resource<pspell> to object \PSpell\Dictionary.</li> 5751 <li>Convert resource<pspell config> to object \PSpell\Config.</li> 5752</ul></li> 5753<li>readline: 5754<ul> 5755 <li><?php bugfix(72998); ?> (invalid read in readline completion).</li> 5756</ul></li> 5757<li>Reflection: 5758<ul> 5759 <li><?php bugfix(81611); ?> (ArgumentCountError when getting default value from ReflectionParameter with new).</li> 5760 <li><?php bugfix(81630); ?> (PHP 8.1: ReflectionClass->getTraitAliases() crashes with Internal error).</li> 5761 <li><?php bugfix(81457); ?> (Enum: ReflectionMethod->getDeclaringClass() return a ReflectionClass).</li> 5762 <li><?php bugfix(81474); ?> (Make ReflectionEnum and related class non-final).</li> 5763 <li><?php bugfix(80821); ?> (ReflectionProperty::getDefaultValue() returns current value for statics).</li> 5764 <li><?php bugfix(80564); ?> (ReflectionProperty::__toString() renders current value, not default value).</li> 5765 <li><?php bugfix(80097); ?> (ReflectionAttribute is not a Reflector).</li> 5766 <li><?php bugfix(81200); ?> (no way to determine if Closure is static).</li> 5767 <li>Implement ReflectionFunctionAbstract::getClosureUsedVariables.</li> 5768</ul></li> 5769<li>Shmop: 5770<ul> 5771 <li><?php bugfix(81407); ?> (shmop_open won't attach and causes php to crash).</li> 5772</ul></li> 5773<li>SimpleXML: 5774<ul> 5775 <li><?php bugfix(81325); ?> (Segfault in zif_simplexml_import_dom).</li> 5776</ul></li> 5777<li>SNMP: 5778<ul> 5779 <li>Implement SHA256 and SHA512 for security protocol.</li> 5780</ul></li> 5781<li>Sodium: 5782<ul> 5783 <li>Added the XChaCha20 stream cipher functions.</li> 5784 <li>Added the Ristretto255 functions, which are available in libsodium 1.0.18.</li> 5785</ul></li> 5786<li>SPL: 5787<ul> 5788 <li><?php bugfix(66588); ?> (SplFileObject::fgetcsv incorrectly returns a row on premature EOF).</li> 5789 <li><?php bugfix(80663); ?> (Recursive SplFixedArray::setSize() may cause double-free).</li> 5790 <li><?php bugfix(81477); ?> (LimitIterator + SplFileObject regression in 8.0.1).</li> 5791 <li><?php bugfix(81112); ?> (Special json_encode behavior for SplFixedArray).</li> 5792 <li><?php bugfix(80945); ?> ("Notice: Undefined index" on unset() ArrayObject non-existing key).</li> 5793 <li><?php bugfix(80724); ?> (FilesystemIterator::FOLLOW_SYMLINKS remove KEY_AS_FILE from bitmask).</li> 5794</ul></li> 5795<li>Standard: 5796<ul> 5797 <li><?php bugfix(81441); ?> (gethostbyaddr('::1') returns ip instead of name after calling some other method).</li> 5798 <li><?php bugfix(81491); ?> (Incorrectly using libsodium for argon2 hashing).</li> 5799 <li><?php bugfix(81142); ?> (PHP 7.3+ memory leak when unserialize() is used on an associative array).</li> 5800 <li><?php bugfix(81111); ?> (Serialization is unexpectedly allowed on anonymous classes with __serialize()).</li> 5801 <li><?php bugfix(81137); ?> (hrtime breaks build on OSX before Sierra).</li> 5802 <li><?php bugfix(77627); ?> (method_exists on Closure::__invoke inconsistency).</li> 5803</ul></li> 5804<li>Streams: 5805<ul> 5806 <li><?php bugfix(81475); ?> (stream_isatty emits warning with attached stream wrapper).</li> 5807</ul></li> 5808<li>XML: 5809<ul> 5810 <li><?php bugfix(79971); ?> (special character is breaking the path in xml function) (CVE-2021-21707).</li> 5811 <li><?php bugfix(70962); ?> (XML_OPTION_SKIP_WHITE strips embedded whitespace).</li> 5812</ul></li> 5813<li>Zip: 5814<ul> 5815 <li><?php bugfix(81490); ?> (ZipArchive::extractTo() may leak memory).</li> 5816 <li><?php bugfix(77978); ?> (Dirname ending in colon unzips to wrong dir).</li> 5817 <li><?php bugfix(81420); ?> (ZipArchive::extractTo extracts outside of destination) (CVE-2021-21706).</li> 5818 <li><?php bugfix(80833); ?> (ZipArchive::getStream doesn't use setPassword).</li> 5819</ul></li> 5820</ul> 5821<!-- }}} --></section> 5822 5823 5824 5825<a id="PHP_8_0"></a> 5826 5827<section class="version" id="8.0.30"><!-- {{{ 8.0.30 --> 5828<h3>Version 8.0.30</h3> 5829<b><?php release_date('03-Aug-2023'); ?></b> 5830<ul><li>Libxml: 5831<ul> 5832 <li>Fixed bug GHSA-3qrf-m4j2-pcrr (Security issue with external entity loading in XML without enabling it). (CVE-2023-3823)</li> 5833</ul></li> 5834<li>Phar: 5835<ul> 5836 <li>Fixed bug GHSA-jqcx-ccgc-xwhv (Buffer mismanagement in phar_dir_read()). (CVE-2023-3824)</li> 5837</ul></li> 5838</ul> 5839<!-- }}} --></section> 5840 5841 5842 5843<section class="version" id="8.0.29"><!-- {{{ 8.0.29 --> 5844<h3>Version 8.0.29</h3> 5845<b><?php release_date('08-Jun-2023'); ?></b> 5846<ul><li>Soap: 5847<ul> 5848 <li>Fixed bug GHSA-76gg-c692-v2mw (Missing error check and insufficient random bytes in HTTP Digest authentication for SOAP). (CVE-2023-3247)</li> 5849</ul></li> 5850</ul> 5851<!-- }}} --></section> 5852 5853 5854 5855<section class="version" id="8.0.28"><!-- {{{ 8.0.28 --> 5856<h3>Version 8.0.28</h3> 5857<b><?php release_date('14-Feb-2023'); ?></b> 5858<ul><li>Core: 5859<ul> 5860 <li><?php bugfix(81744); ?> (Password_verify() always return true with some hash).</li> 5861 <li><?php bugfix(81746); ?> (1-byte array overrun in common path resolve code).</li> 5862</ul></li> 5863<li>SAPI: 5864<ul> 5865 <li>Fixed bug GHSA-54hq-v5wp-fqgv (DOS vulnerability when parsing multipart request body). (CVE-2023-0662)</li> 5866</ul></li> 5867</ul> 5868<!-- }}} --></section> 5869 5870 5871 5872<section class="version" id="8.0.27"><!-- {{{ 8.0.27 --> 5873<h3>Version 8.0.27</h3> 5874<b><?php release_date('05-Jan-2023'); ?></b> 5875<ul><li>PDO/SQLite: 5876<ul> 5877 <li><?php bugfix(81740); ?> (PDO::quote() may return unquoted string). (CVE-2022-31631)</li> 5878</ul></li> 5879</ul> 5880<!-- }}} --></section> 5881 5882 5883 5884<section class="version" id="8.0.26"><!-- {{{ 8.0.26 --> 5885<h3>Version 8.0.26</h3> 5886<b><?php release_date('24-Nov-2022'); ?></b> 5887<ul><li>CLI: 5888<ul> 5889 <li>Fixed bug <?php githubissuel('php/php-src', 9709); ?> (Null pointer dereference with -w/-s options).</li> 5890</ul></li> 5891<li>Core: 5892<ul> 5893 <li>Fixed bug <?php githubissuel('php/php-src', 9752); ?> (Generator crashes when interrupted during argument evaluation with extra named params).</li> 5894 <li>Fixed bug <?php githubissuel('php/php-src', 9801); ?> (Generator crashes when memory limit is exceeded during initialization).</li> 5895 <li>Fixed potential NULL pointer dereference in Windows shm*() functions.</li> 5896 <li>Fixed bug <?php githubissuel('php/php-src', 9750); ?> (Generator memory leak when interrupted during argument evaluation.</li> 5897</ul></li> 5898<li>Date: 5899<ul> 5900 <li>Fixed bug <?php githubissuel('php/php-src', 9763); ?> (DateTimeZone ctr mishandles input and adds null byte if the argument is an offset larger than 100*60 minutes).</li> 5901</ul></li> 5902<li>FPM: 5903<ul> 5904 <li>Fixed bug <?php githubissuel('php/php-src', 9754); ?> (SaltStack (using Python subprocess) hangs when running php-fpm 8.1.11).</li> 5905</ul></li> 5906<li>mysqli: 5907<ul> 5908 <li>Fixed bug <?php githubissuel('php/php-src', 9841); ?> (mysqli_query throws warning despite using silenced error mode).</li> 5909</ul></li> 5910<li>OpenSSL: 5911<ul> 5912 <li>Fixed bug <?php githubissuel('php/php-src', 8430); ?> (OpenSSL compiled with no-md2, no-md4 or no-rmd160 does not build).</li> 5913</ul></li> 5914<li>SOAP: 5915<ul> 5916 <li>Fixed <?php githubissuel('php/php-src', 9720); ?> (Null pointer dereference while serializing the response).</li> 5917</ul></li> 5918</ul> 5919<!-- }}} --></section> 5920 5921 5922 5923<section class="version" id="8.0.25"><!-- {{{ 8.0.25 --> 5924<h3>Version 8.0.25</h3> 5925<b><?php release_date('27-Oct-2022'); ?></b> 5926<ul><li>GD: 5927<ul> 5928 <li><?php bugfix(81739); ?>: OOB read due to insufficient input validation in imageloadfont(). (CVE-2022-31630)</li> 5929</ul></li> 5930<li>Hash: 5931<ul> 5932 <li><?php bugfix(81738); ?>: buffer overflow in hash_update() on long parameter. (CVE-2022-37454)</li> 5933</ul></li> 5934<li>Session: 5935<ul> 5936 <li>Fixed bug <?php githubissuel('php/php-src', 9583); ?> (session_create_id() fails with user defined save handler that doesn't have a validateId() method).</li> 5937</ul></li> 5938<li>Streams: 5939<ul> 5940 <li>Fixed bug <?php githubissuel('php/php-src', 9590); ?> (stream_select does not abort upon exception or empty valid fd set).</li> 5941</ul></li> 5942</ul> 5943<!-- }}} --></section> 5944 5945 5946 5947<section class="version" id="8.0.24"><!-- {{{ 8.0.24 --> 5948<h3>Version 8.0.24</h3> 5949<b><?php release_date('29-Sep-2022'); ?></b> 5950<ul><li>Core: 5951<ul> 5952 <li>Fixed bug <?php githubissuel('php/php-src', 9323); ?> (Crash in ZEND_RETURN/GC/zend_call_function) (Tim Starling)</li> 5953 <li>Fixed bug <?php githubissuel('php/php-src', 9361); ?> (Segmentation fault on script exit #9379).</li> 5954 <li>Fixed bug <?php githubissuel('php/php-src', 9407); ?> (LSP error in eval'd code refers to wrong class for static type).</li> 5955 <li><?php bugfix(81727); ?>: Don't mangle HTTP variable names that clash with ones that have a specific semantic meaning. (CVE-2022-31629)</li> 5956</ul></li> 5957<li>DOM: 5958<ul> 5959 <li><?php bugfix(79451); ?> (DOMDocument->replaceChild on doctype causes double free).</li> 5960</ul></li> 5961<li>FPM: 5962<ul> 5963 <li>Fixed bug <?php githubissuel('php/php-src', 8885); ?> (FPM access.log with stderr begins to write logs to error_log after daemon reload).</li> 5964 <li><?php bugfix(77780); ?> ("Headers already sent..." when previous connection was aborted).</li> 5965</ul></li> 5966<li>GMP: 5967<ul> 5968 <li>Fixed bug <?php githubissuel('php/php-src', 9308); ?> (GMP throws the wrong error when a GMP object is passed to gmp_init()).</li> 5969</ul></li> 5970<li>Intl: 5971<ul> 5972 <li>Fixed bug <?php githubissuel('php/php-src', 9421); ?> (Incorrect argument number for ValueError in NumberFormatter).</li> 5973</ul></li> 5974<li>Phar: 5975<ul> 5976 <li><?php bugfix(81726); ?>: phar wrapper: DOS when using quine gzip file. (CVE-2022-31628)</li> 5977</ul></li> 5978<li>PDO_PGSQL: 5979<ul> 5980 <li>Fixed bug <?php githubissuel('php/php-src', 9411); ?> (PgSQL large object resource is incorrectly closed).</li> 5981</ul></li> 5982<li>Reflection: 5983<ul> 5984 <li>Fixed bug <?php githubissuel('php/php-src', 8932); ?> (ReflectionFunction provides no way to get the called class of a Closure).</li> 5985 <li>Fixed bug <?php githubissuel('php/php-src', 9409); ?> (Private method is incorrectly dumped as "overwrites").</li> 5986</ul></li> 5987<li>Streams: 5988<ul> 5989 <li>Fixed bug <?php githubissuel('php/php-src', 9316); ?> ($http_response_header is wrong for long status line).</li> 5990</ul></li> 5991</ul> 5992<!-- }}} --></section> 5993 5994 5995 5996<section class="version" id="8.0.23"><!-- {{{ 8.0.23 --> 5997<h3>Version 8.0.23</h3> 5998<b><?php release_date('01-Sep-2022'); ?></b> 5999<ul><li>Core: 6000<ul> 6001 <li>Fixed incorrect double to long casting in latest clang.</li> 6002</ul></li> 6003<li>DBA: 6004<ul> 6005 <li>Fixed LMDB driver memory leak on DB creation failure.</li> 6006 <li>Fixed bug <?php githubissuel('php/php-src', 9155); ?> (dba_open("non-existing", "c-", "flatfile") segfaults).</li> 6007</ul></li> 6008<li>Intl: 6009<ul> 6010 <li>Fixed IntlDateFormatter::formatObject() parameter type.</li> 6011</ul></li> 6012<li>OPcache: 6013<ul> 6014 <li>Fixed bug <?php githubissuel('php/php-src', 9033); ?> (Loading blacklist file can fail due to negative length).</li> 6015</ul></li> 6016<li>PDO_SQLite: 6017<ul> 6018 <li>Fixed bug <?php githubissuel('php/php-src', 9032); ?> (SQLite3 authorizer crashes on NULL values).</li> 6019</ul></li> 6020<li>SQLite3: 6021<ul> 6022 <li>Fixed bug <?php githubissuel('php/php-src', 9032); ?> (SQLite3 authorizer crashes on NULL values).</li> 6023</ul></li> 6024<li>Standard: 6025<ul> 6026 <li>Fixed bug <?php githubissuel('php/php-src', 9017); ?> (php_stream_sock_open_from_socket could return NULL).</li> 6027</ul></li> 6028<li>Streams: 6029<ul> 6030 <li>Fixed bug <?php githubissuel('php/php-src', 8472); ?> (The resource returned by stream_socket_accept may have incorrect metadata).</li> 6031 <li>Fixed bug <?php githubissuel('php/php-src', 8409); ?> (SSL handshake timeout leaves persistent connections hanging).</li> 6032</ul></li> 6033</ul> 6034<!-- }}} --></section> 6035 6036 6037 6038<section class="version" id="8.0.22"><!-- {{{ 8.0.22 --> 6039<h3>Version 8.0.22</h3> 6040<b><?php release_date('04-Aug-2022'); ?></b> 6041<ul><li>CLI: 6042<ul> 6043 <li>Fixed potential overflow for the builtin server via the PHP_CLI_SERVER_WORKERS environment variable.</li> 6044</ul></li> 6045<li>Core: 6046<ul> 6047 <li>Fixed bug <?php githubissuel('php/php-src', 8923); ?> (error_log on Windows can hold the file write lock).</li> 6048 <li>Fixed bug <?php githubissuel('php/php-src', 8995); ?> (WeakMap object reference offset causing TypeError).</li> 6049</ul></li> 6050<li>Date: 6051<ul> 6052 <li><?php bugfix(80047); ?> (DatePeriod doesn't warn with custom DateTimeImmutable).</li> 6053</ul></li> 6054<li>DBA: 6055<ul> 6056 <li>Fixed LMDB driver hanging when attempting to delete a non-existing key.</li> 6057</ul></li> 6058<li>FPM: 6059<ul> 6060 <li>Fixed zlog message prepend, free on incorrect address.</li> 6061 <li>Fixed possible double free on configuration loading failure.</li> 6062</ul></li> 6063<li>GD: 6064<ul> 6065 <li>Fixed bug <?php githubissuel('php/php-src', 8848); ?> (imagecopyresized() error refers to the wrong argument).</li> 6066</ul></li> 6067<li>Intl: 6068<ul> 6069 <li>Fixed build for ICU 69.x and onwards.</li> 6070</ul></li> 6071<li>OPcache: 6072<ul> 6073 <li>Fixed bug <?php githubissuel('php/php-src', 8847); ?> (PHP hanging infinitly at 100% cpu when check php syntaxe of a valid file).</li> 6074</ul></li> 6075<li>Standard: 6076<ul> 6077 <li>Fixed the crypt_sha256/512 api build with clang > 12.</li> 6078 <li>Uses CCRandomGenerateBytes instead of arc4random_buf on macOs.</li> 6079</ul></li> 6080</ul> 6081<!-- }}} --></section> 6082 6083 6084 6085<section class="version" id="8.0.21"><!-- {{{ 8.0.21 --> 6086<h3>Version 8.0.21</h3> 6087<b><?php release_date('07-Jul-2022'); ?></b> 6088<ul><li>Core: 6089<ul> 6090 <li>Fixed potential use after free in php_binary_init().</li> 6091</ul></li> 6092<li>CLI: 6093<ul> 6094 <li>Fixed <?php githubissuel('php/php-src',8827); ?> (Intentionally closing std handles no longer possible).</li> 6095</ul></li> 6096<li>COM: 6097<ul> 6098 <li>Fixed bug <?php githubissuel('php/php-src',8778); ?> (Integer arithmethic with large number variants fails).</li> 6099</ul></li> 6100<li>Curl: 6101<ul> 6102 <li>Fixed CURLOPT_TLSAUTH_TYPE is not treated as a string option.</li> 6103</ul></li> 6104<li>Date: 6105<ul> 6106 <li><?php bugfix(74671); ?> (DST timezone abbreviation has incorrect offset).</li> 6107 <li><?php bugfix(77243); ?> (Weekdays are calculated incorrectly for negative years).</li> 6108 <li><?php bugfix(78139); ?> (timezone_open accepts invalid timezone string argument).</li> 6109</ul></li> 6110<li>FPM: 6111<ul> 6112 <li><?php bugfix(67764); ?> (fpm: syslog.ident don't work).</li> 6113</ul></li> 6114<li>MBString: 6115<ul> 6116 <li>Fixed bug <?php githubissuel('php/php-src',8685); ?> (pcre not ready at mbstring startup).</li> 6117</ul></li> 6118<li>ODBC: 6119<ul> 6120 <li>Fixed handling of single-key connection strings.</li> 6121</ul></li> 6122<li>OpenSSL: 6123<ul> 6124 <li><?php bugfix(50293); ?> (Several openssl functions ignore the VCWD).</li> 6125 <li><?php bugfix(81713); ?> (NULL byte injection in several OpenSSL functions working with certificates).</li> 6126</ul></li> 6127<li>PDO_ODBC: 6128<ul> 6129 <li>Fixed errorInfo() result on successful PDOStatement->execute().</li> 6130 <li>Fixed handling of single-key connection strings.</li> 6131</ul></li> 6132<li>Zip: 6133<ul> 6134 <li>Fixed bug <?php githubissuel('php/php-src',8781); ?> (ZipArchive::close deletes zip file without updating stat cache).</li> 6135</ul></li> 6136</ul> 6137<!-- }}} --></section> 6138 6139 6140 6141<section class="version" id="8.0.20"><!-- {{{ 8.0.20 --> 6142<h3>Version 8.0.20</h3> 6143<b><?php release_date('09-Jun-2022'); ?></b> 6144<ul><li>CLI: 6145<ul> 6146 <li>Fixed bug <?php githubissuel('php/php-src',8575); ?> (CLI closes standard streams too early).</li> 6147</ul></li> 6148<li>Core: 6149<ul> 6150 <li>Fixed Haiku ZTS builds.</li> 6151</ul></li> 6152<li>Date: 6153<ul> 6154 <li>Fixed bug <?php githubissuel('php/php-src',8471); ?> (Segmentation fault when converting immutable and mutable DateTime instances created using reflection).</li> 6155</ul></li> 6156<li>FPM: 6157<ul> 6158 <li>Fixed ACL build check on MacOS.</li> 6159 <li><?php bugfix(72185); ?>: php-fpm writes empty fcgi record causing nginx 502.</li> 6160</ul></li> 6161<li>Mysqlnd: 6162<ul> 6163 <li><?php bugfix(81719); ?>: mysqlnd/pdo password buffer overflow. (CVE-2022-31626)</li> 6164</ul></li> 6165<li>OPcache: 6166<ul> 6167 <li>Fixed bug <?php githubissuel('php/php-src',8466); ?> (ini_get() is optimized out when the option does not exist).</li> 6168</ul></li> 6169<li>Pcntl: 6170<ul> 6171 <li>Fixed Haiku build.</li> 6172</ul></li> 6173<li>Pgsql: 6174<ul> 6175 <li><?php bugfix(81720); ?>: Uninitialized array in pg_query_params(). (CVE-2022-31625)</li> 6176</ul></li> 6177<li>Soap: 6178<ul> 6179 <li>Fixed bug <?php githubissuel('php/php-src',8578); ?> (Error on wrong parameter on SoapHeader constructor).</li> 6180 <li>Fixed bug <?php githubissuel('php/php-src',8538); ?> (SoapClient may strip parts of nmtokens).</li> 6181</ul></li> 6182<li>SPL: 6183<ul> 6184 <li>Fixed bug <?php githubissuel('php/php-src',8235); ?> (iterator_count() may run indefinitely).</li> 6185</ul></li> 6186<li>Zip: 6187<ul> 6188 <li>Fixed type for index in ZipArchive::replaceFile.</li> 6189</ul></li> 6190</ul> 6191<!-- }}} --></section> 6192 6193 6194 6195<section class="version" id="8.0.19"><!-- {{{ 8.0.19 --> 6196<h3>Version 8.0.19</h3> 6197<b><?php release_date('12-May-2022'); ?></b> 6198<ul><li>Core: 6199<ul> 6200 <li>Fixed bug <?php githubissuel('php/php-src',8289); ?> (Exceptions thrown within a yielded from iterator are not rethrown into the generator).</li> 6201</ul></li> 6202<li>Date: 6203<ul> 6204 <li>Fixed bug <?php githubissuel('php/php-src',7979); ?> (DatePeriod iterator advances when checking if valid).</li> 6205</ul></li> 6206<li>FFI: 6207<ul> 6208 <li>Fixed bug <?php githubissuel('php/php-src',8433); ?> (Assigning function pointers to structs in FFI leaks).</li> 6209</ul></li> 6210<li>FPM: 6211<ul> 6212 <li><?php bugfix(76003); ?> (FPM /status reports wrong number of active processe).</li> 6213 <li><?php bugfix(77023); ?> (FPM cannot shutdown processes).</li> 6214 <li>Fixed comment in kqueue remove callback log message.</li> 6215</ul></li> 6216<li>Iconv: 6217<ul> 6218 <li>Fixed bug <?php githubissuel('php/php-src',8218); ?> (ob_end_clean does not reset Content-Encoding header).</li> 6219</ul></li> 6220<li>Intl: 6221<ul> 6222 <li>Fixed bug <?php githubissuel('php/php-src',8364); ?> (msgfmt_format $values may not support references).</li> 6223</ul></li> 6224<li>MySQLi: 6225<ul> 6226 <li>Fixed bug <?php githubissuel('php/php-src',8267); ?> (MySQLi uses unsupported format specifier on Windows).</li> 6227</ul></li> 6228<li>SPL: 6229<ul> 6230 <li>Fixed bug <?php githubissuel('php/php-src',8366); ?> (ArrayIterator may leak when calling __construct()).</li> 6231 <li>Fixed bug <?php githubissuel('php/php-src',8273); ?> (SplFileObject: key() returns wrong value).</li> 6232</ul></li> 6233<li>Streams: 6234<ul> 6235 <li>Fixed php://temp does not preserve file-position when switched to temporary file.</li> 6236</ul></li> 6237<li>zlib: 6238<ul> 6239 <li>Fixed bug <?php githubissuel('php/php-src',8218); ?> (ob_end_clean does not reset Content-Encoding header).</li> 6240</ul></li> 6241</ul> 6242<!-- }}} --></section> 6243 6244 6245 6246<section class="version" id="8.0.18"><!-- {{{ 8.0.18 --> 6247<h3>Version 8.0.18</h3> 6248<b><?php release_date('14-Apr-2022'); ?></b> 6249<ul><li>Core: 6250<ul> 6251 <li>Fixed freeing of internal attribute arguments.</li> 6252 <li>Fixed bug <?php githubissuel('php/php-src',8070); ?> (memory leak of internal function attribute hash).</li> 6253 <li>Fixed bug <?php githubissuel('php/php-src',8160); ?> (ZTS support on Alpine is broken).</li> 6254</ul></li> 6255<li>Filter: 6256<ul> 6257 <li>Fixed signedness confusion in php_filter_validate_domain().</li> 6258</ul></li> 6259<li>Intl: 6260<ul> 6261 <li>Fixed bug <?php githubissuel('php/php-src',8142); ?> (Compilation error on cygwin).</li> 6262</ul></li> 6263<li>MBString: 6264<ul> 6265 <li>Fixed bug <?php githubissuel('php/php-src',8208); ?> (mb_encode_mimeheader: $indent functionality broken).</li> 6266</ul></li> 6267<li>MySQLi: 6268<ul> 6269 <li>Fixed bug <?php githubissuel('php/php-src',8068); ?> (mysqli_fetch_object creates inaccessible properties).</li> 6270</ul></li> 6271<li>Pcntl: 6272<ul> 6273 <li>Fixed bug <?php githubissuel('php/php-src',8142); ?> (Compilation error on cygwin).</li> 6274</ul></li> 6275<li>PgSQL: 6276<ul> 6277 <li>Fixed result_type related stack corruption on LLP64 architectures.</li> 6278 <li>Fixed bug <?php githubissuel('php/php-src',8253); ?> (pg_insert() fails for references).</li> 6279</ul></li> 6280<li>Sockets: 6281<ul> 6282 <li>Fixed Solaris builds.</li> 6283</ul></li> 6284<li>SPL: 6285<ul> 6286 <li>Fixed bug <?php githubissuel('php/php-src',8121); ?> (SplFileObject - seek and key with csv file inconsistent).</li> 6287</ul></li> 6288<li>Standard: 6289<ul> 6290 <li>Fixed bug <?php githubissuel('php/php-src',8048); ?> (Force macOS to use statfs).</li> 6291</ul></li> 6292</ul> 6293<!-- }}} --></section> 6294 6295 6296 6297<section class="version" id="8.0.17"><!-- {{{ 8.0.17 --> 6298<h3>Version 8.0.17</h3> 6299<b><?php release_date('17-Mar-2022'); ?></b> 6300<ul><li>Core: 6301<ul> 6302 <li>Fixed Haiku ZTS build.</li> 6303</ul></li> 6304<li>GD: 6305<ul> 6306 <li>Fixed libpng warning when loading interlaced images.</li> 6307</ul></li> 6308<li>FPM: 6309<ul> 6310 <li><?php bugfix(76109); ?> (Unsafe access to fpm scoreboard).</li> 6311</ul></li> 6312<li>Iconv: 6313<ul> 6314 <li>Fixed bug <?php githubissuel('php/php-src',7953); ?> (ob_clean() only does not set Content-Encoding).</li> 6315 <li>Fixed bug <?php githubissuel('php/php-src',7980); ?> (Unexpected result for iconv_mime_decode).</li> 6316</ul></li> 6317<li>MySQLnd: 6318<ul> 6319 <li>Fixed bug <?php githubissuel('php/php-src',8058); ?> (NULL pointer dereference in mysqlnd package).</li> 6320</ul></li> 6321<li>OPcache: 6322<ul> 6323 <li>Fixed bug <?php githubissuel('php/php-src',8074); ?> (Wrong type inference of range() result).</li> 6324</ul></li> 6325<li>Reflection: 6326<ul> 6327 <li>Fixed bug <?php githubissuel('php/php-src',8080); ?> (ReflectionClass::getConstants() depends on def. order).</li> 6328</ul></li> 6329<li>Zlib: 6330<ul> 6331 <li>Fixed bug <?php githubissuel('php/php-src',7953); ?> (ob_clean() only does not set Content-Encoding).</li> 6332</ul></li> 6333</ul> 6334<!-- }}} --></section> 6335 6336 6337 6338<section class="version" id="8.0.16"><!-- {{{ 8.0.16 --> 6339<h3>Version 8.0.16</h3> 6340<b><?php release_date('17-Feb-2022'); ?></b> 6341<ul><li>Core: 6342<ul> 6343 <li><?php bugfix(81430); ?> (Attribute instantiation leaves dangling pointer).</li> 6344 <li>Fixed bug <?php githubissuel('php/php-src',7896); ?> (Environment vars may be mangled on Windows).</li> 6345</ul></li> 6346<li>FFI: 6347<ul> 6348 <li>Fixed bug <?php githubissuel('php/php-src',7867); ?> (FFI::cast() from pointer to array is broken).</li> 6349</ul></li> 6350<li>Filter: 6351<ul> 6352 <li>Fix #81708: UAF due to php_filter_float() failing for ints.</li> 6353</ul></li> 6354<li>FPM: 6355<ul> 6356 <li>Fixed memory leak on invalid port.</li> 6357</ul></li> 6358<li>MBString: 6359<ul> 6360 <li>Fixed bug <?php githubissuel('php/php-src',7902); ?> (mb_send_mail may delimit headers with LF only).</li> 6361</ul></li> 6362<li>MySQLnd: 6363<ul> 6364 <li>Fixed bug <?php githubissuel('php/php-src',7972); ?> (MariaDB version prefix 5.5.5- is not stripped).</li> 6365</ul></li> 6366<li>Sockets: 6367<ul> 6368 <li>Fixed ext/sockets build on Haiku.</li> 6369 <li>Fixed bug <?php githubissuel('php/php-src',7978); ?> (sockets extension compilation errors).</li> 6370</ul></li> 6371<li>Standard: 6372<ul> 6373 <li>Fixed bug <?php githubissuel('php/php-src',7875); ?> (mails are sent even if failure to log throws exception).</li> 6374</ul></li> 6375</ul> 6376<!-- }}} --></section> 6377 6378 6379 6380<section class="version" id="8.0.15"><!-- {{{ 8.0.15 --> 6381<h3>Version 8.0.15</h3> 6382<b><?php release_date('20-Jan-2022'); ?></b> 6383<ul><li>Core: 6384<ul> 6385 <li><?php bugfix(81656); ?> (GCC-11 silently ignores -R).</li> 6386 <li><?php bugfix(81585); ?> (cached_chunks are not counted to real_size on shutdown).</li> 6387</ul></li> 6388<li>Filter: 6389<ul> 6390 <li>Fixed FILTER_FLAG_NO_RES_RANGE flag.</li> 6391</ul></li> 6392<li>Hash: 6393<ul> 6394 <li>Fixed bug <?php githubissuel('php/php-src',7759); ?> (Incorrect return types for hash() and hash_hmac()).</li> 6395 <li>Fixed bug <?php githubissuel('php/php-src',7826); ?> (Inconsistent argument name in hash_hmac_file and hash_file).</li> 6396</ul></li> 6397<li>MySQLnd: 6398<ul> 6399 <li>Fixed bug where large bigints may be truncated.</li> 6400</ul></li> 6401<li>OCI8: 6402<ul> 6403 <li>Fixed bug <?php githubissuel('php/php-src',7765); ?> (php_oci_cleanup_global_handles segfaults at second call).</li> 6404</ul></li> 6405<li>OPcache: 6406<ul> 6407 <li><?php bugfix(81679); ?> (Tracing JIT crashes on reattaching).</li> 6408</ul></li> 6409<li>PDO_PGSQL: 6410<ul> 6411 <li>Fixed error message allocation of PDO PgSQL.</li> 6412</ul></li> 6413<li>Sockets: 6414<ul> 6415 <li>Avoid void* arithmetic in sockets/multicast.c on NetBSD.</li> 6416</ul></li> 6417<li>Spl: 6418<ul> 6419 <li><?php bugfix(75917); ?> (SplFileObject::seek broken with CSV flags).</li> 6420</ul></li> 6421</ul> 6422<!-- }}} --></section> 6423 6424 6425 6426<section class="version" id="8.0.14"><!-- {{{ 8.0.14 --> 6427<h3>Version 8.0.14</h3> 6428<b><?php release_date('16-Dec-2021'); ?></b> 6429<ul><li>Core: 6430<ul> 6431 <li><?php bugfix(81582); ?> (Stringable not implicitly declared if __toString() came from a trait).</li> 6432 <li><?php bugfix(81591); ?> (Fatal Error not properly logged in particular cases).</li> 6433 <li><?php bugfix(81626); ?> (Error on use static:: in __сallStatic() wrapped to Closure::fromCallable()).</li> 6434 <li><?php bugfix(81631); ?> (::class with dynamic class name may yield wrong line number).</li> 6435</ul></li> 6436<li>FPM: 6437<ul> 6438 <li><?php bugfix(81513); ?> (Future possibility for heap overflow in FPM zlog).</li> 6439</ul></li> 6440<li>GD: 6441<ul> 6442 <li><?php bugfix(71316); ?> (libpng warning from imagecreatefromstring).</li> 6443</ul></li> 6444<li>IMAP: 6445<ul> 6446 <li><?php bugfix(81649); ?> (imap_(un)delete accept sequences, not single numbers).</li> 6447</ul></li> 6448<li>OpenSSL: 6449<ul> 6450 <li><?php bugfix(75725); ?> (./configure: detecting RAND_egd).</li> 6451</ul></li> 6452<li>PCRE: 6453<ul> 6454 <li><?php bugfix(74604); ?> (Out of bounds in php_pcre_replace_impl).</li> 6455</ul></li> 6456<li>SPL: 6457<ul> 6458 <li><?php bugfix(81587); ?> (MultipleIterator Segmentation fault w/ SimpleXMLElement attached).</li> 6459</ul></li> 6460<li>Standard: 6461<ul> 6462 <li><?php bugfix(81618); ?> (dns_get_record fails on FreeBSD for missing type).</li> 6463 <li><?php bugfix(81659); ?> (stream_get_contents() may unnecessarily overallocate).</li> 6464</ul></li> 6465</ul> 6466<!-- }}} --></section> 6467 6468 6469 6470<section class="version" id="8.0.13"><!-- {{{ 8.0.13 --> 6471<h3>Version 8.0.13</h3> 6472<b><?php release_date('18-Nov-2021'); ?></b> 6473<ul><li>Core: 6474<ul> 6475 <li><?php bugfix(81518); ?> (Header injection via default_mimetype / default_charset).</li> 6476</ul></li> 6477<li>Date: 6478<ul> 6479 <li><?php bugfix(81500); ?> (Interval serialization regression since 7.3.14 / 7.4.2).</li> 6480</ul></li> 6481<li>DBA: 6482<ul> 6483 <li><?php bugfix(81588); ?> (TokyoCabinet driver leaks memory).</li> 6484</ul></li> 6485<li>MBString: 6486<ul> 6487 <li><?php bugfix(76167); ?> (mbstring may use pointer from some previous request).</li> 6488</ul></li> 6489<li>Opcache: 6490<ul> 6491 <li><?php bugfix(81512); ?> (Unexpected behavior with arrays and JIT).</li> 6492</ul></li> 6493<li>PCRE: 6494<ul> 6495 <li><?php bugfix(81424); ?> (PCRE2 10.35 JIT performance regression).</li> 6496</ul></li> 6497<li>XML: 6498<ul> 6499 <li><?php bugfix(79971); ?> (special character is breaking the path in xml function). (CVE-2021-21707)</li> 6500</ul></li> 6501<li>XMLReader: 6502<ul> 6503 <li><?php bugfix(81521); ?> (XMLReader::getParserProperty may throw with a valid property).</li> 6504</ul></li> 6505</ul> 6506<!-- }}} --></section> 6507 6508 6509 6510<section class="version" id="8.0.12"><!-- {{{ 8.0.12 --> 6511<h3>Version 8.0.12</h3> 6512<b><?php release_date('21-Oct-2021'); ?></b> 6513<ul><li>CLI: 6514<ul> 6515 <li><?php bugfix(81496); ?> (Server logs incorrect request method).</li> 6516</ul></li> 6517<li>Core: 6518<ul> 6519 <li><?php bugfix(81435); ?> (Observer current_observed_frame may point to an old (overwritten) frame).</li> 6520 <li><?php bugfix(81380); ?> (Observer may not be initialized properly).</li> 6521</ul></li> 6522<li>DOM: 6523<ul> 6524 <li><?php bugfix(81433); ?> (DOMElement::setIdAttribute() called twice may remove ID).</li> 6525</ul></li> 6526<li>FFI: 6527<ul> 6528 <li><?php bugfix(79576); ?> ("TYPE *" shows unhelpful message when type is not defined).</li> 6529</ul></li> 6530<li>FPM: 6531<ul> 6532 <li><?php bugfix(81026); ?> (PHP-FPM oob R/W in root process leading to privilege escalation) (CVE-2021-21703).</li> 6533</ul></li> 6534<li>Fileinfo: 6535<ul> 6536 <li><?php bugfix(78987); ?> (High memory usage during encoding detection).</li> 6537</ul></li> 6538<li>Filter: 6539<ul> 6540 <li><?php bugfix(61700); ?> (FILTER_FLAG_IPV6/FILTER_FLAG_NO_PRIV|RES_RANGE failing).</li> 6541</ul></li> 6542<li>Opcache: 6543<ul> 6544 <li><?php bugfix(81472); ?> (Cannot support large linux major/minor device number when read /proc/self/maps).</li> 6545</ul></li> 6546<li>Reflection: 6547<ul> 6548 <li>ReflectionAttribute is no longer final.</li> 6549</ul></li> 6550<li>SPL: 6551<ul> 6552 <li><?php bugfix(80663); ?> (Recursive SplFixedArray::setSize() may cause double-free).</li> 6553 <li><?php bugfix(81477); ?> (LimitIterator + SplFileObject regression in 8.0.1).</li> 6554</ul></li> 6555<li>Standard: 6556<ul> 6557 <li><?php bugfix(69751); ?> (Change Error message of sprintf/printf for missing/typo position specifier).</li> 6558</ul></li> 6559<li>Streams: 6560<ul> 6561 <li><?php bugfix(81475); ?> (stream_isatty emits warning with attached stream wrapper).</li> 6562</ul></li> 6563<li>XML: 6564<ul> 6565 <li><?php bugfix(70962); ?> (XML_OPTION_SKIP_WHITE strips embedded whitespace).</li> 6566</ul></li> 6567<li>Zip: 6568<ul> 6569 <li><?php bugfix(81490); ?> (ZipArchive::extractTo() may leak memory).</li> 6570 <li><?php bugfix(77978); ?> (Dirname ending in colon unzips to wrong dir).</li> 6571</ul></li> 6572</ul> 6573<!-- }}} --></section> 6574 6575 6576 6577<section class="version" id="8.0.11"><!-- {{{ 8.0.11 --> 6578<h3>Version 8.0.11</h3> 6579<b><?php release_date('23-Sep-2021'); ?></b> 6580<ul><li>Core: 6581<ul> 6582 <li><?php bugfix(81302); ?> (Stream position after stream filter removed).</li> 6583 <li><?php bugfix(81346); ?> (Non-seekable streams don't update position after write).</li> 6584 <li><?php bugfix(73122); ?> (Integer Overflow when concatenating strings).</li> 6585</ul></li> 6586<li>GD: 6587<ul> 6588 <li><?php bugfix(53580); ?> (During resize gdImageCopyResampled cause colors change).</li> 6589</ul></li> 6590<li>Opcache: 6591<ul> 6592 <li><?php bugfix(81353); ?> (segfault with preloading and statically bound closure).</li> 6593</ul></li> 6594<li>Shmop: 6595<ul> 6596 <li><?php bugfix(81407); ?> (shmop_open won't attach and causes php to crash).</li> 6597</ul></li> 6598<li>Standard: 6599<ul> 6600 <li><?php bugfix(71542); ?> (disk_total_space does not work with relative paths).</li> 6601 <li><?php bugfix(81400); ?> (Unterminated string in dns_get_record() results).</li> 6602</ul></li> 6603<li>SysVMsg: 6604<ul> 6605 <li><?php bugfix(78819); ?> (Heap Overflow in msg_send).</li> 6606</ul></li> 6607<li>XML: 6608<ul> 6609 <li><?php bugfix(81351); ?> (xml_parse may fail, but has no error code).</li> 6610</ul></li> 6611<li>Zip: 6612<ul> 6613 <li><?php bugfix(80833); ?> (ZipArchive::getStream doesn't use setPassword).</li> 6614 <li><?php bugfix(81420); ?> (ZipArchive::extractTo extracts outside of destination).</li> 6615</ul></li> 6616</ul> 6617<!-- }}} --></section> 6618 6619 6620 6621<section class="version" id="8.0.10"><!-- {{{ 8.0.10 --> 6622<h3>Version 8.0.10</h3> 6623<b><?php release_date('26-Aug-2021'); ?></b> 6624<ul><li>Core: 6625<ul> 6626 <li><?php bugfix(72595); ?> (php_output_handler_append illegal write access).</li> 6627 <li><?php bugfix(66719); ?> (Weird behaviour when using get_called_class() with call_user_func()).</li> 6628 <li><?php bugfix(81305); ?> (Built-in Webserver Drops Requests With "Upgrade" Header).</li> 6629</ul></li> 6630<li>BCMath: 6631<ul> 6632 <li><?php bugfix(78238); ?> (BCMath returns "-0").</li> 6633</ul></li> 6634<li>CGI: 6635<ul> 6636 <li><?php bugfix(80849); ?> (HTTP Status header truncation).</li> 6637</ul></li> 6638<li>Date: 6639<ul> 6640 <li><?php bugfix(64975); ?> (Error parsing when AM/PM not at the end).</li> 6641 <li><?php bugfix(78984); ?> (DateTimeZone accepting invalid UTC timezones).</li> 6642 <li><?php bugfix(79580); ?> (date_create_from_format misses leap year).</li> 6643 <li><?php bugfix(80409); ?> (DateTime::modify() loses time with 'weekday' parameter).</li> 6644</ul></li> 6645<li>GD: 6646<ul> 6647 <li><?php bugfix(51498); ?> (imagefilledellipse does not work for large circles).</li> 6648</ul></li> 6649<li>MySQLi: 6650<ul> 6651 <li><?php bugfix(74544); ?> (Integer overflow in mysqli_real_escape_string()).</li> 6652</ul></li> 6653<li>Opcache: 6654<ul> 6655 <li><?php bugfix(81225); ?> (Wrong result with pow operator with JIT enabled).</li> 6656 <li><?php bugfix(81249); ?> (Intermittent property assignment failure with JIT enabled).</li> 6657 <li><?php bugfix(81206); ?> (Multiple PHP processes crash with JIT enabled).</li> 6658 <li><?php bugfix(81272); ?> (Segfault in var[] after array_slice with JIT).</li> 6659 <li><?php bugfix(81255); ?> (Memory leak in PHPUnit with functional JIT).</li> 6660 <li><?php bugfix(80959); ?> (Infinite loop in building cfg during JIT compilation) (Nikita, Dmitry)</li> 6661 <li><?php bugfix(81226); ?> (Integer overflow behavior is different with JIT enabled).</li> 6662</ul></li> 6663<li>OpenSSL: 6664<ul> 6665 <li><?php bugfix(81327); ?> (Error build openssl extension on php 7.4.22).</li> 6666</ul></li> 6667<li>PDO_ODBC: 6668<ul> 6669 <li><?php bugfix(81252); ?> (PDO_ODBC doesn't account for SQL_NO_TOTAL).</li> 6670</ul></li> 6671<li>Phar: 6672<ul> 6673 <li><?php bugfix(81211); ?>: Symlinks are followed when creating PHAR archive</li> 6674</ul></li> 6675<li>Shmop: 6676<ul> 6677 <li><?php bugfix(81283); ?> (shmop can't read beyond 2147483647 bytes).</li> 6678</ul></li> 6679<li>SimpleXML: 6680<ul> 6681 <li><?php bugfix(81325); ?> (Segfault in zif_simplexml_import_dom).</li> 6682</ul></li> 6683<li>Standard: 6684<ul> 6685 <li><?php bugfix(72146); ?> (Integer overflow on substr_replace).</li> 6686 <li><?php bugfix(81265); ?> (getimagesize returns 0 for 256px ICO images).</li> 6687 <li><?php bugfix(74960); ?> (Heap buffer overflow via str_repeat).</li> 6688</ul></li> 6689<li>Streams: 6690<ul> 6691 <li><?php bugfix(81294); ?> (Segfault when removing a filter).</li> 6692</ul></li> 6693</ul> 6694<!-- }}} --></section> 6695 6696 6697 6698<section class="version" id="8.0.9"><!-- {{{ 8.0.9 --> 6699<h3>Version 8.0.9</h3> 6700<b><?php release_date('29-Jul-2021'); ?></b> 6701<ul><li>Core: 6702<ul> 6703 <li><?php bugfix(81145); ?> (copy() and stream_copy_to_stream() fail for +4GB files).</li> 6704 <li><?php bugfix(81163); ?> (incorrect handling of indirect vars in __sleep).</li> 6705 <li><?php bugfix(81159); ?> (Object to int warning when using an object as a string offset).</li> 6706 <li><?php bugfix(80728); ?> (PHP built-in web server resets timeout when it can kill the process).</li> 6707 <li><?php bugfix(73630); ?> (Built-in Webserver - overwrite $_SERVER['request_uri']).</li> 6708 <li><?php bugfix(80173); ?> (Using return value of zend_assign_to_variable() is not safe).</li> 6709 <li><?php bugfix(73226); ?> (--r[fcez] always return zero exit code).</li> 6710</ul></li> 6711<li>Intl: 6712<ul> 6713 <li><?php bugfix(72809); ?> (Locale::lookup() wrong result with canonicalize option).</li> 6714 <li><?php bugfix(68471); ?> (IntlDateFormatter fails for "GMT+00:00" timezone).</li> 6715 <li><?php bugfix(74264); ?> (grapheme_strrpos() broken for negative offsets).</li> 6716</ul></li> 6717<li>OpenSSL: 6718<ul> 6719 <li><?php bugfix(52093); ?> (openssl_csr_sign truncates $serial).</li> 6720</ul></li> 6721<li>PCRE: 6722<ul> 6723 <li><?php bugfix(81101); ?> (PCRE2 10.37 shows unexpected result).</li> 6724 <li><?php bugfix(81243); ?> (Too much memory is allocated for preg_replace()).</li> 6725</ul></li> 6726<li>Reflection: 6727<ul> 6728 <li><?php bugfix(81208); ?> (Segmentation fault while create newInstance from attribute).</li> 6729</ul></li> 6730<li>Standard: 6731<ul> 6732 <li><?php bugfix(81223); ?> (flock() only locks first byte of file).</li> 6733</ul></li> 6734</ul> 6735<!-- }}} --></section> 6736 6737 6738 6739<section class="version" id="8.0.8"><!-- {{{ 8.0.8 --> 6740<h3>Version 8.0.8</h3> 6741<b><?php release_date('01-Jul-2021'); ?></b> 6742<ul><li>Core: 6743<ul> 6744 <li><?php bugfix(81076); ?> (incorrect debug info on Closures with implicit binds).</li> 6745 <li><?php bugfix(81068); ?> (Double free in realpath_cache_clean()).</li> 6746 <li><?php bugfix(76359); ?> (open_basedir bypass through adding "..").</li> 6747 <li><?php bugfix(81090); ?> (Typed property performance degradation with .= operator).</li> 6748 <li><?php bugfix(81070); ?> (Integer underflow in memory limit comparison).</li> 6749 <li><?php bugfix(81122); ?> (SSRF bypass in FILTER_VALIDATE_URL). (CVE-2021-21705)</li> 6750</ul></li> 6751<li>Bzip2: 6752<ul> 6753 <li><?php bugfix(81092); ?> (fflush before stream_filter_remove corrupts stream).</li> 6754</ul></li> 6755<li>Fileinfo: 6756<ul> 6757 <li><?php bugfix(80197); ?> (implicit declaration of function 'magic_stream' is invalid).</li> 6758</ul></li> 6759<li>GMP: 6760<ul> 6761 <li><?php bugfix(81119); ?> (GMP operators throw errors with wrong parameter names).</li> 6762</ul></li> 6763<li>OCI8: 6764<ul> 6765 <li><?php bugfix(81088); ?> (error in regression test for oci_fetch_object() and oci_fetch_array()).</li> 6766</ul></li> 6767<li>Opcache: 6768<ul> 6769 <li><?php bugfix(81051); ?> (Broken property type handling after incrementing reference).</li> 6770 <li><?php bugfix(80968); ?> (JIT segfault with return from required file).</li> 6771</ul></li> 6772<li>OpenSSL: 6773<ul> 6774 <li><?php bugfix(76694); ?> (native Windows cert verification uses CN as server name).</li> 6775</ul></li> 6776<li>MySQLnd: 6777<ul> 6778 <li><?php bugfix(80761); ?> (PDO uses too much memory).</li> 6779</ul></li> 6780<li>PDO_Firebird: 6781<ul> 6782 <li><?php bugfix(76448); ?> (Stack buffer overflow in firebird_info_cb). (CVE-2021-21704)</li> 6783 <li><?php bugfix(76449); ?> (SIGSEGV in firebird_handle_doer). (CVE-2021-21704)</li> 6784 <li><?php bugfix(76450); ?> (SIGSEGV in firebird_stmt_execute). (CVE-2021-21704)</li> 6785 <li><?php bugfix(76452); ?> (Crash while parsing blob data in firebird_fetch_blob). (CVE-2021-21704)</li> 6786</ul></li> 6787<li>readline: 6788<ul> 6789 <li><?php bugfix(72998); ?> (invalid read in readline completion).</li> 6790</ul></li> 6791<li>Standard: 6792<ul> 6793 <li><?php bugfix(81048); ?> (phpinfo(INFO_VARIABLES) "Array to string conversion").</li> 6794 <li><?php bugfix(77627); ?> (method_exists on Closure::__invoke inconsistency).</li> 6795</ul></li> 6796<li>Windows: 6797<ul> 6798 <li><?php bugfix(81120); ?> (PGO data for main PHP DLL are not used).</li> 6799</ul></li> 6800</ul> 6801<!-- }}} --></section> 6802 6803 6804 6805<section class="version" id="8.0.7"><!-- {{{ 8.0.7 --> 6806<h3>Version 8.0.7</h3> 6807<b><?php release_date('03-Jun-2021'); ?></b> 6808<ul><li>Core: 6809<ul> 6810 <li><?php bugfix(80960); ?> (opendir() warning wrong info when failed on Windows).</li> 6811 <li><?php bugfix(67792); ?> (HTTP Authorization schemes are treated as case-sensitive).</li> 6812 <li><?php bugfix(80972); ?> (Memory exhaustion on invalid string offset).</li> 6813</ul></li> 6814<li>FPM: 6815<ul> 6816 <li><?php bugfix(65800); ?> (Events port mechanism).</li> 6817</ul></li> 6818<li>FTP: 6819<ul> 6820 <li><?php bugfix(80901); ?> (Info leak in ftp extension).</li> 6821 <li><?php bugfix(79100); ?> (Wrong FTP error messages).</li> 6822</ul></li> 6823<li>GD: 6824<ul> 6825 <li><?php bugfix(81032); ?> (GD install is affected by external libgd installation).</li> 6826</ul></li> 6827<li>Intl: 6828<ul> 6829 <li><?php bugfix(81019); ?> (Unable to clone NumberFormatter after failed parse()).</li> 6830</ul></li> 6831<li>MBString: 6832<ul> 6833 <li><?php bugfix(81011); ?> (mb_convert_encoding removes references from arrays).</li> 6834</ul></li> 6835<li>ODBC: 6836<ul> 6837 <li><?php bugfix(80460); ?> (ODBC doesn't account for SQL_NO_TOTAL indicator).</li> 6838</ul></li> 6839<li>Opcache: 6840<ul> 6841 <li><?php bugfix(81007); ?> (JIT "not supported" on 32-bit x86 -- build problem?).</li> 6842 <li><?php bugfix(81015); ?> (Opcache optimization assumes wrong part of ternary operator in if-condition).</li> 6843 <li><?php bugfix(81046); ?> (Literal compaction merges non-equal related literals).</li> 6844</ul></li> 6845<li>PDO_MySQL: 6846<ul> 6847 <li><?php bugfix(81037); ?> (PDO discards error message text from prepared statement).</li> 6848</ul></li> 6849<li>PDO_ODBC: 6850<ul> 6851 <li><?php bugfix(44643); ?> (bound parameters ignore explicit type definitions).</li> 6852</ul></li> 6853<li>pgsql: 6854<ul> 6855 <li>Fixed php_pgsql_fd_cast() wrt. php_stream_can_cast().</li> 6856</ul></li> 6857<li>SPL: 6858<ul> 6859 <li><?php bugfix(80933); ?> (SplFileObject::DROP_NEW_LINE is broken for NUL and CR).</li> 6860</ul></li> 6861<li>XMLReader: 6862<ul> 6863 <li><?php bugfix(73246); ?> (XMLReader: encoding length not checked).</li> 6864</ul></li> 6865<li>Zip: 6866<ul> 6867 <li><?php bugfix(80863); ?> (ZipArchive::extractTo() ignores references).</li> 6868</ul></li> 6869</ul> 6870<!-- }}} --></section> 6871 6872 6873 6874<section class="version" id="8.0.6"><!-- {{{ 8.0.6 --> 6875<h3>Version 8.0.6</h3> 6876<b><?php release_date('06-May-2021'); ?></b> 6877<ul><li>PDO_pgsql: 6878<ul> 6879 <li>Revert "<?php bugfix(80892); ?> (PDO::PARAM_INT is treated the same as PDO::PARAM_STR)"</li> 6880</ul></li> 6881</ul> 6882<!-- }}} --></section> 6883 6884 6885 6886<section class="version" id="8.0.5"><!-- {{{ 8.0.5 --> 6887<h3>Version 8.0.5</h3> 6888<b><?php release_date('29-Apr-2021'); ?></b> 6889<ul><li>Core: 6890<ul> 6891 <li><?php bugfix(75776); ?> (Flushing streams with compression filter is broken).</li> 6892 <li><?php bugfix(80811); ?> (Function exec without $output but with $restult_code parameter crashes).</li> 6893 <li><?php bugfix(80814); ?> (threaded mod_php won't load on FreeBSD: No space available for static Thread Local Storage).</li> 6894 <li>Changed PowerPC CPU registers used by Zend VM to work around GCC bug. Old registers (r28/r29) might be clobbered by _restgpr routine used for return from C function compiled with -Os.</li> 6895</ul></li> 6896<li>Dba: 6897<ul> 6898 <li><?php bugfix(80817); ?> (dba_popen() may cause segfault during RSHUTDOWN).</li> 6899</ul></li> 6900<li>DOM: 6901<ul> 6902 <li><?php bugfix(66783); ?> (UAF when appending DOMDocument to element).</li> 6903</ul></li> 6904<li>FFI: 6905<ul> 6906 <li><?php bugfix(80847); ?> (CData structs with fields of type struct can't be passed as C function argument).</li> 6907</ul></li> 6908<li>FPM: 6909<ul> 6910 <li><?php bugfix(80024); ?> (Duplication of info about inherited socket after pool removing).</li> 6911</ul></li> 6912<li>FTP: 6913<ul> 6914 <li><?php bugfix(80880); ?> (SSL_read on shutdown, ftp/proc_open).</li> 6915</ul></li> 6916<li>IMAP: 6917<ul> 6918 <li><?php bugfix(80800); ?> (imap_open() fails when the flags parameter includes CL_EXPUNGE).</li> 6919 <li><?php bugfix(80710); ?> (imap_mail_compose() header injection).</li> 6920</ul></li> 6921<li>Intl: 6922<ul> 6923 <li><?php bugfix(80763); ?> (msgfmt_format() does not accept DateTime references).</li> 6924</ul></li> 6925<li>LibXML: 6926<ul> 6927 <li><?php bugfix(73533); ?> (Invalid memory access in php_libxml_xmlCheckUTF8).</li> 6928 <li><?php bugfix(51903); ?> (simplexml_load_file() doesn't use HTTP headers).</li> 6929</ul></li> 6930<li>MySQLnd: 6931<ul> 6932 <li><?php bugfix(80837); ?> (Calling stmt_store_result after fetch doesn't throw an error).</li> 6933</ul></li> 6934<li>Opcache: 6935<ul> 6936 <li><?php bugfix(80839); ?> (PHP problem with JIT).</li> 6937 <li><?php bugfix(80861); ?> (erronous array key overflow in 2D array with JIT).</li> 6938 <li><?php bugfix(80786); ?> (PHP crash using JIT).</li> 6939 <li><?php bugfix(80782); ?> (DASM_S_RANGE_VREG on PHP_INT_MIN-1).</li> 6940</ul></li> 6941<li>Pcntl: 6942<ul> 6943 <li><?php bugfix(79812); ?> (Potential integer overflow in pcntl_exec()).</li> 6944</ul></li> 6945<li>PCRE: 6946<ul> 6947 <li><?php bugfix(80866); ?> (preg_split ignores limit flag when pattern with \K has 0-width fullstring match).</li> 6948</ul></li> 6949<li>PDO_ODBC: 6950<ul> 6951 <li><?php bugfix(80783); ?> (PDO ODBC truncates BLOB records at every 256th byte).</li> 6952</ul></li> 6953<li>PDO_pgsql: 6954<ul> 6955 <li><?php bugfix(80892); ?> (PDO::PARAM_INT is treated the same as PDO::PARAM_STR).</li> 6956</ul></li> 6957<li>Session: 6958<ul> 6959 <li><?php bugfix(80889); ?> (Cannot set save handler when save_handler is invalid).</li> 6960 <li><?php bugfix(80774); ?> (session_name() problem with backslash).</li> 6961</ul></li> 6962<li>SOAP: 6963<ul> 6964 <li><?php bugfix(69668); ?> (SOAP special XML characters in namespace URIs not encoded).</li> 6965</ul></li> 6966<li>Standard: 6967<ul> 6968 <li><?php bugfix(80915); ?> (Taking a reference to $_SERVER hides its values from phpinfo()).</li> 6969 <li><?php bugfix(80914); ?> ('getdir' accidentally defined as an alias of 'dir').</li> 6970 <li><?php bugfix(80771); ?> (phpinfo(INFO_CREDITS) displays nothing in CLI).</li> 6971 <li><?php bugfix(78719); ?> (http wrapper silently ignores long Location headers).</li> 6972 <li><?php bugfix(80838); ?> (HTTP wrapper waits for HTTP 1 response after HTTP 101).</li> 6973</ul></li> 6974<li>Zip: 6975<ul> 6976 <li><?php bugfix(80825); ?> (ZipArchive::isCompressionMethodSupported does not exist).</li> 6977</ul></li> 6978</ul> 6979<!-- }}} --></section> 6980 6981 6982 6983<section class="version" id="8.0.3"><!-- {{{ 8.0.3 --> 6984<h3>Version 8.0.3</h3> 6985<b><?php release_date('04-Mar-2021'); ?></b> 6986<ul><li>Core: 6987<ul> 6988 <li><?php bugfix(80706); ?> (mail(): Headers after Bcc headers may be ignored).</li> 6989</ul></li> 6990<li>DOM: 6991<ul> 6992 <li><?php bugfix(80600); ?> (DOMChildNode::remove() doesn't work on CharacterData nodes).</li> 6993</ul></li> 6994<li>Gettext: 6995<ul> 6996 <li><?php bugfix(53251); ?> (bindtextdomain with null dir doesn't return old value).</li> 6997</ul></li> 6998<li>MySQLnd: 6999<ul> 7000 <li><?php bugfix(78680); ?> (mysqlnd's mysql_clear_password does not transmit null-terminated password).</li> 7001 <li><?php bugfix(80713); ?> (SegFault when disabling ATTR_EMULATE_PREPARES and MySQL 8.0).</li> 7002</ul></li> 7003<li>MySQLi: 7004<ul> 7005 <li><?php bugfix(74779); ?> (x() and y() truncating floats to integers).</li> 7006</ul></li> 7007<li>Opcache: 7008<ul> 7009 <li><?php bugfix(80634); ?> (write_property handler of internal classes is skipped on preloaded JITted code).</li> 7010 <li><?php bugfix(80682); ?> (opcache doesn't honour pcre.jit option).</li> 7011 <li><?php bugfix(80742); ?> (Opcache JIT makes some boolean logic unexpectedly be true).</li> 7012 <li><?php bugfix(80745); ?> (JIT produces Assert failure and UNKNOWN:0 var_dumps in code involving bitshifts).</li> 7013</ul></li> 7014<li>OpenSSL: 7015<ul> 7016 <li><?php bugfix(80747); ?> (Providing RSA key size < 512 generates key that crash PHP).</li> 7017</ul></li> 7018<li>Phar: 7019<ul> 7020 <li><?php bugfix(75850); ?> (Unclear error message wrt. __halt_compiler() w/o semicolon)</li> 7021 <li><?php bugfix(70091); ?> (Phar does not mark UTF-8 filenames in ZIP archives).</li> 7022 <li><?php bugfix(53467); ?> (Phar cannot compress large archives).</li> 7023</ul></li> 7024<li>Socket: 7025<ul> 7026 <li><?php bugfix(80723); ?> (Different sockets compare as equal (regression in 8.0)).</li> 7027</ul></li> 7028<li>SPL: 7029<ul> 7030 <li><?php bugfix(80719); ?> (Iterating after failed ArrayObject::setIteratorClass() causes Segmentation fault).</li> 7031</ul></li> 7032<li>Standard: 7033<ul> 7034 <li><?php bugfix(80654); ?> (file_get_contents() maxlen fails above (2**31)-1 bytes).</li> 7035 <li><?php bugfix(80718); ?> (ext/standard/dl.c fallback code path with syntax error).</li> 7036</ul></li> 7037</ul> 7038<!-- }}} --></section> 7039 7040 7041 7042<section class="version" id="8.0.2"><!-- {{{ 8.0.2 --> 7043<h3>Version 8.0.2</h3> 7044<b><?php release_date('04-Feb-2021'); ?></b> 7045<ul><li>Core: 7046<ul> 7047 <li><?php bugfix(80523); ?> (bogus parse error on >4GB source code).</li> 7048 <li><?php bugfix(80384); ?> (filter buffers entire read until file closed).</li> 7049 <li><?php bugfix(80596); ?> (Invalid union type TypeError in anonymous classes).</li> 7050 <li><?php bugfix(80617); ?> (GCC throws warning about type narrowing in ZEND_TYPE_INIT_CODE).</li> 7051</ul></li> 7052<li>BCMath: 7053<ul> 7054 <li><?php bugfix(80545); ?> (bcadd('a', 'a') doesn't throw an exception).</li> 7055</ul></li> 7056<li>Curl: 7057<ul> 7058 <li><?php bugfix(80595); ?> (Resetting POSTFIELDS to empty array breaks request).</li> 7059</ul></li> 7060<li>Date: 7061<ul> 7062 <li><?php bugfix(80376); ?> (last day of the month causes runway cpu usage).</li> 7063</ul></li> 7064<li>DOM: 7065<ul> 7066 <li><?php bugfix(80537); ?> (Wrong parameter type in DOMElement::removeAttributeNode stub).</li> 7067</ul></li> 7068<li>Filter: 7069<ul> 7070 <li><?php bugfix(80584); ?> (0x and 0X are considered valid hex numbers by filter_var()).</li> 7071</ul></li> 7072<li>GMP: 7073<ul> 7074 <li><?php bugfix(80560); ?> (Strings containing only a base prefix return 0 object).</li> 7075</ul></li> 7076<li>Intl: 7077<ul> 7078 <li><?php bugfix(80644); ?> (Missing resource causes subsequent get() calls to fail).</li> 7079</ul></li> 7080<li>MySQLi: 7081<ul> 7082 <li><?php bugfix(67983); ?> (mysqlnd with MYSQLI_OPT_INT_AND_FLOAT_NATIVE fails to interpret bit columns).</li> 7083 <li><?php bugfix(64638); ?> (Fetching resultsets from stored procedure with cursor fails).</li> 7084 <li><?php bugfix(72862); ?> (segfault using prepared statements on stored procedures that use a cursor).</li> 7085 <li><?php bugfix(77935); ?> (Crash in mysqlnd_fetch_stmt_row_cursor when calling an SP with a cursor).</li> 7086</ul></li> 7087<li>ODBC: 7088<ul> 7089 <li><?php bugfix(80592); ?> (all floats are the same in ODBC parameters).</li> 7090</ul></li> 7091<li>Opcache: 7092<ul> 7093 <li><?php bugfix(80422); ?> (php_opcache.dll crashes when using Apache 2.4 with JIT).</li> 7094</ul></li> 7095<li>PDO_Firebird: 7096<ul> 7097 <li><?php bugfix(80521); ?> (Parameters with underscores no longer recognized).</li> 7098</ul></li> 7099<li>Phar: 7100<ul> 7101 <li><?php bugfix(76929); ?> (zip-based phar does not respect phar.require_hash).</li> 7102 <li><?php bugfix(77565); ?> (Incorrect locator detection in ZIP-based phars).</li> 7103 <li><?php bugfix(69279); ?> (Compressed ZIP Phar extractTo() creates garbage files).</li> 7104</ul></li> 7105<li>Phpdbg: 7106<ul> 7107 <li>Reverted fix for bug <?php bugl(76813); ?> (Access violation near NULL on source operand).</li> 7108</ul></li> 7109<li>SOAP: 7110<ul> 7111 <li><?php bugfix(80672); ?> (Null Dereference in SoapClient). (CVE-2021-21702)</li> 7112</ul></li> 7113</ul> 7114<!-- }}} --></section> 7115 7116 7117 7118<section class="version" id="8.0.1"><!-- {{{ 8.0.1 --> 7119<h3>Version 8.0.1</h3> 7120<b><?php release_date('07-Jan-2021'); ?></b> 7121<ul><li>Core: 7122<ul> 7123 <li><?php bugfix(80345); ?> (PHPIZE configuration has outdated PHP_RELEASE_VERSION).</li> 7124 <li><?php bugfix(72964); ?> (White space not unfolded for CC/Bcc headers).</li> 7125 <li><?php bugfix(80391); ?> (Iterable not covariant to mixed).</li> 7126 <li><?php bugfix(80393); ?> (Build of PHP extension fails due to configuration gap with libtool).</li> 7127 <li><?php bugfix(77069); ?> (stream filter loses final block of data).</li> 7128</ul></li> 7129<li>Fileinfo: 7130<ul> 7131 <li><?php bugfix(77961); ?> (finfo_open crafted magic parsing SIGABRT).</li> 7132</ul></li> 7133<li>FPM: 7134<ul> 7135 <li><?php bugfix(69625); ?> (FPM returns 200 status on request without SCRIPT_FILENAME env).</li> 7136</ul></li> 7137<li>IMAP: 7138<ul> 7139 <li><?php bugfix(80438); ?> (imap_msgno() incorrectly warns and return false on valid UIDs in PHP 8).</li> 7140 <li>Fix a regression with valid UIDs in imap_savebody().</li> 7141 <li>Make warnings for invalid message numbers/UIDs between functions consistent.</li> 7142</ul></li> 7143<li>Intl: 7144<ul> 7145 <li><?php bugfix(80425); ?> (MessageFormatAdapter::getArgTypeList redefined).</li> 7146</ul></li> 7147<li>Opcache: 7148<ul> 7149 <li><?php bugfix(80404); ?> (Incorrect range inference result when division results in float).</li> 7150 <li><?php bugfix(80377); ?> (Opcache misses executor_globals).</li> 7151 <li><?php bugfix(80433); ?> (Unable to disable the use of the AVX command when using JIT).</li> 7152 <li><?php bugfix(80447); ?> (Strange out of memory error when running with JIT).</li> 7153 <li><?php bugfix(80480); ?> (Segmentation fault with JIT enabled).</li> 7154 <li><?php bugfix(80506); ?> (Immediate SIGSEGV upon ini_set("opcache.jit_debug", 1)).</li> 7155</ul></li> 7156<li>OpenSSL: 7157<ul> 7158 <li><?php bugfix(80368); ?> (OpenSSL extension fails to build against LibreSSL due to lack of OCB support).</li> 7159</ul></li> 7160<li>PDO MySQL: 7161<ul> 7162 <li><?php bugfix(80458); ?> (PDOStatement::fetchAll() throws for upsert queries).</li> 7163 <li><?php bugfix(63185); ?> (nextRowset() ignores MySQL errors with native prepared statements).</li> 7164 <li><?php bugfix(78152); ?> (PDO::exec() - Bad error handling with multiple commands).</li> 7165 <li><?php bugfix(66878); ?> (Multiple rowsets not returned unless PDO statement object is unset()).</li> 7166 <li><?php bugfix(70066); ?> (Unexpected "Cannot execute queries while other unbuffered queries").</li> 7167 <li><?php bugfix(71145); ?> (Multiple statements in init command triggers unbuffered query error).</li> 7168 <li><?php bugfix(76815); ?> (PDOStatement cannot be GCed/closeCursor-ed when a PROCEDURE resultset SIGNAL).</li> 7169 <li><?php bugfix(79872); ?> (Can't execute query with pending result sets).</li> 7170 <li><?php bugfix(79131); ?> (PDO does not throw an exception when parameter values are missing).</li> 7171 <li><?php bugfix(72368); ?> (PdoStatement->execute() fails but does not throw an exception).</li> 7172 <li><?php bugfix(62889); ?> (LOAD DATA INFILE broken).</li> 7173 <li><?php bugfix(67004); ?> (Executing PDOStatement::fetch() more than once prevents releasing resultset).</li> 7174 <li><?php bugfix(79132); ?> (PDO re-uses parameter values from earlier calls to execute()).</li> 7175</ul></li> 7176<li>Phar: 7177<ul> 7178 <li><?php bugfix(73809); ?> (Phar Zip parse crash - mmap fail).</li> 7179 <li><?php bugfix(75102); ?> (`PharData` says invalid checksum for valid tar).</li> 7180 <li><?php bugfix(77322); ?> (PharData::addEmptyDir('/') Possible integer overflow).</li> 7181</ul></li> 7182<li>Phpdbg: 7183<ul> 7184 <li><?php bugfix(76813); ?> (Access violation near NULL on source operand).</li> 7185</ul></li> 7186<li>SPL: 7187<ul> 7188 <li><?php bugfix(62004); ?> (SplFileObject: fgets after seek returns wrong line).</li> 7189</ul></li> 7190<li>Standard: 7191<ul> 7192 <li><?php bugfix(80366); ?> (Return Value of zend_fstat() not Checked).</li> 7193 <li><?php bugfix(77423); ?> (FILTER_VALIDATE_URL accepts URLs with invalid userinfo). (CVE-2020-7071)</li> 7194</ul></li> 7195<li>Tidy: 7196<ul> 7197 <li><?php bugfix(77594); ?> (ob_tidyhandler is never reset).</li> 7198</ul></li> 7199<li>Tokenizer: 7200<ul> 7201 <li><?php bugfix(80462); ?> (Nullsafe operator tokenize with TOKEN_PARSE flag fails).</li> 7202</ul></li> 7203<li>XML: 7204<ul> 7205 <li>XmlParser opaque object renamed to XMLParser for consistency with other XML objects.</li> 7206</ul></li> 7207<li>Zlib: 7208<ul> 7209 <li><?php bugfix(48725); ?> (Support for flushing in zlib stream).</li> 7210</ul></li> 7211</ul> 7212<!-- }}} --></section> 7213 7214 7215 7216<section class="version" id="8.0.0"><!-- {{{ 8.0.0 --> 7217<h3>Version 8.0.0</h3> 7218<b><?php release_date('26-Nov-2020'); ?></b> 7219<ul><li>BZ2: 7220<ul> 7221 <li><?php bugfix(71263); ?> (fread() does not report bzip2.decompress errors).</li> 7222</ul></li> 7223<li>CLI: 7224<ul> 7225 <li>Allow debug server binding to an ephemeral port via `-S localhost:0`.</li> 7226</ul></li> 7227<li>COM: 7228<ul> 7229 <li><?php bugfix(55847); ?> (DOTNET .NET 4.0 GAC new location).</li> 7230 <li><?php bugfix(62474); ?> (com_event_sink crashes on certain arguments).</li> 7231</ul></li> 7232<li>Calendar: 7233<ul> 7234 <li><?php bugfix(80007); ?> (Potential type confusion in unixtojd() parameter parsing).</li> 7235</ul></li> 7236<li>Core: 7237<ul> 7238 <li><?php bugfix(36365); ?> (scandir duplicates file name at every 65535th file).</li> 7239 <li><?php bugfix(49555); ?> (Fatal error "Function must be a string" message should be renamed).</li> 7240 <li><?php bugfix(62294); ?> (register_shutdown_function() does not correctly handle exit code).</li> 7241 <li><?php bugfix(62609); ?> (Allow implementing Traversable on abstract classes).</li> 7242 <li><?php bugfix(65274); ?> (Enhance undefined class constant error with class name).</li> 7243 <li><?php bugfix(65275); ?> (Calling exit() in a shutdown function does not change the exit value in CLI).</li> 7244 <li><?php bugfix(69084); ?> (Unclear error message when not implementing a renamed abstract trait function).</li> 7245 <li><?php bugfix(70839); ?> (Converting optional argument to variadic forbidden by LSP checks).</li> 7246 <li><?php bugfix(74558); ?> (Can't rebind closure returned by Closure::fromCallable()).</li> 7247 <li><?php bugfix(77561); ?> (Shebang line not stripped for non-primary script).</li> 7248 <li><?php bugfix(77619); ?> (Wrong reflection on MultipleIterator::__construct).</li> 7249 <li><?php bugfix(77966); ?> (Cannot alias a method named "namespace").</li> 7250 <li><?php bugfix(78236); ?> (convert error on receiving variables when duplicate [).</li> 7251 <li><?php bugfix(78770); ?> (Incorrect callability check inside internal methods).</li> 7252 <li><?php bugfix(79108); ?> (Referencing argument in a function makes it a reference in the stack trace).</li> 7253 <li><?php bugfix(79368); ?> ("Unexpected end of file" is not an acceptable error message).</li> 7254 <li><?php bugfix(79462); ?> (method_exists and property_exists incoherent behavior).</li> 7255 <li><?php bugfix(79467); ?> (data:// wrappers are writable).</li> 7256 <li><?php bugfix(79521); ?> (Check __set_state structure).</li> 7257 <li><?php bugfix(79790); ?> ("Illegal offset type" exception during AST evaluation not handled properly).</li> 7258 <li><?php bugfix(79791); ?> (Assertion failure when unsetting variable during binary op).</li> 7259 <li><?php bugfix(79828); ?> (Segfault when trying to access non-existing variable).</li> 7260 <li><?php bugfix(79841); ?> (Syntax error in configure / unescaped "[]" in php.m4).</li> 7261 <li><?php bugfix(79852); ?> (count(DOMNodeList) doesn't match count(IteratorIterator(DOMNodeList))).</li> 7262 <li><?php bugfix(79867); ?> (Promoted untyped properties should get null default value).</li> 7263 <li><?php bugfix(79897); ?> (Promoted constructor params with attribs cause crash).</li> 7264 <li><?php bugfix(79927); ?> (Generator doesn't throw exception after multiple yield from iterable).</li> 7265 <li><?php bugfix(79946); ?> (Build fails due to undeclared UINT32_C).</li> 7266 <li><?php bugfix(79948); ?> (Exit in auto-prepended file does not abort PHP execution).</li> 7267 <li><?php bugfix(80045); ?> (memleak after two set_exception_handler calls with __call).</li> 7268 <li><?php bugfix(80096); ?> (Segmentation fault with named arguments in nested call).</li> 7269 <li><?php bugfix(80109); ?> (Cannot skip arguments when extended debug is enabled).</li> 7270 <li><?php bugfix(80225); ?> (broken namespace usage in eval code).</li> 7271 <li><?php bugfix(80258); ?> (Windows Deduplication Enabled, randon permission errors).</li> 7272 <li><?php bugfix(80280); ?> (ADD_EXTENSION_DEP() fails for ext/standard and ext/date).</li> 7273 <li><?php bugfix(80334); ?> (assert() vs named parameters - confusing error).</li> 7274 <li><?php bugfix(80055); ?> (Abstract trait methods returning "self" cannot be fulfilled by traits).</li> 7275 <li>Fixed faulty generator cleanup with yield from.</li> 7276 <li>Implement #[Attr] Attribute syntax as per final vote in RFC https://wiki.php.net/rfc/shorter_attribute_syntax_change</li> 7277 <li><?php implemented(47074); ?> (phpinfo() reports "On" as 1 for the some extensions).</li> 7278 <li><?php implemented(72089); ?> (require() throws fatal error instead of exception).</li> 7279 <li>Removed the pdo_odbc.db2_instance_name php.ini directive.</li> 7280 <li>Use SSE2 instructions do locale independent strtolower.</li> 7281</ul></li> 7282<li>Curl: 7283<ul> 7284 <li>Bumped required libcurl version to 7.29.0.</li> 7285 <li><?php bugfix(80121); ?> (Null pointer deref if CurlHandle directly instantiated).</li> 7286</ul></li> 7287<li>DOM: 7288<ul> 7289 <li>Add property DOMXPath::$registerNodeNamespaces and constructor argument that allow global flag to configure query() or evaluate() calls.</li> 7290 <li><?php bugfix(79968); ?> (DOMChildNode API crash on unattached nodes).</li> 7291 <li><?php bugfix(80268); ?> (loadHTML() truncates at NUL bytes).</li> 7292</ul></li> 7293<li>Date: 7294<ul> 7295 <li><?php bugfix(60302); ?> (DateTime::createFromFormat should new static(), not new self()).</li> 7296 <li><?php bugfix(65547); ?> (Default value for sunrise/sunset zenith still wrong).</li> 7297 <li><?php bugfix(69044); ?> (discrepancy between time and microtime).</li> 7298 <li><?php bugfix(80057); ?> (DateTimeImmutable::createFromFormat() does not populate time).</li> 7299 <li><?php implemented(79903); ?> (datetime: new format "p", same as "P" but returning "Z" for UTC).</li> 7300</ul></li> 7301<li>Enchant: 7302<ul> 7303 <li>Add LIBENCHANT_VERSION macro.</li> 7304 <li>Add enchant_dict_add and enchant_dict_is_added functions.</li> 7305 <li>Deprecate enchant_broker_set_dict_path, enchant_broker_get_dict_path, enchant_dict_add_to_personal and enchant_dict_is_in_session.</li> 7306 <li>Use libenchant-2 when available.</li> 7307</ul></li> 7308<li>FFI: 7309<ul> 7310 <li>Added FFI\CType::getName() method.</li> 7311 <li><?php bugfix(79177); ?> (FFI doesn't handle well PHP exceptions within callback).</li> 7312 <li><?php bugfix(79749); ?> (Converting FFI instances to bool fails).</li> 7313</ul></li> 7314<li>FPM: 7315<ul> 7316 <li>Add pm.status_listen option.</li> 7317</ul></li> 7318<li>Fileinfo: 7319<ul> 7320 <li>Upgrade to libmagic 5.39.</li> 7321</ul></li> 7322<li>GD: 7323<ul> 7324 <li>Added imagegetinterpolation().</li> 7325 <li><?php bugfix(55005); ?> (imagepolygon num_points requirement).</li> 7326 <li>Made the $num_points parameter of php_imagepolygon optional.</li> 7327 <li>Removed deprecated image2wbmp().</li> 7328 <li>Removed deprecated png2wbmp() and jpeg2wbmp().</li> 7329 <li>Replaced gd resources with objects.</li> 7330</ul></li> 7331<li>IMAP: 7332<ul> 7333 <li><?php bugfix(64076); ?> (imap_sort() does not return FALSE on failure).</li> 7334 <li><?php bugfix(76618); ?> (segfault on imap_reopen).</li> 7335 <li><?php bugfix(80213); ?> (imap_mail_compose() segfaults on certain $bodies).</li> 7336 <li><?php bugfix(80215); ?> (imap_mail_compose() may modify by-val parameters).</li> 7337 <li><?php bugfix(80216); ?> (imap_mail_compose() does not validate types/encodings).</li> 7338 <li><?php bugfix(80220); ?> (imap_mail_compose() may leak memory).</li> 7339 <li><?php bugfix(80223); ?> (imap_mail_compose() leaks envelope on malformed bodies).</li> 7340 <li><?php bugfix(80226); ?> (imap_sort() leaks sortpgm memory).</li> 7341 <li><?php bugfix(80239); ?> (imap_rfc822_write_address() leaks memory).</li> 7342 <li><?php bugfix(80242); ?> (imap_mail_compose() segfaults for multipart with rfc822).</li> 7343 <li>Fixed minor regression caused by fixing bug <?php bugl(80220); ?>.</li> 7344</ul></li> 7345<li>Iconv: 7346<ul> 7347 <li>Dropped support for iconv without proper errno setting.</li> 7348</ul></li> 7349<li>Intl: 7350<ul> 7351 <li>Removed deprecated INTL_IDNA_VARIANT_2003.</li> 7352</ul></li> 7353<li>JIT: 7354<ul> 7355 <li><?php bugfix(77857); ?> (Wrong result if executed with JIT).</li> 7356 <li><?php bugfix(79255); ?> (PHP cannot be compiled with enable JIT).</li> 7357 <li><?php bugfix(79582); ?> (Crash seen when opcache.jit=1235 and opcache.jit_debug=2).</li> 7358 <li><?php bugfix(79743); ?> (Fatal error when assigning to array property with JIT enabled).</li> 7359 <li><?php bugfix(79864); ?> (JIT segfault in Symfony OptionsResolver).</li> 7360 <li><?php bugfix(79888); ?> (Incorrect execution with JIT enabled).</li> 7361</ul></li> 7362<li>JSON: 7363<ul> 7364 <li>The JSON extension is now an integral part of PHP and cannot be disabled as per RFC: https://wiki.php.net/rfc/always_enable_json (tandre)</li> 7365</ul></li> 7366<li>LDAP: 7367<ul> 7368 <li>Fixed memory leaks.</li> 7369 <li>Removed deprecated ldap_sort.</li> 7370</ul></li> 7371<li>MBString: 7372<ul> 7373 <li><?php bugfix(76999); ?> (mb_regex_set_options() return current options).</li> 7374 <li>Removed the unused $is_hex parameter from mb_decode_numericentity().</li> 7375</ul></li> 7376<li>MySQLi: 7377<ul> 7378 <li><?php bugfix(76809); ?> (SSL settings aren't respected when persistent connections are used).</li> 7379</ul></li> 7380<li>Mysqlnd: 7381<ul> 7382 <li><?php bugfix(60594); ?> (mysqlnd exposes 160 lines of stats in phpinfo).</li> 7383</ul></li> 7384<li>OCI8: 7385<ul> 7386 <li>Deprecated old OCI8 function aliases.</li> 7387 <li>Modernized oci_register_taf_callback() callable argument parsing implementation.</li> 7388 <li>Removed obsolete no-op function oci_internal_debug().</li> 7389</ul></li> 7390<li>ODBC: 7391<ul> 7392 <li><?php bugfix(22986); ?> (odbc_connect() may reuse persistent connection).</li> 7393 <li><?php bugfix(44618); ?> (Fetching may rely on uninitialized data).</li> 7394</ul></li> 7395<li>Opcache: 7396<ul> 7397 <li><?php bugfix(76535); ?> (Opcache does not replay compile-time warnings).</li> 7398 <li><?php bugfix(78654); ?> (Incorrectly computed opcache checksum on files with non-ascii characters).</li> 7399 <li><?php bugfix(79665); ?> (ini_get() and opcache_get_configuration() inconsistency).</li> 7400 <li><?php bugfix(80030); ?> (Optimizer segfault with isset on static property with undef dynamic class name).</li> 7401 <li><?php bugfix(80175); ?> (PHP8 RC1 - JIT Buffer not working).</li> 7402 <li><?php bugfix(80184); ?> (Complex expression in while / if statements resolves to false incorrectly).</li> 7403 <li><?php bugfix(80255); ?> (Opcache bug (bad condition result) in 8.0.0rc1).</li> 7404 <li>Fixed run-time binding of preloaded dynamically declared function.</li> 7405</ul></li> 7406<li>OpenSSL: 7407<ul> 7408 <li>Added Cryptographic Message Syntax (CMS) support.</li> 7409</ul></li> 7410<li>PCRE: 7411<ul> 7412 <li>Don't ignore invalid escape sequences.</li> 7413 <li>Updated to PCRE2 10.35.</li> 7414</ul></li> 7415<li>PDO: 7416<ul> 7417 <li>Changed default PDO error mode to exceptions.</li> 7418 <li><?php bugfix(77849); ?> (Disable cloning of PDO handle/connection objects).</li> 7419</ul></li> 7420<li>PDO_Firebird: 7421<ul> 7422 <li><?php bugfix(64937); ?> (Firebird PDO preprocessing sql).</li> 7423</ul></li> 7424<li>PDO_OCI: 7425<ul> 7426 <li>Added support for setting and getting the oracle OCI 18c call timeout.</li> 7427</ul></li> 7428<li>PDO_PGSQL: 7429<ul> 7430 <li>Bumped required libpq version to 9.1.</li> 7431</ul></li> 7432<li>PGSQL: 7433<ul> 7434 <li>Bumped required libpq version to 9.1.</li> 7435</ul></li> 7436<li>Phpdbg: 7437<ul> 7438 <li><?php bugfix(76596); ?> (phpdbg support for display_errors=stderr).</li> 7439 <li><?php bugfix(76801); ?> (too many open files).</li> 7440 <li><?php bugfix(77800); ?> (phpdbg segfaults on listing some conditional breakpoints).</li> 7441 <li><?php bugfix(77805); ?> (phpdbg build fails when readline is shared).</li> 7442</ul></li> 7443<li>Reflection: 7444<ul> 7445 <li><?php bugfix(64592); ?> (ReflectionClass::getMethods() returns methods out of scope).</li> 7446 <li><?php bugfix(69180); ?> (Reflection does not honor trait conflict resolution / method aliasing).</li> 7447 <li><?php bugfix(74939); ?> (Nested traits' aliased methods are lowercased).</li> 7448 <li><?php bugfix(77325); ?> (ReflectionClassConstant::$class returns wrong class when extending).</li> 7449 <li><?php bugfix(78697); ?> (ReflectionClass::implementsInterface - inaccurate error message with traits).</li> 7450 <li><?php bugfix(80190); ?> (ReflectionMethod::getReturnType() does not handle static as part of union type).</li> 7451 <li><?php bugfix(80299); ?> (ReflectionFunction->invokeArgs confused in arguments).</li> 7452 <li><?php bugfix(80370); ?> (getAttributes segfault on dynamic properties).</li> 7453 <li><?php implemented(79628); ?> (Add $filter parameter for ReflectionClass::getConstants and ReflectionClass::getReflectionConstants) (carusogabriel)</li> 7454 <li>Implement ReflectionProperty::hasDefaultValue and Reflection::getDefaultValue (beberlei)</li> 7455</ul></li> 7456<li>SNMP: 7457<ul> 7458 <li><?php bugfix(70461); ?> (disable md5 code when it is not supported in net-snmp).</li> 7459</ul></li> 7460<li>SPL: 7461<ul> 7462 <li><?php bugfix(65006); ?> (spl_autoload_register fails with multiple callables using self, same method).</li> 7463 <li><?php bugfix(65387); ?> (Circular references in SPL iterators are not garbage collected).</li> 7464 <li><?php bugfix(71236); ?> (Second call of spl_autoload_register() does nothing if it has no arguments).</li> 7465 <li><?php bugfix(79987); ?> (Memory leak in SplFileInfo because of missing zend_restore_error_handling()).</li> 7466 <li>SplFixedArray is now IteratorAggregate rather than Iterator.</li> 7467</ul></li> 7468<li>SQLite3: 7469<ul> 7470 <li>Added SQLite3::setAuthorizer() and respective class constants.</li> 7471</ul></li> 7472<li>Session: 7473<ul> 7474 <li><?php bugfix(73529); ?> (session_decode() silently fails on wrong input).</li> 7475 <li><?php bugfix(78624); ?> (session_gc return value for user defined session handlers).</li> 7476</ul></li> 7477<li>Shmop: 7478<ul> 7479 <li>Converted shmop resources to objects.</li> 7480</ul></li> 7481<li>SimpleXML: 7482<ul> 7483 <li><?php bugfix(63575); ?> (Root elements are not properly cloned).</li> 7484 <li><?php bugfix(75245); ?> (Don't set content of elements with only whitespaces).</li> 7485</ul></li> 7486<li>Sodium: 7487<ul> 7488 <li><?php bugfix(77646); ?> (sign_detached() strings not terminated).</li> 7489</ul></li> 7490<li>Standard: 7491<ul> 7492 <li>Don't force rebuild of symbol table, when populating $http_response_header variable by the HTTP stream wrapper.</li> 7493 <li><?php bugfix(47983); ?> (mixed LF and CRLF line endings in mail()).</li> 7494 <li><?php bugfix(64060); ?> (lstat_stat_variation7.phpt fails on certain file systems).</li> 7495 <li><?php bugfix(75902); ?> (str_replace should warn when misused with nested arrays).</li> 7496 <li><?php bugfix(76859); ?> (stream_get_line skips data if used with data-generating filter).</li> 7497 <li><?php bugfix(77204); ?> (getimagesize(): Read error! should mention file path).</li> 7498 <li><?php bugfix(78385); ?> (parse_url() does not include 'query' when question mark is the last char).</li> 7499 <li><?php bugfix(79868); ?> (Sorting with array_unique gives unwanted result).</li> 7500 <li><?php bugfix(80256); ?> (file_get_contents strip first line with chunked encoding redirect).</li> 7501 <li><?php bugfix(80266); ?> (parse_url silently drops port number 0).</li> 7502 <li><?php bugfix(80290); ?> (Double free when ASSERT_CALLBACK is used with a dynamic message).</li> 7503 <li><?php implemented(78638); ?> (__PHP_Incomplete_Class should be final).</li> 7504 <li>Made quoting of cmd execution functions consistent.</li> 7505</ul></li> 7506<li>Tidy: 7507<ul> 7508 <li>Removed the unused $use_include_path parameter from tidy_repair_string().</li> 7509</ul></li> 7510<li>Tokenizer: 7511<ul> 7512 <li><?php bugfix(80328); ?> (PhpToken::getAll() confusing name).</li> 7513</ul></li> 7514<li>XML: 7515<ul> 7516 <li><?php bugfix(76874); ?> (xml_parser_free() should never leak memory).</li> 7517</ul></li> 7518<li>XMLWriter: 7519<ul> 7520 <li>Changed functions to accept/return XMLWriter objects instead of resources.</li> 7521 <li><?php implemented(79344); ?> (xmlwriter_write_attribute_ns: $prefix should be nullable).</li> 7522 <li>Removed return types from XMLWriter stubs.</li> 7523</ul></li> 7524<li>Zip: 7525<ul> 7526 <li>Add "flags" options to ZipArchive::addGlob and addPattern methods keeping previous behavior having FL_OVERWRITE by default.</li> 7527 <li>Add ZipArchive::EM_UNKNOWN and ZipArchive::EM_TRAD_PKWARE constants.</li> 7528 <li>Add ZipArchive::isCompressionMethodSupported() and ZipArchive::isEncryptionMethodSupported() method (libzip 1.7.0).</li> 7529 <li>Add ZipArchive::replaceFile() method.</li> 7530 <li>Add ZipArchive::setCancelCallback method (since libzip 1.6.0).</li> 7531 <li>Add ZipArchive::setMtimeName and ZipArchive::setMtimeIndex methods.</li> 7532 <li>Add ZipArchive::setProgressCallback method (since libzip 1.3.0).</li> 7533 <li>Add lastId property to ZipArchive.</li> 7534 <li>Add optional "flags" parameter to ZipArchive::addEmptyDir, addFile and addFromString methods.</li> 7535 <li><?php bugfix(50678); ?> (files extracted by ZipArchive class lost their original modified time).</li> 7536 <li><?php bugfix(72374); ?> (remove_path strips first char of filename).</li> 7537 <li><?php implemented(77960); ?> (add compression / encryption options for ZipArchive::addGlob and ZipArchive::addPattern).</li> 7538 <li>ZipArchive::status and ZipArchive::statusSys properties and ZipArchive::getStatusString() method stay valid after the archive is closed.</li> 7539</ul></li> 7540<li>Zlib: 7541<ul> 7542 <li><?php bugfix(71417); ?> (fread() does not report zlib.inflate errors).</li> 7543 <li><?php bugfix(78792); ?> (zlib.output_compression disabled by Content-Type: image/).</li> 7544</ul></li> 7545</ul> 7546<!-- }}} --></section> 7547 7548<?php 7549changelog_footer(8, $MINOR_VERSIONS); 7550