xref: /web-php/ChangeLog-8.php (revision 97f5bbe6)
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.6"><!-- {{{ 8.3.6 -->
12<h3>Version 8.3.6</h3>
13<b><?php release_date('11-Apr-2024'); ?></b>
14<ul><li>Core:
15<ul>
16  <li>Fixed <?php githubissuel('php/php-src', 13569); ?> (GC buffer unnecessarily grows up to GC_MAX_BUF_SIZE when scanning WeakMaps).</li>
17  <li>Fixed bug <?php githubissuel('php/php-src', 13612); ?> (Corrupted memory in destructor with weak references).</li>
18  <li>Fixed bug <?php githubissuel('php/php-src', 13446); ?> (Restore exception handler after it finishes).</li>
19  <li>Fixed bug <?php githubissuel('php/php-src', 13784); ?> (AX_GCC_FUNC_ATTRIBUTE failure).</li>
20  <li>Fixed bug <?php githubissuel('php/php-src', 13670); ?> (GC does not scale well with a lot of objects created in destructor).</li>
21</ul></li>
22<li>DOM:
23<ul>
24  <li>Add some missing ZPP checks.</li>
25  <li>Fix potential memory leak in XPath evaluation results.</li>
26</ul></li>
27<li>FPM:
28<ul>
29  <li>Fixed <?php githubissuel('php/php-src', 11086); ?> (FPM: config test runs twice in daemonised mode).</li>
30  <li>Fix incorrect check in fpm_shm_free().</li>
31</ul></li>
32<li>GD:
33<ul>
34  <li>Fixed bug <?php githubissuel('php/php-src', 12019); ?> (add GDLIB_CFLAGS in feature tests).</li>
35</ul></li>
36<li>Gettext:
37<ul>
38  <li>Fixed sigabrt raised with dcgettext/dcngettext calls with gettext 0.22.5 with category set to LC_ALL.</li>
39</ul></li>
40<li>MySQLnd:
41<ul>
42  <li>Fix <?php githubissuel('php/php-src', 13452); ?> (Fixed handshake response [mysqlnd]).</li>
43  <li>Fix incorrect charset length in check_mb_eucjpms().</li>
44</ul></li>
45<li>Opcache:
46<ul>
47  <li>Fixed <?php githubissuel('php/php-src', 13508); ?> (JITed QM_ASSIGN may be optimized out when op1 is null).</li>
48  <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>
49</ul></li>
50<li>Random:
51<ul>
52  <li>Fixed bug <?php githubissuel('php/php-src', 13544); ?> (Pre-PHP 8.2 compatibility for mt_srand with unknown modes).</li>
53  <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>
54</ul></li>
55<li>Session:
56<ul>
57  <li>Fixed bug <?php githubissuel('php/php-src', 13680); ?> (Segfault with session_decode and compilation error).</li>
58</ul></li>
59<li>SPL:
60<ul>
61  <li>Fixed bug <?php githubissuel('php/php-src', 13685); ?> (Unexpected null pointer in zend_string.h).</li>
62</ul></li>
63<li>Standard:
64<ul>
65  <li>Fixed bug <?php githubissuel('php/php-src', 11808); ?> (Live filesystem modified by tests).</li>
66  <li>Fixed <?php githubissuel('php/php-src', 13402); ?> (Added validation of `\n` in $additional_headers of mail()).</li>
67  <li>Fixed bug <?php githubissuel('php/php-src', 13203); ?> (file_put_contents fail on strings over 4GB on Windows).</li>
68  <li>Fixed bug GHSA-pc52-254m-w9w7 (Command injection via array-ish $command parameter of proc_open). (CVE-2024-1874)</li>
69  <li>Fixed bug GHSA-wpj3-hf5j-x4v4 (__Host-/__Secure- cookie bypass due to partial CVE-2022-31629 fix). (CVE-2024-2756)</li>
70  <li>Fixed bug GHSA-h746-cjrr-wfmr (password_verify can erroneously return true, opening ATO risk). (CVE-2024-3096)</li>
71  <li>Fixed bug GHSA-fjp9-9hwx-59fq (mb_encode_mimeheader runs endlessly for some inputs). (CVE-2024-2757)</li>
72  <li>Fix bug <?php githubissuel('php/php-src', 13932); ?> (Attempt to fix mbstring on windows build) (msvc).</li>
73</ul></li>
74</ul>
75<!-- }}} --></section>
76
77
78
79<section class="version" id="8.3.4"><!-- {{{ 8.3.4 -->
80<h3>Version 8.3.4</h3>
81<b><?php release_date('14-Mar-2024'); ?></b>
82<ul><li>Core:
83<ul>
84  <li>Fix ZTS persistent resource crashes on shutdown.</li>
85</ul></li>
86<li>Curl:
87<ul>
88  <li>Fix failing tests due to string changes in libcurl 8.6.0.</li>
89</ul></li>
90<li>DOM:
91<ul>
92  <li>Fix unlikely memory leak in case of namespace removal with extremely deep trees.</li>
93  <li>Fix reference access in dimensions for DOMNodeList and DOMNodeMap.</li>
94</ul></li>
95<li>Fileinfo:
96<ul>
97  <li>Fixed bug <?php githubissuel('php/php-src', 13344); ?> (finfo::buffer(): Failed identify data 0:(null), backport).</li>
98</ul></li>
99<li>FPM:
100<ul>
101  <li><?php bugfix(75712); ?> (getenv in php-fpm should not read $_ENV, $_SERVER).</li>
102</ul></li>
103<li>GD:
104<ul>
105  <li>Fixed bug <?php githubissuel('php/php-src', 12019); ?> (detection of image formats in system gd library).</li>
106</ul></li>
107<li>MySQLnd:
108<ul>
109  <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>
110</ul></li>
111<li>PDO:
112<ul>
113  <li>Fix various PDORow bugs.</li>
114</ul></li>
115<li>PGSQL:
116<ul>
117  <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>
118</ul></li>
119<li>SPL:
120<ul>
121  <li>Fixed bug <?php githubissuel('php/php-src', 13531); ?> (Unable to resize SplfixedArray after being unserialized in PHP 8.2.15).</li>
122</ul></li>
123<li>Standard:
124<ul>
125  <li>Fixed bug <?php githubissuel('php/php-src', 13279); ?> (Instable array during in-place modification in uksort).</li>
126  <li>Fixed array key as hash to string (case insensitive) comparison typo for the second operand buffer size (albeit unused for now).</li>
127</ul></li>
128<li>XML:
129<ul>
130  <li>Fixed bug <?php githubissuel('php/php-src', 13517); ?> (Multiple test failures when building with --with-expat).</li>
131</ul></li>
132</ul>
133<!-- }}} --></section>
134
135
136
137<section class="version" id="8.3.3"><!-- {{{ 8.3.3 -->
138<h3>Version 8.3.3</h3>
139<b><?php release_date('15-Feb-2024'); ?></b>
140<ul><li>Core:
141<ul>
142  <li>Fixed timer leak in zend-max-execution-timers builds.</li>
143  <li>Fixed bug <?php githubissuel('php/php-src', 12349); ?> (linking failure on ARM with mold).</li>
144  <li>Fixed bug <?php githubissuel('php/php-src', 13097); ?> (Anonymous class reference in trigger_error / thrown Exception).</li>
145  <li>Fixed bug <?php githubissuel('php/php-src', 13177); ?> (PHP 8.3.2: final private constructor not allowed when used in trait).</li>
146  <li>Fixed bug <?php githubissuel('php/php-src', 13215); ?> (GCC 14 build failure).</li>
147</ul></li>
148<li>Curl:
149<ul>
150  <li>Fix missing error check in curl_multi_init().</li>
151</ul></li>
152<li>FPM:
153<ul>
154  <li>Fixed bug <?php githubissuel('php/php-src', 12996); ?> (Incorrect SCRIPT_NAME with Apache ProxyPassMatch when plus in path).</li>
155</ul></li>
156<li>GD:
157<ul>
158  <li>Fixed bug <?php githubissuel('php/php-src', 10344); ?> (imagettfbbox(): Could not find/open font UNC path).</li>
159  <li>Fixed bug <?php githubissuel('php/php-src', 10614); ?> (imagerotate will turn the picture all black, when rotated 90).</li>
160</ul></li>
161<li>LibXML:
162<ul>
163  <li>Fix crashes with entity references and predefined entities.</li>
164</ul></li>
165<li>MySQLnd:
166<ul>
167  <li>Fixed bug <?php githubissuel('php/php-src', 12107); ?> (When running a stored procedure (that returns a result set) twice, PHP crashes).</li>
168</ul></li>
169<li>Opcache:
170<ul>
171  <li>Fixed bug <?php githubissuel('php/php-src', 13145); ?> (strtok() is not comptime).</li>
172  <li>Fixed type inference of range().</li>
173  <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>
174</ul></li>
175<li>OpenSSL:
176<ul>
177  <li>Fixed LibreSSL undefined reference when OPENSSL_NO_ENGINE not set. (David Carlier).</li>
178</ul></li>
179<li>PDO_Firebird:
180<ul>
181  <li>Fix <?php githubissuel('php/php-src', 13119); ?> (Changed to convert float and double values ​​into strings using `H` format).</li>
182</ul></li>
183<li>Phar:
184<ul>
185  <li><?php bugfix(71465); ?> (PHAR doesn't know about litespeed).</li>
186  <li>Fixed bug <?php githubissuel('php/php-src', 13037); ?> (PharData incorrectly extracts zip file).</li>
187</ul></li>
188<li>Random:
189<ul>
190  <li>Fixed bug <?php githubissuel('php/php-src', 13138); ?> (Randomizer::pickArrayKeys() does not detect broken engines).</li>
191</ul></li>
192<li>Session:
193<ul>
194  <li>Fixed bug <?php githubissuel('php/php-src', 12504); ?> (Corrupted session written when there's a fatal error in autoloader).</li>
195</ul></li>
196<li>Standard:
197<ul>
198  <li>Fixed bug <?php githubissuel('php/php-src', 13094); ?> (range(9.9, '0') causes segmentation fault).</li>
199</ul></li>
200<li>Streams:
201<ul>
202  <li>Fixed bug <?php githubissuel('php/php-src', 13071); ?> (Copying large files using mmap-able source streams may exhaust available memory and fail).</li>
203</ul></li>
204</ul>
205<!-- }}} --></section>
206
207
208
209<section class="version" id="8.3.2"><!-- {{{ 8.3.2 -->
210<h3>Version 8.3.2</h3>
211<b><?php release_date('18-Jan-2024'); ?></b>
212<ul><li>Core:
213<ul>
214  <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>
215  <li>Fixed bug <?php githubissuel('php/php-src', 12999); ?> (zend_strnlen build when strnlen is unsupported).</li>
216  <li>Fixed bug <?php githubissuel('php/php-src', 12966); ?> (missing cross-compiling 3rd argument so Autoconf doesn't emit warnings).</li>
217  <li>Fixed bug <?php githubissuel('php/php-src', 12854); ?> (8.3 - as final trait-used method does not correctly report visibility in Reflection).</li>
218</ul></li>
219<li>Cli:
220<ul>
221  <li>Fix incorrect timeout in built-in web server when using router script and max_input_time.</li>
222</ul></li>
223<li>DOM:
224<ul>
225  <li>Fixed bug <?php githubissuel('php/php-src', 12870); ?> (Creating an xmlns attribute results in a DOMException).</li>
226  <li>Fix crash when toggleAttribute() is used without a document.</li>
227  <li>Fix crash in adoptNode with attribute references.</li>
228  <li>Fixed bug <?php githubissuel('php/php-src', 13012); ?> (DOMNode::isEqualNode() is incorrect when attribute order is different).</li>
229</ul></li>
230<li>FFI:
231<ul>
232  <li>Fixed bug <?php githubissuel('php/php-src', 9698); ?> (stream_wrapper_register crashes with FFI\CData).</li>
233  <li>Fixed bug <?php githubissuel('php/php-src', 12905); ?> (FFI::new interacts badly with observers).</li>
234</ul></li>
235<li>Intl:
236<ul>
237  <li>Fixed <?php githubissuel('php/php-src', 12943); ?> (IntlDateFormatter::__construct accepts 'C' as valid locale).</li>
238</ul></li>
239<li>Hash:
240<ul>
241  <li>Fixed bug <?php githubissuel('php/php-src', 12936); ?> (hash() function hangs endlessly if using sha512 on strings &gt;= 4GiB).</li>
242</ul></li>
243<li>ODBC:
244<ul>
245  <li>Fix crash on Apache shutdown with persistent connections.</li>
246</ul></li>
247<li>Opcache:
248<ul>
249  <li>Fixed oss-fuzz #64727 (JIT undefined array key warning may overwrite DIM with NULL when DIM is the same var as result).</li>
250  <li>Added workaround for SELinux mprotect execheap issue. See https://bugzilla.kernel.org/show_bug.cgi?id=218258.</li>
251</ul></li>
252<li>OpenSSL:
253<ul>
254  <li>Fixed bug <?php githubissuel('php/php-src', 12987); ?> (openssl_csr_sign might leak new cert on error).</li>
255</ul></li>
256<li>PDO:
257<ul>
258  <li>Fix <?php githubissuel('php/php-src', 12969); ?> (Fixed PDO::getAttribute() to get PDO::ATTR_STRINGIFY_FETCHES).</li>
259</ul></li>
260<li>PDO_ODBC:
261<ul>
262  <li>Fixed bug <?php githubissuel('php/php-src', 12767); ?> (Unable to turn on autocommit mode with setAttribute()).</li>
263</ul></li>
264<li>PGSQL:
265<ul>
266  <li>Fixed auto_reset_persistent handling and allow_persistent type.</li>
267  <li>Fixed bug <?php githubissuel('php/php-src', 12974); ?> (Apache crashes on shutdown when using pg_pconnect()).</li>
268</ul></li>
269<li>Phar:
270<ul>
271  <li><?php bugfix(77432); ?> (Segmentation fault on including phar file).</li>
272</ul></li>
273<li>PHPDBG:
274<ul>
275  <li>Fixed bug <?php githubissuel('php/php-src', 12962); ?> (Double free of init_file in phpdbg_prompt.c).</li>
276</ul></li>
277<li>SimpleXML:
278<ul>
279  <li>Fix getting the address of an uninitialized property of a SimpleXMLElement resulting in a crash.</li>
280  <li>Fixed bug <?php githubissuel('php/php-src', 12929); ?> (SimpleXMLElement with stream_wrapper_register can segfault).</li>
281</ul></li>
282<li>Tidy:
283<ul>
284  <li>Fixed bug <?php githubissuel('php/php-src', 12980); ?> (tidynode.props.attribute is missing "Boolean Attributes" and empty attributes).</li>
285</ul></li>
286</ul>
287<!-- }}} --></section>
288
289
290
291<section class="version" id="8.3.1"><!-- {{{ 8.3.1 -->
292<h3>Version 8.3.1</h3>
293<b><?php release_date('21-Dec-2023'); ?></b>
294<ul><li>Core:
295<ul>
296  <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>
297  <li>Fix various missing NULL checks.</li>
298  <li>Fixed bug <?php githubissuel('php/php-src', 12835); ?> (Leak of call-&gt;extra_named_params on internal __call).</li>
299  <li>Fixed bug <?php githubissuel('php/php-src', 12826); ?> (Weird pointers issue in nested loops).</li>
300</ul></li>
301<li>FPM:
302<ul>
303  <li>Fixed bug <?php githubissuel('php/php-src', 12705); ?> (Segmentation fault in fpm_status_export_to_zval).</li>
304</ul></li>
305<li>FTP:
306<ul>
307  <li>Fixed bug <?php githubissuel('php/php-src', 9348); ?> (FTP &amp; SSL session reuse).</li>
308</ul></li>
309<li>LibXML:
310<ul>
311  <li>Fixed test failures for libxml2 2.12.0.</li>
312</ul></li>
313<li>MySQLnd:
314<ul>
315  <li>Avoid using uninitialised struct.</li>
316  <li>Fixed bug <?php githubissuel('php/php-src', 12791); ?> (Possible dereference of NULL in MySQLnd debug code).</li>
317</ul></li>
318<li>Opcache:
319<ul>
320  <li>Fixed JIT bug (Function JIT emits "Uninitialized string offset" warning at the same time as invalid offset Error).</li>
321  <li>Fixed JIT bug (JIT emits "Attempt to assign property of non-object" warning at the same time as Error is being thrown).</li>
322</ul></li>
323<li>PDO PGSQL:
324<ul>
325  <li>Fixed the default value of $fetchMode in PDO::pgsqlGetNotify() (kocsismate)</li>
326</ul></li>
327<li>SOAP:
328<ul>
329  <li>Fixed bug <?php githubissuel('php/php-src', 12838); ?> ([SOAP] Temporary WSDL cache files not being deleted).</li>
330</ul></li>
331<li>Standard:
332<ul>
333  <li>Fixed <?php githubissuel('php/php-src', 12745); ?> (http_build_query() default null argument for $arg_separator is implicitly coerced to string).</li>
334</ul></li>
335</ul>
336<!-- }}} --></section>
337
338
339
340<section class="version" id="8.3.0"><!-- {{{ 8.3.0 -->
341<h3>Version 8.3.0</h3>
342<b><?php release_date('23-Nov-2023'); ?></b>
343<ul><li>Bcmath:
344<ul>
345  <li>Fixed <?php githubissuel('php/php-src', 11761); ?> (removing trailing zeros from numbers) (jorgsowa)</li>
346</ul></li>
347<li>CLI:
348<ul>
349  <li>Added pdeathsig to builtin server to terminate workers when the master process is killed.</li>
350  <li>Fixed bug <?php githubissuel('php/php-src', 11104); ?> (STDIN/STDOUT/STDERR is not available for CLI without a script).</li>
351  <li>Implement <?php githubissuel('php/php-src', 10024); ?> (support linting multiple files at once using php -l).</li>
352</ul></li>
353<li>Core:
354<ul>
355  <li>Fix <?php githubissuel('php/php-src', 11388); ?> (Allow "final" modifier when importing a method from a trait).</li>
356  <li>Fixed bug <?php githubissuel('php/php-src', 11406); ?> (segfault with unpacking and magic method closure).</li>
357  <li>Fixed bug <?php githubissuel('php/php-src', 9388); ?> (Improve unset property and __get type incompatibility error message).</li>
358  <li>SA_ONSTACK is now set for signal handlers to be friendlier to other in-process code such as Go's cgo.</li>
359  <li>SA_ONSTACK is now set when signals are disabled.</li>
360  <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>
361  <li>Added shadow stack support for fibers.</li>
362  <li>Fix bug <?php githubissuel('php/php-src', 9965); ?> (Fix accidental caching of default arguments with side effects).</li>
363  <li>Implement <?php githubissuel('php/php-src', 10217); ?> (Use strlen() for determining the class_name length).</li>
364  <li>Fix bug <?php githubissuel('php/php-src', 8821); ?> (Improve line numbers for errors in constant expressions).</li>
365  <li>Fix bug <?php githubissuel('php/php-src', 10083); ?> (Allow comments between &amp; and parameter).</li>
366  <li>Zend Max Execution Timers is now enabled by default for ZTS builds on Linux.</li>
367  <li>Fix bug <?php githubissuel('php/php-src', 10469); ?> (Disallow .. in open_basedir paths set at runtime).</li>
368  <li>Fix bug <?php githubissuel('php/php-src', 10168); ?>, <?php githubissuel('php/php-src', 10582); ?> (Various segfaults with destructors and VM return values).</li>
369  <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>
370  <li>Fix bug <?php githubissuel('php/php-src', 11154); ?> (Negative indices on empty array don't affect next chosen index).</li>
371  <li>Fix bug <?php githubissuel('php/php-src', 8846); ?> (Implement delayed early binding for classes without parents).</li>
372  <li>Fix bug #79836 (Segfault in concat_function).</li>
373  <li>Fix bug #81705 (type confusion/UAF on set_error_handler with concat operation).</li>
374  <li>Fix <?php githubissuel('php/php-src', 11348); ?> (Closure created from magic method does not accept named arguments).</li>
375  <li>Fix <?php githubissuel('php/php-src', 11388); ?> (Allow "final" modifier when importing a method from a trait).</li>
376  <li>Fixed bug <?php githubissuel('php/php-src', 11406); ?> (segfault with unpacking and magic method closure).</li>
377  <li>Fixed bug <?php githubissuel('php/php-src', 11507); ?> (String concatenation performance regression in 8.3).</li>
378  <li>Fixed <?php githubissuel('php/php-src', 11488); ?> (Missing "Optional parameter before required" deprecation on union null type).</li>
379  <li>Implement the #[\Override] attribute RFC.</li>
380  <li>Fixed bug <?php githubissuel('php/php-src', 11601); ?> (Incorrect handling of unwind and graceful exit exceptions).</li>
381  <li>Added zend_call_stack_get implementation for OpenBSD.</li>
382  <li>Add stack limit check in zend_eval_const_expr().</li>
383  <li>Expose time spent collecting cycles in gc_status().</li>
384  <li>Remove WeakMap entries whose key is only reachable through the entry value.</li>
385  <li>Resolve open_basedir paths on INI update.</li>
386  <li>Fixed oss-fuzz #60741 (Leak in open_basedir).</li>
387  <li>Fixed segfault during freeing of some incompletely initialized objects due to OOM error (PDO, SPL, XSL).</li>
388  <li>Introduced Zend guard recursion protection to fix __debugInfo issue.</li>
389  <li>Fixed oss-fuzz #61712 (assertion failure with error handler during binary op).</li>
390  <li>Fixed <?php githubissuel('php/php-src', 11847); ?> (DTrace enabled build is broken).</li>
391  <li>Fixed OSS Fuzz #61865 (Undef variable in ++/-- for declared property that is unset in error handler).</li>
392  <li>Fixed warning emitted when checking if a user stream is castable.</li>
393  <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>
394  <li>Fixed bug <?php githubissuel('php/php-src', 12189); ?> (#[Override] attribute in trait does not check for parent class implementations).</li>
395  <li>Fixed OSS Fuzz #62294 (Unsetting variable after ++/-- on string variable warning).</li>
396  <li>Fixed buffer underflow when compiling memoized expression.</li>
397  <li>Fixed oss-fuzz #63802 (OP1 leak in error path of post inc/dec).</li>
398</ul></li>
399<li>Curl:
400<ul>
401  <li>Added Curl options and constants up to (including) version 7.87.</li>
402</ul></li>
403<li>Date:
404<ul>
405  <li>Implement More Appropriate Date/Time Exceptions RFC.</li>
406</ul></li>
407<li>DOM:
408<ul>
409  <li>Fix bug <?php githubissuel('php/php-src', 8388); ?> (DOMAttr unescapes character reference).</li>
410  <li>Fix bug <?php githubissuel('php/php-src', 11308); ?> (getElementsByTagName() is O(N^2)).</li>
411  <li>Fix #79700 (wrong use of libxml oldNs leads to performance problem).</li>
412  <li>Fix #77894 (DOMNode::C14N() very slow on generated DOMDocuments even after normalisation).</li>
413  <li>Revert changes to DOMAttr::$value and DOMAttr::$nodeValue expansion.</li>
414  <li>Fixed bug <?php githubissuel('php/php-src', 11500); ?> (Namespace reuse in createElementNS() generates wrong output).</li>
415  <li>Implemented DOMDocument::adoptNode(). Previously this always threw a "not yet implemented" exception.</li>
416  <li>Fixed bug <?php githubissuel('php/php-src', 9628); ?> (Implicitly removing nodes from \DOMDocument breaks existing references).</li>
417  <li>Added DOMNode::contains() and DOMNameSpaceNode::contains().</li>
418  <li>Added DOMElement::getAttributeNames().</li>
419  <li>Added DOMNode::getRootNode().</li>
420  <li>Added DOMElement::className and DOMElement::id.</li>
421  <li>Added DOMParentNode::replaceChildren().</li>
422  <li>Added DOMNode::isConnected and DOMNameSpaceNode::isConnected.</li>
423  <li>Added DOMNode::parentElement and DOMNameSpaceNode::parentElement.</li>
424  <li>Added DOMNode::isEqualNode().</li>
425  <li>Added DOMElement::insertAdjacentElement() and DOMElement::insertAdjacentText().</li>
426  <li>Added DOMElement::toggleAttribute().</li>
427  <li>Fixed bug <?php githubissuel('php/php-src', 11792); ?> (LIBXML_NOXMLDECL is not implemented or broken).</li>
428  <li>adoptNode now respects the strict error checking property.</li>
429  <li>Align DOMChildNode parent checks with spec.</li>
430  <li><?php bugfix(80927); ?> (Removing documentElement after creating attribute node: possible use-after-free).</li>
431  <li>Fix various namespace prefix conflict resolution bugs.</li>
432  <li>Fix calling createAttributeNS() without prefix causing the default namespace of the element to change.</li>
433  <li>Fixed <?php githubissuel('php/php-src', 11952); ?> (Confusing warning when blocking entity loading via libxml_set_external_entity_loader).</li>
434  <li>Fix broken cache invalidation with deallocated and reallocated document node.</li>
435  <li>Fix compile error when php_libxml.h header is included in C++.</li>
436  <li><?php bugfix(47531); ?> (No way of removing redundant xmlns: declarations).</li>
437</ul></li>
438<li>Exif:
439<ul>
440  <li>Removed unneeded codepaths in exif_process_TIFF_in_JPEG().</li>
441</ul></li>
442<li>FFI:
443<ul>
444  <li>Implement <?php githubissuel('php/php-src', 11934); ?> (Allow to pass CData into struct and/or union fields).</li>
445</ul></li>
446<li>Fileinfo:
447<ul>
448  <li>Upgrade bundled libmagic to 5.43.</li>
449  <li>Fix <?php githubissuel('php/php-src', 11408); ?> (Unable to build PHP 8.3.0 alpha 1 / fileinfo extension).</li>
450</ul></li>
451<li>FPM:
452<ul>
453  <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>
454  <li>Added warning to log when fpm socket was not registered on the expected path.</li>
455  <li><?php bugfix(76067); ?> (system() function call leaks php-fpm listening sockets).</li>
456  <li>Fixed <?php githubissuel('php/php-src', 12077); ?> (PHP 8.3.0RC1 borked socket-close-on-exec.phpt).</li>
457</ul></li>
458<li>GD:
459<ul>
460  <li>Removed imagerotate "ignore_transparent" argument since it has no effect.</li>
461</ul></li>
462<li>Intl:
463<ul>
464  <li>Added pattern format error infos for numfmt_set_pattern.</li>
465  <li>Added MIXED_NUMBERS and HIDDEN_OVERLAY constants for the Spoofchecker's class.</li>
466  <li>Updated datefmt_set_timezone/IntlDateformatter::setTimezone returns type. (David Carlier).</li>
467  <li>Updated IntlBreakInterator::setText return type.</li>
468  <li>Updated IntlChar::enumCharNames return type.</li>
469  <li>Removed the BC break on IntlDateFormatter::construct which threw an exception with an invalid locale.</li>
470</ul></li>
471<li>JSON:
472<ul>
473  <li>Added json_validate().</li>
474</ul></li>
475<li>LDAP:
476<ul>
477  <li>Deprecate calling ldap_connect() with separate hostname and port.</li>
478</ul></li>
479<li>LibXML:
480<ul>
481  <li>Fix compile error with -Werror=incompatible-function-pointer-types and old libxml2.</li>
482</ul></li>
483<li>MBString:
484<ul>
485  <li>mb_detect_encoding is better able to identify the correct encoding for Turkish text.</li>
486  <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>
487  <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>
488  <li>mb_detect_encoding is better able to identify UTF-8 and UTF-16 strings with a byte-order mark.</li>
489  <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>
490  <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>
491  <li>Implement mb_str_pad() RFC.</li>
492  <li>Fixed bug <?php githubissuel('php/php-src', 11514); ?> (PHP 8.3 build fails with --enable-mbstring enabled).</li>
493  <li>Fix use-after-free of mb_list_encodings() return value.</li>
494  <li>Fixed bug <?php githubissuel('php/php-src', 11992); ?> (utf_encodings.phpt fails on Windows 32-bit).</li>
495</ul></li>
496<li>mysqli:
497<ul>
498  <li>mysqli_fetch_object raises a ValueError instead of an Exception.</li>
499</ul></li>
500<li>Opcache:
501<ul>
502  <li>Added start, restart and force restart time to opcache's phpinfo section.</li>
503  <li>Fix <?php githubissuel('php/php-src', 9139); ?>: Allow FFI in opcache.preload when opcache.preload_user=root.</li>
504  <li>Made opcache.preload_user always optional in the cli and phpdbg SAPIs.</li>
505  <li>Allows W/X bits on page creation on FreeBSD despite system settings.</li>
506  <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>
507  <li>Avoid resetting JIT counter handlers from multiple processes/threads.</li>
508  <li>Fixed COPY_TMP type inference for references.</li>
509</ul></li>
510<li>OpenSSL:
511<ul>
512  <li>Added OPENSSL_CMS_OLDMIMETYPE and PKCS7_NOOLDMIMETYPE contants to switch between mime content types.</li>
513  <li>Fixed <?php githubissuel('php/php-src', 11054); ?>: Reset OpenSSL errors when using a PEM public key.</li>
514  <li>Added support for additional EC parameters in openssl_pkey_new.</li>
515</ul></li>
516<li>PCNTL:
517<ul>
518  <li>SA_ONSTACK is now set for pcntl_signal.</li>
519  <li>Added SIGINFO constant.</li>
520</ul></li>
521<li>PCRE:
522<ul>
523  <li>Update bundled libpcre2 to 10.42.</li>
524</ul></li>
525<li>PGSQL:
526<ul>
527  <li>pg_fetch_object raises a ValueError instead of an Exception.</li>
528  <li>pg_cancel use thread safe PQcancel api instead.</li>
529  <li>pg_trace new PGSQL_TRACE_SUPPRESS_TIMESTAMPS/PGSQL_TRACE_REGRESS_MODE contants support.</li>
530  <li>pg_set_error_verbosity adding PGSQL_ERRORS_STATE constant.</li>
531  <li>pg_convert/pg_insert E_WARNING on type errors had been converted to ValueError/TypeError exceptions.</li>
532  <li>Added pg_set_error_context_visibility to set the context's visibility within the error messages.</li>
533</ul></li>
534<li>Phar:
535<ul>
536  <li>Fix memory leak in phar_rename_archive().</li>
537</ul></li>
538<li>POSIX:
539<ul>
540  <li>Added posix_sysconf.</li>
541  <li>Added posix_pathconf.</li>
542  <li>Added posix_fpathconf.</li>
543  <li>Fixed zend_parse_arg_long's bool pointer argument assignment.</li>
544  <li>Added posix_eaccess.</li>
545</ul></li>
546<li>Random:
547<ul>
548  <li>Added Randomizer::getBytesFromString().</li>
549  <li>Added Randomizer::nextFloat(), ::getFloat(), and IntervalBoundary.</li>
550  <li>Enable getrandom() for NetBSD (from 10.x).</li>
551  <li>Deprecate MT_RAND_PHP.</li>
552  <li>Fix Randomizer::getFloat() returning incorrect results under certain circumstances.</li>
553</ul></li>
554<li>Reflection:
555<ul>
556  <li>Fix <?php githubissuel('php/php-src', 9470); ?> (ReflectionMethod constructor should not find private parent method).</li>
557  <li>Fix <?php githubissuel('php/php-src', 10259); ?> (ReflectionClass::getStaticProperties doesn't need null return type).</li>
558</ul></li>
559<li>SAPI:
560<ul>
561  <li>Fixed <?php githubissuel('php/php-src', 11141); ?> (Could not open input file: should be sent to stderr).</li>
562</ul></li>
563<li>Session:
564<ul>
565  <li>Fixed bug <?php githubissuel('php/php-src', 11529); ?> (Crash after dealing with an Apache request).</li>
566</ul></li>
567<li>SimpleXML:
568<ul>
569  <li>Fixed bug <?php githubissuel('php/php-src', 12192); ?> (SimpleXML infinite loop when getName() is called within foreach).</li>
570  <li>Fixed bug <?php githubissuel('php/php-src', 12208); ?> (SimpleXML infinite loop when a cast is used inside a foreach).</li>
571  <li><?php bugfix(55098); ?> (SimpleXML iteration produces infinite loop).</li>
572</ul></li>
573<li>Sockets:
574<ul>
575  <li>Added SO_ATTACH_REUSEPORT_CBPF socket option, to give tighter control over socket binding for a cpu core.</li>
576  <li>Added SKF_AD_QUEUE for cbpf filters.</li>
577  <li>Added socket_atmark if send/recv needs using MSG_OOB.</li>
578  <li>Added TCP_QUICKACK constant, to give tigher control over ACK delays.</li>
579  <li>Added DONTFRAGMENT support for path MTU discovery purpose.</li>
580  <li>Added AF_DIVERT for raw socket for divert ports.</li>
581  <li>Added SOL_UPDLITE, UDPLITE_RECV_CSCOV and UDPLITE_SEND_CSCOV for updlite protocol support.</li>
582  <li>Added SO_RERROR, SO_ZEROIZE and SO_SPLICE netbsd and openbsd constants.</li>
583  <li>Added TCP_REPAIR for quietly close a connection.</li>
584  <li>Added SO_REUSEPORT_LB freebsd constant.</li>
585  <li>Added IP_BIND_ADDRESS_NO_PORT.</li>
586</ul></li>
587<li>SPL:
588<ul>
589  <li>Fixed <?php githubissuel('php/php-src', 11573); ?> (RecursiveDirectoryIterator::hasChildren is slow).</li>
590</ul></li>
591<li>Standard:
592<ul>
593  <li>E_NOTICEs emitted by unserialize() have been promoted to E_WARNING.</li>
594  <li>unserialize() now emits a new E_WARNING if the input contains unconsumed bytes.</li>
595  <li>Make array_pad's $length warning less confusing.</li>
596  <li>E_WARNING emitted by strtok in the caase both arguments are not provided when starting tokenisation.</li>
597  <li>password_hash() will now chain the original RandomException to the ValueError on salt generation failure.</li>
598  <li>Fix <?php githubissuel('php/php-src', 10239); ?> (proc_close after proc_get_status always returns -1).</li>
599  <li>Improve the warning message for unpack() in case not enough values were provided.</li>
600  <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>
601  <li>Fix <?php githubissuel('php/php-src', 10742); ?> (http_response_code emits no error when headers were already sent).</li>
602  <li>Added support for rounding negative places in number_format().</li>
603  <li>Prevent precision loss on formatting decimal integers in number_format().</li>
604  <li>Added usage of posix_spawn for proc_open when supported by OS.</li>
605  <li>Added $before_needle argument to strrchr().</li>
606  <li>Fixed <?php githubissuel('php/php-src', 11982); ?> (str_getcsv returns null byte for unterminated enclosure).</li>
607  <li>Fixed str_decrement() on "1".</li>
608</ul></li>
609<li>Streams:
610<ul>
611  <li><?php bugfix(51056); ?>: blocking fread() will block even if data is available.</li>
612  <li>Added storing of the original path used to open xport stream.</li>
613  <li>Implement <?php githubissuel('php/php-src', 8641); ?> (STREAM_NOTIFY_COMPLETED over HTTP never emitted).</li>
614  <li>Fix bug <?php githubissuel('php/php-src', 10406); ?> (fgets on a redis socket connection fails on PHP 8.3).</li>
615  <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>
616  <li><?php bugfix(52335); ?> (fseek() on memory stream behavior different than file).</li>
617  <li><?php bugfix(76857); ?> (Can read "non-existant" files).</li>
618</ul></li>
619<li>XSLTProcessor:
620<ul>
621  <li><?php bugfix(69168); ?> (DomNode::getNodePath() returns invalid path).</li>
622</ul></li>
623<li>ZIP:
624<ul>
625  <li>zip extension version 1.22.0 for libzip 1.10.0.</li>
626  <li>add new error macros (ER_DATA_LENGTH and ER_NOT_ALLOWED).</li>
627  <li>add new archive global flags (ER_AFL_*).</li>
628  <li>add ZipArchive::setArchiveFlag and ZipArchive::getArchiveFlag methods.</li>
629</ul></li>
630</ul>
631<!-- }}} --></section>
632
633
634
635<a id="PHP_8_2"></a>
636
637<section class="version" id="8.2.18"><!-- {{{ 8.2.18 -->
638<h3>Version 8.2.18</h3>
639<b><?php release_date('11-Apr-2024'); ?></b>
640<ul><li>Core:
641<ul>
642  <li>Fixed bug <?php githubissuel('php/php-src', 13612); ?> (Corrupted memory in destructor with weak references).</li>
643  <li>Fixed bug <?php githubissuel('php/php-src', 13784); ?> (AX_GCC_FUNC_ATTRIBUTE failure).</li>
644  <li>Fixed bug <?php githubissuel('php/php-src', 13670); ?> (GC does not scale well with a lot of objects created in destructor).</li>
645</ul></li>
646<li>DOM:
647<ul>
648  <li>Add some missing ZPP checks.</li>
649  <li>Fix potential memory leak in XPath evaluation results.</li>
650  <li>Fix phpdoc for DOMDocument load methods.</li>
651</ul></li>
652<li>FPM:
653<ul>
654  <li>Fix incorrect check in fpm_shm_free().</li>
655</ul></li>
656<li>GD:
657<ul>
658  <li>Fixed bug <?php githubissuel('php/php-src', 12019); ?> (add GDLIB_CFLAGS in feature tests).</li>
659</ul></li>
660<li>Gettext:
661<ul>
662  <li>Fixed sigabrt raised with dcgettext/dcngettext calls with gettext 0.22.5 with category set to LC_ALL.</li>
663</ul></li>
664<li>MySQLnd:
665<ul>
666  <li>Fix <?php githubissuel('php/php-src', 13452); ?> (Fixed handshake response [mysqlnd]).</li>
667  <li>Fix incorrect charset length in check_mb_eucjpms().</li>
668</ul></li>
669<li>Opcache:
670<ul>
671  <li>Fixed <?php githubissuel('php/php-src', 13508); ?> (JITed QM_ASSIGN may be optimized out when op1 is null).</li>
672  <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>
673</ul></li>
674<li>PDO:
675<ul>
676  <li>Fix various PDORow bugs.</li>
677</ul></li>
678<li>Random:
679<ul>
680  <li>Fixed bug <?php githubissuel('php/php-src', 13544); ?> (Pre-PHP 8.2 compatibility for mt_srand with unknown modes).</li>
681  <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>
682</ul></li>
683<li>Session:
684<ul>
685  <li>Fixed bug <?php githubissuel('php/php-src', 13680); ?> (Segfault with session_decode and compilation error).</li>
686</ul></li>
687<li>Sockets:
688<ul>
689  <li>Fixed bug <?php githubissuel('php/php-src', 13604); ?> (socket_getsockname returns random characters in the end of the socket name).</li>
690</ul></li>
691<li>SPL:
692<ul>
693  <li>Fixed bug <?php githubissuel('php/php-src', 13531); ?> (Unable to resize SplfixedArray after being unserialized in PHP 8.2.15).</li>
694  <li>Fixed bug <?php githubissuel('php/php-src', 13685); ?> (Unexpected null pointer in zend_string.h).</li>
695</ul></li>
696<li>Standard:
697<ul>
698  <li>Fixed bug <?php githubissuel('php/php-src', 11808); ?> (Live filesystem modified by tests).</li>
699  <li>Fixed <?php githubissuel('php/php-src', 13402); ?> (Added validation of `\n` in $additional_headers of mail()).</li>
700  <li>Fixed bug <?php githubissuel('php/php-src', 13203); ?> (file_put_contents fail on strings over 4GB on Windows).</li>
701  <li>Fixed bug GHSA-pc52-254m-w9w7 (Command injection via array-ish $command parameter of proc_open). (CVE-2024-1874)</li>
702  <li>Fixed bug GHSA-wpj3-hf5j-x4v4 (__Host-/__Secure- cookie bypass due to partial CVE-2022-31629 fix). (CVE-2024-2756)</li>
703  <li>Fixed bug GHSA-h746-cjrr-wfmr (password_verify can erroneously return true, opening ATO risk). (CVE-2024-3096)</li>
704</ul></li>
705<li>XML:
706<ul>
707  <li>Fixed bug <?php githubissuel('php/php-src', 13517); ?> (Multiple test failures when building with --with-expat).</li>
708</ul></li>
709</ul>
710<!-- }}} --></section>
711
712
713
714<section class="version" id="8.2.17"><!-- {{{ 8.2.17 -->
715<h3>Version 8.2.17</h3>
716<b><?php release_date('14-Mar-2024'); ?></b>
717<ul><li>Core:
718<ul>
719  <li>Fix ZTS persistent resource crashes on shutdown.</li>
720</ul></li>
721<li>Curl:
722<ul>
723  <li>Fix failing tests due to string changes in libcurl 8.6.0.</li>
724</ul></li>
725<li>DOM:
726<ul>
727  <li>Fix reference access in dimensions for DOMNodeList and DOMNodeMap.</li>
728</ul></li>
729<li>Fileinfo:
730<ul>
731  <li>Fixed bug <?php githubissuel('php/php-src', 13344); ?> (finfo::buffer(): Failed identify data 0:(null), backport).</li>
732</ul></li>
733<li>FPM:
734<ul>
735  <li><?php bugfix(75712); ?> (getenv in php-fpm should not read $_ENV, $_SERVER).</li>
736</ul></li>
737<li>GD:
738<ul>
739  <li>Fixed bug <?php githubissuel('php/php-src', 12019); ?> (detection of image formats in system gd library).</li>
740</ul></li>
741<li>MySQLnd:
742<ul>
743  <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>
744</ul></li>
745<li>PGSQL:
746<ul>
747  <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>
748</ul></li>
749<li>Standard:
750<ul>
751  <li>Fixed array key as hash to string (case insensitive) comparison typo for the second operand buffer size (albeit unused for now).</li>
752</ul></li>
753</ul>
754<!-- }}} --></section>
755
756
757
758<section class="version" id="8.2.16"><!-- {{{ 8.2.16 -->
759<h3>Version 8.2.16</h3>
760<b><?php release_date('15-Feb-2024'); ?></b>
761<ul><li>Core:
762<ul>
763  <li>Fixed timer leak in zend-max-execution-timers builds.</li>
764  <li>Fixed bug <?php githubissuel('php/php-src', 12349); ?> (linking failure on ARM with mold).</li>
765  <li>Fixed bug <?php githubissuel('php/php-src', 13097); ?> (Anonymous class reference in trigger_error / thrown Exception).</li>
766  <li>Fixed bug <?php githubissuel('php/php-src', 13215); ?> (GCC 14 build failure).</li>
767</ul></li>
768<li>Curl:
769<ul>
770  <li>Fix missing error check in curl_multi_init().</li>
771</ul></li>
772<li>FPM:
773<ul>
774  <li>Fixed bug <?php githubissuel('php/php-src', 12996); ?> (Incorrect SCRIPT_NAME with Apache ProxyPassMatch when plus in path).</li>
775</ul></li>
776<li>GD:
777<ul>
778  <li>Fixed bug <?php githubissuel('php/php-src', 10344); ?> (imagettfbbox(): Could not find/open font UNC path).</li>
779  <li>Fixed bug <?php githubissuel('php/php-src', 10614); ?> (imagerotate will turn the picture all black, when rotated 90).</li>
780</ul></li>
781<li>MySQLnd:
782<ul>
783  <li>Fixed bug <?php githubissuel('php/php-src', 12107); ?> (When running a stored procedure (that returns a result set) twice, PHP crashes).</li>
784</ul></li>
785<li>Opcache:
786<ul>
787  <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>
788</ul></li>
789<li>OpenSSL:
790<ul>
791  <li>Fixed LibreSSL undefined reference when OPENSSL_NO_ENGINE not set. (David Carlier).</li>
792</ul></li>
793<li>PDO_Firebird:
794<ul>
795  <li>Fix <?php githubissuel('php/php-src', 13119); ?> (Changed to convert float and double values ​​into strings using `H` format).</li>
796</ul></li>
797<li>Phar:
798<ul>
799  <li><?php bugfix(71465); ?> (PHAR doesn't know about litespeed).</li>
800  <li>Fixed bug <?php githubissuel('php/php-src', 13037); ?> (PharData incorrectly extracts zip file).</li>
801</ul></li>
802<li>Random:
803<ul>
804  <li>Fixed bug <?php githubissuel('php/php-src', 13138); ?> (Randomizer::pickArrayKeys() does not detect broken engines).</li>
805</ul></li>
806<li>Session:
807<ul>
808  <li>Fixed bug <?php githubissuel('php/php-src', 12504); ?> (Corrupted session written when there's a fatal error in autoloader).</li>
809</ul></li>
810<li>Streams:
811<ul>
812  <li>Fixed bug <?php githubissuel('php/php-src', 13071); ?> (Copying large files using mmap-able source streams may exhaust available memory and fail).</li>
813</ul></li>
814</ul>
815<!-- }}} --></section>
816
817
818
819<section class="version" id="8.2.15"><!-- {{{ 8.2.15 -->
820<h3>Version 8.2.15</h3>
821<b><?php release_date('18-Jan-2024'); ?></b>
822<ul><li>Core:
823<ul>
824  <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>
825  <li>Fixed bug <?php githubissuel('php/php-src', 12966); ?> (missing cross-compiling 3rd argument so Autoconf doesn't emit warnings).</li>
826</ul></li>
827<li>Cli:
828<ul>
829  <li>Fix incorrect timeout in built-in web server when using router script and max_input_time.</li>
830</ul></li>
831<li>FFI:
832<ul>
833  <li>Fixed bug <?php githubissuel('php/php-src', 9698); ?> (stream_wrapper_register crashes with FFI\CData).</li>
834  <li>Fixed bug <?php githubissuel('php/php-src', 12905); ?> (FFI::new interacts badly with observers).</li>
835</ul></li>
836<li>Intl:
837<ul>
838  <li>Fixed <?php githubissuel('php/php-src', 12943); ?> (IntlDateFormatter::__construct accepts 'C' as valid locale).</li>
839</ul></li>
840<li>Hash:
841<ul>
842  <li>Fixed bug <?php githubissuel('php/php-src', 12936); ?> (hash() function hangs endlessly if using sha512 on strings &gt;= 4GiB).</li>
843</ul></li>
844<li>ODBC:
845<ul>
846  <li>Fix crash on Apache shutdown with persistent connections.</li>
847</ul></li>
848<li>Opcache:
849<ul>
850  <li>Fixed oss-fuzz #64727 (JIT undefined array key warning may overwrite DIM with NULL when DIM is the same var as result).</li>
851  <li>Added workaround for SELinux mprotect execheap issue. See https://bugzilla.kernel.org/show_bug.cgi?id=218258.</li>
852</ul></li>
853<li>OpenSSL:
854<ul>
855  <li>Fixed bug <?php githubissuel('php/php-src', 12987); ?> (openssl_csr_sign might leak new cert on error).</li>
856</ul></li>
857<li>PDO:
858<ul>
859  <li>Fix <?php githubissuel('php/php-src', 12969); ?> (Fixed PDO::getAttribute() to get PDO::ATTR_STRINGIFY_FETCHES).</li>
860</ul></li>
861<li>PDO_ODBC:
862<ul>
863  <li>Fixed bug <?php githubissuel('php/php-src', 12767); ?> (Unable to turn on autocommit mode with setAttribute()).</li>
864</ul></li>
865<li>PGSQL:
866<ul>
867  <li>Fixed auto_reset_persistent handling and allow_persistent type.</li>
868  <li>Fixed bug <?php githubissuel('php/php-src', 12974); ?> (Apache crashes on shutdown when using pg_pconnect()).</li>
869</ul></li>
870<li>Phar:
871<ul>
872  <li><?php bugfix(77432); ?> (Segmentation fault on including phar file).</li>
873</ul></li>
874<li>PHPDBG:
875<ul>
876  <li>Fixed bug <?php githubissuel('php/php-src', 12962); ?> (Double free of init_file in phpdbg_prompt.c).</li>
877</ul></li>
878<li>SimpleXML:
879<ul>
880  <li>Fix getting the address of an uninitialized property of a SimpleXMLElement resulting in a crash.</li>
881</ul></li>
882<li>Tidy:
883<ul>
884  <li>Fixed bug <?php githubissuel('php/php-src', 12980); ?> (tidynode.props.attribute is missing "Boolean Attributes" and empty attributes).</li>
885</ul></li>
886</ul>
887<!-- }}} --></section>
888
889
890
891<section class="version" id="8.2.14"><!-- {{{ 8.2.14 -->
892<h3>Version 8.2.14</h3>
893<b><?php release_date('21-Dec-2023'); ?></b>
894<ul><li>Core:
895<ul>
896  <li>Fixed oss-fuzz #54325 (Use-after-free of name in var-var with malicious error handler).</li>
897  <li>Fixed oss-fuzz #64209 (In-place modification of filename in php_message_handler_for_zend).</li>
898  <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>
899  <li>Fix various missing NULL checks.</li>
900  <li>Fixed bug <?php githubissuel('php/php-src', 12835); ?> (Leak of call-&gt;extra_named_params on internal __call).</li>
901</ul></li>
902<li>Date:
903<ul>
904  <li>Fixed improbably integer overflow while parsing really large (or small) Unix timestamps.</li>
905</ul></li>
906<li>DOM:
907<ul>
908  <li>Fixed bug <?php githubissuel('php/php-src', 12616); ?> (DOM: Removing XMLNS namespace node results in invalid default: prefix).</li>
909</ul></li>
910<li>FPM:
911<ul>
912  <li>Fixed bug <?php githubissuel('php/php-src', 12705); ?> (Segmentation fault in fpm_status_export_to_zval).</li>
913</ul></li>
914<li>FTP:
915<ul>
916  <li>Fixed bug <?php githubissuel('php/php-src', 9348); ?> (FTP &amp; SSL session reuse).</li>
917</ul></li>
918<li>Intl:
919<ul>
920  <li>Fixed bug <?php githubissuel('php/php-src', 12635); ?> (Test bug69398.phpt fails with ICU 74.1).</li>
921</ul></li>
922<li>LibXML:
923<ul>
924  <li>Fixed bug <?php githubissuel('php/php-src', 12702); ?> (libxml2 2.12.0 issue building from src).</li>
925  <li>Fixed test failures for libxml2 2.12.0.</li>
926</ul></li>
927<li>MySQLnd:
928<ul>
929  <li>Avoid using uninitialised struct.</li>
930  <li>Fixed bug <?php githubissuel('php/php-src', 12791); ?> (Possible dereference of NULL in MySQLnd debug code).</li>
931</ul></li>
932<li>Opcache:
933<ul>
934  <li>Fixed JIT bug (Function JIT emits "Uninitialized string offset" warning at the same time as invalid offset Error).</li>
935  <li>Fixed JIT bug (JIT emits "Attempt to assign property of non-object" warning at the same time as Error is being thrown).</li>
936</ul></li>
937<li>OpenSSL:
938<ul>
939  <li><?php bugfix(50713); ?> (openssl_pkcs7_verify() may ignore untrusted CAs).</li>
940</ul></li>
941<li>PCRE:
942<ul>
943  <li>Fixed bug <?php githubissuel('php/php-src', 12628); ?> (The gh11374 test fails on Alpinelinux).</li>
944</ul></li>
945<li>PDO PGSQL:
946<ul>
947  <li>Fixed the default value of $fetchMode in PDO::pgsqlGetNotify() (kocsismate)</li>
948</ul></li>
949<li>PGSQL:
950<ul>
951  <li>Fixed bug <?php githubissuel('php/php-src', 12763); ?> wrong argument type for pg_untrace.</li>
952</ul></li>
953<li>PHPDBG:
954<ul>
955  <li>Fixed bug <?php githubissuel('php/php-src', 12675); ?> (MEMORY_LEAK in phpdbg_prompt.c).</li>
956</ul></li>
957<li>SOAP:
958<ul>
959  <li>Fixed bug <?php githubissuel('php/php-src', 12838); ?> ([SOAP] Temporary WSDL cache files not being deleted).</li>
960</ul></li>
961<li>SPL:
962<ul>
963  <li>Fixed bug <?php githubissuel('php/php-src', 12721); ?> (SplFileInfo::getFilename() segfault in combination with GlobIterator and no directory separator).</li>
964</ul></li>
965<li>SQLite3:
966<ul>
967  <li>Fixed bug <?php githubissuel('php/php-src', 12633); ?> (sqlite3_defensive.phpt fails with sqlite 3.44.0).</li>
968</ul></li>
969<li>Standard:
970<ul>
971  <li>Fix memory leak in syslog device handling.</li>
972  <li>Fixed bug <?php githubissuel('php/php-src', 12621); ?> (browscap segmentation fault when configured in the vhost).</li>
973  <li>Fixed bug <?php githubissuel('php/php-src', 12655); ?> (proc_open() does not take into account references in the descriptor array).</li>
974</ul></li>
975<li>Streams:
976<ul>
977  <li><?php bugfix(79945); ?> (Stream wrappers in imagecreatefrompng causes segfault).</li>
978</ul></li>
979<li>Zip:
980<ul>
981  <li>Fixed bug <?php githubissuel('php/php-src', 12661); ?> (Inconsistency in ZipArchive::addGlob remove_path Option Behavior).</li>
982</ul></li>
983</ul>
984<!-- }}} --></section>
985
986
987
988<section class="version" id="8.2.13"><!-- {{{ 8.2.13 -->
989<h3>Version 8.2.13</h3>
990<b><?php release_date('23-Nov-2023'); ?></b>
991<ul><li>Core:
992<ul>
993  <li>Fixed double-free of non-interned enum case name.</li>
994  <li>Fixed bug <?php githubissuel('php/php-src', 12457); ?> (Incorrect result of stripos with single character needle).</li>
995  <li>Fixed bug <?php githubissuel('php/php-src', 12468); ?> (Double-free of doc_comment when overriding static property via trait).</li>
996  <li>Fixed segfault caused by weak references to FFI objects.</li>
997  <li>Fixed max_execution_time: don't delete an unitialized timer.</li>
998  <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>
999</ul></li>
1000<li>DOM:
1001<ul>
1002  <li>Fix registerNodeClass with abstract class crashing.</li>
1003  <li>Add missing NULL pointer error check.</li>
1004  <li>Fix validation logic of php:function() callbacks.</li>
1005</ul></li>
1006<li>Fiber:
1007<ul>
1008  <li>Fixed bug <?php githubissuel('php/php-src', 11121); ?> (ReflectionFiber segfault).</li>
1009</ul></li>
1010<li>FPM:
1011<ul>
1012  <li>Fixed bug <?php githubissuel('php/php-src', 9921); ?> (Loading ext in FPM config does not register module handlers).</li>
1013  <li>Fixed bug <?php githubissuel('php/php-src', 12232); ?> (FPM: segfault dynamically loading extension without opcache).</li>
1014  <li><?php bugfix(76922); ?> (FastCGI terminates conn after FCGI_GET_VALUES).</li>
1015</ul></li>
1016<li>Intl:
1017<ul>
1018  <li>Removed the BC break on IntlDateFormatter::construct which threw an exception with an invalid locale.</li>
1019</ul></li>
1020<li>Opcache:
1021<ul>
1022  <li>Added warning when JIT cannot be enabled.</li>
1023  <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>
1024</ul></li>
1025<li>OpenSSL:
1026<ul>
1027  <li>Fixed bug <?php githubissuel('php/php-src', 12489); ?> (Missing sigbio creation checking in openssl_cms_verify).</li>
1028</ul></li>
1029<li>PCRE:
1030<ul>
1031  <li>Fixed bug <?php githubissuel('php/php-src', 11374); ?> (Backport upstream fix, Different preg_match result with -d pcre.jit=0).</li>
1032</ul></li>
1033<li>SOAP:
1034<ul>
1035  <li>Fixed bug <?php githubissuel('php/php-src', 12392); ?> (Segmentation fault on SoapClient::__getTypes).</li>
1036  <li><?php bugfix(66150); ?> (SOAP WSDL cache race condition causes Segmentation Fault).</li>
1037  <li><?php bugfix(67617); ?> (SOAP leaves incomplete cache file on ENOSPC).</li>
1038  <li>Fix incorrect uri check in SOAP caching.</li>
1039  <li>Fix segfault and assertion failure with refcounted props and arrays.</li>
1040  <li>Fix potential crash with an edge case of persistent encoders.</li>
1041  <li><?php bugfix(75306); ?> (Memleak in SoapClient).</li>
1042</ul></li>
1043<li>Streams:
1044<ul>
1045  <li><?php bugfix(75708); ?> (getimagesize with "&amp;$imageinfo" fails on StreamWrappers).</li>
1046</ul></li>
1047<li>XMLReader:
1048<ul>
1049  <li>Add missing NULL pointer error check.</li>
1050</ul></li>
1051<li>XMLWriter:
1052<ul>
1053  <li>Add missing NULL pointer error check.</li>
1054</ul></li>
1055<li>XSL:
1056<ul>
1057  <li>Add missing module dependency.</li>
1058  <li>Fix validation logic of php:function() callbacks.</li>
1059</ul></li>
1060</ul>
1061<!-- }}} --></section>
1062
1063
1064
1065<section class="version" id="8.2.12"><!-- {{{ 8.2.12 -->
1066<h3>Version 8.2.12</h3>
1067<b><?php release_date('26-Oct-2023'); ?></b>
1068<ul><li>Core:
1069<ul>
1070  <li>Fixed bug <?php githubissuel('php/php-src', 12207); ?> (memory leak when class using trait with doc block).</li>
1071  <li>Fixed bug <?php githubissuel('php/php-src', 12215); ?> (Module entry being overwritten causes type errors in ext/dom).</li>
1072  <li>Fixed bug <?php githubissuel('php/php-src', 12273); ?> (__builtin_cpu_init check).</li>
1073  <li><?php bugfix(80092); ?> (ZTS + preload = segfault on shutdown).</li>
1074</ul></li>
1075<li>CLI:
1076<ul>
1077  <li>Ensure a single Date header is present.</li>
1078</ul></li>
1079<li>CType:
1080<ul>
1081  <li>Fixed bug <?php githubissuel('php/php-src', 11997); ?> (ctype_alnum 5 times slower in PHP 8.1 or greater).</li>
1082</ul></li>
1083<li>DOM:
1084<ul>
1085  <li>Restore old namespace reconciliation behaviour.</li>
1086  <li>Fixed bug <?php githubissuel('php/php-src', 8996); ?> (DOMNode serialization on PHP ^8.1).</li>
1087</ul></li>
1088<li>Fileinfo:
1089<ul>
1090  <li>Fixed bug <?php githubissuel('php/php-src', 11891); ?> (fileinfo returns text/xml for some svg files).</li>
1091</ul></li>
1092<li>Filter:
1093<ul>
1094  <li>Fix explicit FILTER_REQUIRE_SCALAR with FILTER_CALLBACK (ilutov)</li>
1095</ul></li>
1096<li>Hash:
1097<ul>
1098  <li>Fixed bug <?php githubissuel('php/php-src', 12186); ?> (segfault copying/cloning a finalized HashContext).</li>
1099</ul></li>
1100<li>Intl:
1101<ul>
1102  <li>Fixed bug <?php githubissuel('php/php-src', 12243); ?> (segfault on IntlDateFormatter::construct).</li>
1103  <li>Fixed bug <?php githubissuel('php/php-src', 12282); ?> (IntlDateFormatter::construct should throw an exception on an invalid locale).</li>
1104</ul></li>
1105<li>MySQLnd:
1106<ul>
1107  <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>
1108</ul></li>
1109<li>Opcache:
1110<ul>
1111  <li>Fixed opcache_invalidate() on deleted file.</li>
1112  <li>Fixed bug <?php githubissuel('php/php-src', 12380); ?> (JIT+private array property access inside closure accesses private property in child class).</li>
1113</ul></li>
1114<li>PCRE:
1115<ul>
1116  <li>Fixed bug <?php githubissuel('php/php-src', 11956); ?> (Backport upstream fix, PCRE regular expressions with JIT enabled gives different result).</li>
1117</ul></li>
1118<li>SimpleXML:
1119<ul>
1120  <li>Fixed bug <?php githubissuel('php/php-src', 12170); ?> (Can't use xpath with comments in SimpleXML).</li>
1121  <li>Fixed bug <?php githubissuel('php/php-src', 12223); ?> (Entity reference produces infinite loop in var_dump/print_r).</li>
1122  <li>Fixed bug <?php githubissuel('php/php-src', 12167); ?> (Unable to get processing instruction contents in SimpleXML).</li>
1123  <li>Fixed bug <?php githubissuel('php/php-src', 12169); ?> (Unable to get comment contents in SimpleXML).</li>
1124</ul></li>
1125<li>Streams:
1126<ul>
1127  <li>Fixed bug <?php githubissuel('php/php-src', 12190); ?> (binding ipv4 address with both address and port at 0).</li>
1128</ul></li>
1129<li>XML:
1130<ul>
1131  <li>Fix return type of stub of xml_parse_into_struct().</li>
1132  <li>Fix memory leak when calling xml_parse_into_struct() twice.</li>
1133</ul></li>
1134<li>XSL:
1135<ul>
1136  <li>Fix type error on XSLTProcessor::transformToDoc return value with SimpleXML.</li>
1137</ul></li>
1138</ul>
1139<!-- }}} --></section>
1140
1141
1142
1143<section class="version" id="8.2.11"><!-- {{{ 8.2.11 -->
1144<h3>Version 8.2.11</h3>
1145<b><?php release_date('28-Sep-2023'); ?></b>
1146<ul><li>Core:
1147<ul>
1148  <li>Fixed bug <?php githubissuel('php/php-src', 11937); ?> (Constant ASTs containing objects).</li>
1149  <li>Fixed bug <?php githubissuel('php/php-src', 11790); ?> (On riscv64 require libatomic if actually needed).</li>
1150  <li>Fixed bug <?php githubissuel('php/php-src', 11876); ?>: ini_parse_quantity() accepts invalid quantities.</li>
1151  <li>Fixed bug <?php githubissuel('php/php-src', 12073); ?> (Segfault when freeing incompletely initialized closures).</li>
1152  <li>Fixed bug <?php githubissuel('php/php-src', 12060); ?> (Internal iterator rewind handler is called twice).</li>
1153  <li>Fixed bug <?php githubissuel('php/php-src', 12102); ?> (Incorrect compile error when using array access on TMP value in function call).</li>
1154</ul></li>
1155<li>DOM:
1156<ul>
1157  <li>Fix memory leak when setting an invalid DOMDocument encoding.</li>
1158</ul></li>
1159<li>Iconv:
1160<ul>
1161  <li>Fixed build for NetBSD which still uses the old iconv signature.</li>
1162</ul></li>
1163<li>Intl:
1164<ul>
1165  <li>Fixed bug <?php githubissuel('php/php-src', 12020); ?> (intl_get_error_message() broken after MessageFormatter::formatMessage() fails).</li>
1166</ul></li>
1167<li>MySQLnd:
1168<ul>
1169  <li>Fixed bug <?php githubissuel('php/php-src', 10270); ?> (Invalid error message when connection via SSL fails: "trying to connect via (null)").</li>
1170</ul></li>
1171<li>ODBC:
1172<ul>
1173  <li>Fixed memory leak with failed SQLPrepare.</li>
1174  <li>Fixed persistent procedural ODBC connections not getting closed.</li>
1175</ul></li>
1176<li>SimpleXML:
1177<ul>
1178  <li><?php bugfix(52751); ?> (XPath processing-instruction() function is not supported).</li>
1179</ul></li>
1180<li>SPL:
1181<ul>
1182  <li>Fixed bug <?php githubissuel('php/php-src', 11972); ?> (RecursiveCallbackFilterIterator regression in 8.1.18).</li>
1183</ul></li>
1184<li>SQLite3:
1185<ul>
1186  <li>Fixed bug <?php githubissuel('php/php-src', 11878); ?> (SQLite3 callback functions cause a memory leak with a callable array).</li>
1187</ul></li>
1188</ul>
1189<!-- }}} --></section>
1190
1191
1192
1193<section class="version" id="8.2.10"><!-- {{{ 8.2.10 -->
1194<h3>Version 8.2.10</h3>
1195<b><?php release_date('31-Aug-2023'); ?></b>
1196<ul><li>CLI:
1197<ul>
1198  <li>Fixed bug <?php githubissuel('php/php-src', 11716); ?> (cli server crashes on SIGINT when compiled with ZEND_RC_DEBUG=1).</li>
1199  <li>Fixed bug <?php githubissuel('php/php-src', 10964); ?> (Improve man page about the built-in server).</li>
1200</ul></li>
1201<li>Date:
1202<ul>
1203  <li>Fixed bug <?php githubissuel('php/php-src', 11416); ?> (Crash with DatePeriod when uninitialised objects are passed in).</li>
1204</ul></li>
1205<li>Core:
1206<ul>
1207  <li>Fixed strerror_r detection at configuration time.</li>
1208  <li>Fixed trait typed properties using a DNF type not being correctly bound.</li>
1209  <li>Fixed trait property types not being arena allocated if copied from an internal trait.</li>
1210  <li>Fixed deep copy of property DNF type during lazy class load.</li>
1211  <li>Fixed memory freeing of DNF types for non arena allocated types.</li>
1212</ul></li>
1213<li>DOM:
1214<ul>
1215  <li>Fix DOMEntity field getter bugs.</li>
1216  <li>Fix incorrect attribute existence check in DOMElement::setAttributeNodeNS.</li>
1217  <li>Fix DOMCharacterData::replaceWith() with itself.</li>
1218  <li>Fix empty argument cases for DOMParentNode methods.</li>
1219  <li>Fixed bug <?php githubissuel('php/php-src', 11791); ?> (Wrong default value of DOMDocument::xmlStandalone).</li>
1220  <li>Fix json_encode result on DOMDocument.</li>
1221  <li>Fix manually calling __construct() on DOM classes.</li>
1222  <li>Fixed bug <?php githubissuel('php/php-src', 11830); ?> (ParentNode methods should perform their checks upfront).</li>
1223  <li>Fix viable next sibling search for replaceWith.</li>
1224  <li>Fix segfault when DOMParentNode::prepend() is called when the child disappears.</li>
1225</ul></li>
1226<li>FFI:
1227<ul>
1228  <li>Fix leaking definitions when using FFI::cdef()-&gt;new(...).</li>
1229</ul></li>
1230<li>Hash:
1231<ul>
1232  <li>Fix use-of-uninitialized-value in hash_pbkdf2(), fix missing $options parameter in signature.</li>
1233</ul></li>
1234<li>MySQLnd:
1235<ul>
1236  <li>Fixed bug <?php githubissuel('php/php-src', 11440); ?> (authentication to a sha256_password account fails over SSL).</li>
1237  <li>Fixed bug <?php githubissuel('php/php-src', 11438); ?> (mysqlnd fails to authenticate with sha256_password accounts using passwords longer than 19 characters).</li>
1238  <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>
1239  <li>Fixed invalid error message "Malformed packet" when connection is dropped.</li>
1240</ul></li>
1241<li>Opcache:
1242<ul>
1243  <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>
1244  <li>Avoid adding an unnecessary read-lock when loading script from shm if restart is in progress.</li>
1245</ul></li>
1246<li>PCNTL:
1247<ul>
1248  <li>Revert behaviour of receiving SIGCHLD signals back to the behaviour before 8.1.22.</li>
1249</ul></li>
1250<li>SPL:
1251<ul>
1252  <li><?php bugfix(81992); ?> (SplFixedArray::setSize() causes use-after-free).</li>
1253</ul></li>
1254<li>Standard:
1255<ul>
1256  <li>Prevent int overflow on $decimals in number_format.</li>
1257  <li>Fixed bug <?php githubissuel('php/php-src', 11870); ?> (Fix off-by-one bug when truncating tempnam prefix) (athos-ribeiro)</li>
1258</ul></li>
1259</ul>
1260<!-- }}} --></section>
1261
1262
1263
1264<section class="version" id="8.2.9"><!-- {{{ 8.2.9 -->
1265<h3>Version 8.2.9</h3>
1266<b><?php release_date('03-Aug-2023'); ?></b>
1267<ul><li>Build:
1268<ul>
1269  <li>Fixed bug <?php githubissuel('php/php-src', 11522); ?> (PHP version check fails with '-' separator).</li>
1270</ul></li>
1271<li>CLI:
1272<ul>
1273  <li>Fix interrupted CLI output causing the process to exit.</li>
1274</ul></li>
1275<li>Core:
1276<ul>
1277  <li>Fixed oss-fuzz #60011 (Mis-compilation of by-reference nullsafe operator).</li>
1278  <li>Fixed line number of JMP instruction over else block.</li>
1279  <li>Fixed use-of-uninitialized-value with ??= on assert.</li>
1280  <li>Fixed oss-fuzz #60411 (Fix double-compilation of arrow-functions).</li>
1281  <li>Fixed build for FreeBSD before the 11.0 releases.</li>
1282</ul></li>
1283<li>Curl:
1284<ul>
1285  <li>Fix crash when an invalid callback function is passed to CURLMOPT_PUSHFUNCTION.</li>
1286</ul></li>
1287<li>Date:
1288<ul>
1289  <li>Fixed bug <?php githubissuel('php/php-src', 11368); ?> (Date modify returns invalid datetime).</li>
1290  <li>Fixed bug <?php githubissuel('php/php-src', 11600); ?> (Can't parse time strings which include (narrow) non-breaking space characters).</li>
1291  <li>Fixed bug <?php githubissuel('php/php-src', 11854); ?> (DateTime:createFromFormat stopped parsing datetime with extra space).</li>
1292</ul></li>
1293<li>DOM:
1294<ul>
1295  <li>Fixed bug <?php githubissuel('php/php-src', 11625); ?> (DOMElement::replaceWith() doesn't replace node with DOMDocumentFragment but just deletes node or causes wrapping &lt;&gt;&lt;/&gt; depending on libxml2 version).</li>
1296</ul></li>
1297<li>Fileinfo:
1298<ul>
1299  <li>Fixed bug <?php githubissuel('php/php-src', 11298); ?> (finfo returns wrong mime type for xz files).</li>
1300</ul></li>
1301<li>FTP:
1302<ul>
1303  <li>Fix context option check for "overwrite".</li>
1304  <li>Fixed bug <?php githubissuel('php/php-src', 10562); ?> (Memory leak and invalid state with consecutive ftp_nb_fget).</li>
1305</ul></li>
1306<li>GD:
1307<ul>
1308  <li>Fix most of the external libgd test failures.</li>
1309</ul></li>
1310<li>Intl:
1311<ul>
1312  <li>Fix memory leak in MessageFormatter::format() on failure.</li>
1313</ul></li>
1314<li>Libxml:
1315<ul>
1316  <li>Fixed bug GHSA-3qrf-m4j2-pcrr (Security issue with external entity loading in XML without enabling it). (CVE-2023-3823)</li>
1317</ul></li>
1318<li>MBString:
1319<ul>
1320  <li>Fix <?php githubissuel('php/php-src', 11300); ?> (license issue: restricted unicode license headers).</li>
1321</ul></li>
1322<li>Opcache:
1323<ul>
1324  <li>Fixed bug <?php githubissuel('php/php-src', 10914); ?> (OPCache with Enum and Callback functions results in segmentation fault).</li>
1325  <li>Prevent potential deadlock if accelerated globals cannot be allocated.</li>
1326</ul></li>
1327<li>PCNTL:
1328<ul>
1329  <li>Fixed bug <?php githubissuel('php/php-src', 11498); ?> (SIGCHLD is not always returned from proc_open).</li>
1330</ul></li>
1331<li>PDO:
1332<ul>
1333  <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>
1334</ul></li>
1335<li>PDO SQLite:
1336<ul>
1337  <li>Fix <?php githubissuel('php/php-src', 11492); ?> (Make test failure: ext/pdo_sqlite/tests/bug_42589.phpt).</li>
1338</ul></li>
1339<li>Phar:
1340<ul>
1341  <li>Add missing check on EVP_VerifyUpdate() in phar util.</li>
1342  <li>Fixed bug GHSA-jqcx-ccgc-xwhv (Buffer mismanagement in phar_dir_read()). (CVE-2023-3824)</li>
1343</ul></li>
1344<li>PHPDBG:
1345<ul>
1346  <li>Fixed bug <?php githubissuel('php/php-src', 9669); ?> (phpdbg -h options doesn't list the -z option).</li>
1347</ul></li>
1348<li>Session:
1349<ul>
1350  <li>Removed broken url support for transferring session ID.</li>
1351</ul></li>
1352<li>Standard:
1353<ul>
1354  <li>Fix serialization of RC1 objects appearing in object graph twice.</li>
1355</ul></li>
1356<li>Streams:
1357<ul>
1358  <li>Fixed bug <?php githubissuel('php/php-src', 11735); ?> (Use-after-free when unregistering user stream wrapper from itself).</li>
1359</ul></li>
1360<li>SQLite3:
1361<ul>
1362  <li>Fix replaced error handling in SQLite3Stmt::__construct.</li>
1363</ul></li>
1364<li>XMLReader:
1365<ul>
1366  <li>Fix <?php githubissuel('php/php-src', 11548); ?> (Argument corruption when calling XMLReader::open or XMLReader::XML non-statically with observer active).</li>
1367</ul></li>
1368</ul>
1369<!-- }}} --></section>
1370
1371
1372
1373<section class="version" id="8.2.8"><!-- {{{ 8.2.8 -->
1374<h3>Version 8.2.8</h3>
1375<b><?php release_date('06-Jul-2023'); ?></b>
1376<ul><li>CLI:
1377<ul>
1378  <li>Fixed bug <?php githubissuel('php/php-src', 11246); ?> (cli/get_set_process_title fails on MacOS).</li>
1379</ul></li>
1380<li>Core:
1381<ul>
1382  <li>Fixed build for the riscv64 architecture/GCC 12.</li>
1383</ul></li>
1384<li>Curl:
1385<ul>
1386  <li>Fixed bug <?php githubissuel('php/php-src', 11433); ?> (Unable to set CURLOPT_ACCEPT_ENCODING to NULL).</li>
1387</ul></li>
1388<li>Date:
1389<ul>
1390  <li>Fixed bug <?php githubissuel('php/php-src', 11455); ?> (Segmentation fault with custom object date properties).</li>
1391</ul></li>
1392<li>DOM:
1393<ul>
1394  <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>
1395  <li>Fixed bug <?php githubissuel('php/php-src', 10234); ?> (Setting DOMAttr::textContent results in an empty attribute value).</li>
1396  <li>Fix return value in stub file for DOMNodeList::item.</li>
1397  <li>Fix spec compliance error with '*' namespace for DOMDocument::getElementsByTagNameNS.</li>
1398  <li>Fix DOMElement::append() and DOMElement::prepend() hierarchy checks.</li>
1399  <li>Fixed bug <?php githubissuel('php/php-src', 11347); ?> (Memory leak when calling a static method inside an xpath query).</li>
1400  <li><?php bugfix(67440); ?> (append_node of a DOMDocumentFragment does not reconcile namespaces).</li>
1401  <li><?php bugfix(81642); ?> (DOMChildNode::replaceWith() bug when replacing a node with itself).</li>
1402  <li><?php bugfix(77686); ?> (Removed elements are still returned by getElementById).</li>
1403  <li><?php bugfix(70359); ?> (print_r() on DOMAttr causes Segfault in php_libxml_node_free_list()).</li>
1404  <li><?php bugfix(78577); ?> (Crash in DOMNameSpace debug info handlers).</li>
1405  <li>Fix lifetime issue with getAttributeNodeNS().</li>
1406  <li>Fix "invalid state error" with cloned namespace declarations.</li>
1407  <li><?php bugfix(55294); ?> and #47530 and #47847 (various namespace reconciliation issues).</li>
1408  <li><?php bugfix(80332); ?> (Completely broken array access functionality with DOMNamedNodeMap).</li>
1409</ul></li>
1410<li>Opcache:
1411<ul>
1412  <li>Fix allocation loop in zend_shared_alloc_startup().</li>
1413  <li>Access violation on smm_shared_globals with ALLOC_FALLBACK.</li>
1414  <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>
1415</ul></li>
1416<li>OpenSSL:
1417<ul>
1418  <li>Fixed bug <?php githubissuel('php/php-src', 9356); ?> Incomplete validation of IPv6 Address fields in subjectAltNames (James Lucas, Jakub Zelenka).</li>
1419</ul></li>
1420<li>PCRE:
1421<ul>
1422  <li>Fix preg_replace_callback_array() pattern validation.</li>
1423</ul></li>
1424<li>PGSQL:
1425<ul>
1426  <li>Fixed intermittent segfault with pg_trace.</li>
1427</ul></li>
1428<li>Phar:
1429<ul>
1430  <li>Fix cross-compilation check in phar generation for FreeBSD.</li>
1431</ul></li>
1432<li>SPL:
1433<ul>
1434  <li>Fixed bug <?php githubissuel('php/php-src', 11338); ?> (SplFileInfo empty getBasename with more than one slash).</li>
1435</ul></li>
1436<li>Standard:
1437<ul>
1438  <li>Fix access on NULL pointer in array_merge_recursive().</li>
1439  <li>Fix exception handling in array_multisort().</li>
1440</ul></li>
1441<li>SQLite3:
1442<ul>
1443  <li>Fixed bug <?php githubissuel('php/php-src', 11451); ?> (Invalid associative array containing duplicate keys).</li>
1444</ul></li>
1445</ul>
1446<!-- }}} --></section>
1447
1448
1449
1450<section class="version" id="8.2.7"><!-- {{{ 8.2.7 -->
1451<h3>Version 8.2.7</h3>
1452<b><?php release_date('08-Jun-2023'); ?></b>
1453<ul><li>Core:
1454<ul>
1455  <li>Fixed bug <?php githubissuel('php/php-src', 11152); ?> (Unable to alias namespaces containing reserved class names).</li>
1456  <li>Fixed bug <?php githubissuel('php/php-src', 9068); ?> (Conditional jump or move depends on uninitialised value(s)).</li>
1457  <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>
1458  <li>Fixed bug <?php githubissuel('php/php-src', 11063); ?> (Compilation error on old GCC versions).</li>
1459  <li>Fixed bug <?php githubissuel('php/php-src', 11222); ?> (foreach by-ref may jump over keys during a rehash).</li>
1460</ul></li>
1461<li>Date:
1462<ul>
1463  <li>Fixed bug <?php githubissuel('php/php-src', 11281); ?> (DateTimeZone::getName() does not include seconds in offset).</li>
1464</ul></li>
1465<li>Exif:
1466<ul>
1467  <li>Fixed bug <?php githubissuel('php/php-src', 10834); ?> (exif_read_data() cannot read smaller stream wrapper chunk sizes).</li>
1468</ul></li>
1469<li>FPM:
1470<ul>
1471  <li>Fixed bug <?php githubissuel('php/php-src', 10461); ?> (PHP-FPM segfault due to after free usage of child-&gt;ev_std(out|err)).</li>
1472  <li><?php bugfix(64539); ?> (FPM status page: query_string not properly JSON encoded).</li>
1473  <li>Fixed memory leak for invalid primary script file handle.</li>
1474</ul></li>
1475<li>Hash:
1476<ul>
1477  <li>Fixed bug <?php githubissuel('php/php-src', 11180); ?> (hash_file() appears to be restricted to 3 arguments).</li>
1478</ul></li>
1479<li>LibXML:
1480<ul>
1481  <li>Fixed bug <?php githubissuel('php/php-src', 11160); ?> (Few tests failed building with new libxml 2.11.0).</li>
1482</ul></li>
1483<li>MBString:
1484<ul>
1485  <li>Fix bug <?php githubissuel('php/php-src', 11217); ?> (Segfault in mb_strrpos / mb_strripos when using negative offset and ASCII encoding).</li>
1486</ul></li>
1487<li>Opcache:
1488<ul>
1489  <li>Fixed bug <?php githubissuel('php/php-src', 11134); ?> (Incorrect match default branch optimization).</li>
1490  <li>Fixed too wide OR and AND range inference.</li>
1491  <li>Fixed missing class redeclaration error with OPcache enabled.</li>
1492  <li>Fixed bug <?php githubissuel('php/php-src', 11245); ?> (In some specific cases SWITCH with one default statement will cause segfault).</li>
1493</ul></li>
1494<li>PCNTL:
1495<ul>
1496  <li>Fixed maximum argument count of pcntl_forkx().</li>
1497</ul></li>
1498<li>PGSQL:
1499<ul>
1500  <li>Fixed parameter parsing of pg_lo_export().</li>
1501</ul></li>
1502<li>Phar:
1503<ul>
1504  <li>Fixed bug <?php githubissuel('php/php-src', 11099); ?> (Generating phar.php during cross-compile can't be done).</li>
1505</ul></li>
1506<li>Soap:
1507<ul>
1508  <li>Fixed bug GHSA-76gg-c692-v2mw (Missing error check and insufficient random bytes in HTTP Digest authentication for SOAP). (CVE-2023-3247)</li>
1509  <li>Fixed bug <?php githubissuel('php/php-src', 8426); ?> (make test fail while soap extension build).</li>
1510</ul></li>
1511<li>SPL:
1512<ul>
1513  <li>Fixed bug <?php githubissuel('php/php-src', 11178); ?> (Segmentation fault in spl_array_it_get_current_data (PHP 8.1.18)).</li>
1514</ul></li>
1515<li>Standard:
1516<ul>
1517  <li>Fixed bug <?php githubissuel('php/php-src', 11138); ?> (move_uploaded_file() emits open_basedir warning for source file).</li>
1518  <li>Fixed bug <?php githubissuel('php/php-src', 11274); ?> (POST/PATCH request switches to GET after a HTTP 308 redirect).</li>
1519</ul></li>
1520<li>Streams:
1521<ul>
1522  <li>Fixed bug <?php githubissuel('php/php-src', 10031); ?> ([Stream] STREAM_NOTIFY_PROGRESS over HTTP emitted irregularly for last chunk of data).</li>
1523  <li>Fixed bug <?php githubissuel('php/php-src', 11175); ?> (Stream Socket Timeout).</li>
1524  <li>Fixed bug <?php githubissuel('php/php-src', 11177); ?> (ASAN UndefinedBehaviorSanitizer when timeout = -1 passed to stream_socket_accept/stream_socket_client).</li>
1525</ul></li>
1526</ul>
1527<!-- }}} --></section>
1528
1529
1530
1531<section class="version" id="8.2.6"><!-- {{{ 8.2.6 -->
1532<h3>Version 8.2.6</h3>
1533<b><?php release_date('11-May-2023'); ?></b>
1534<ul><li>Core:
1535<ul>
1536  <li>Fix inconsistent float negation in constant expressions.</li>
1537  <li>Fixed bug <?php githubissuel('php/php-src', 8841); ?> (php-cli core dump calling a badly formed function).</li>
1538  <li>Fixed bug <?php githubissuel('php/php-src', 10737); ?> (PHP 8.1.16 segfaults on line 597 of sapi/apache2handler/sapi_apache2.c).</li>
1539  <li>Fixed bug <?php githubissuel('php/php-src', 11028); ?> (Heap Buffer Overflow in zval_undefined_cv.).</li>
1540  <li>Fixed bug <?php githubissuel('php/php-src', 11108); ?> (Incorrect CG(memoize_mode) state after bailout in ??=).</li>
1541</ul></li>
1542<li>Date:
1543<ul>
1544  <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>
1545  <li>Fixed out-of-range bug when converting to/from around the LONG_MIN unix timestamp.</li>
1546</ul></li>
1547<li>DOM:
1548<ul>
1549  <li><?php bugfix(80602); ?> (Segfault when using DOMChildNode::before()).</li>
1550  <li>Fixed incorrect error handling in dom_zvals_to_fragment().</li>
1551</ul></li>
1552<li>Exif:
1553<ul>
1554  <li>Fixed bug <?php githubissuel('php/php-src', 9397); ?> (exif read : warnings and errors : Potentially invalid endianess, Illegal IFD size and Undefined index).</li>
1555</ul></li>
1556<li>Intl:
1557<ul>
1558  <li>Fixed bug <?php githubissuel('php/php-src', 11071); ?> (TZData version not displayed anymore).</li>
1559</ul></li>
1560<li>PCRE:
1561<ul>
1562  <li>Fixed bug <?php githubissuel('php/php-src', 10968); ?> (Segfault in preg_replace_callback_array()).</li>
1563</ul></li>
1564<li>Reflection:
1565<ul>
1566  <li>Fixed bug <?php githubissuel('php/php-src', 10983); ?> (State-dependant segfault in ReflectionObject::getProperties).</li>
1567</ul></li>
1568<li>SPL:
1569<ul>
1570  <li>Handle indirect zvals and use up-to-date properties in SplFixedArray::__serialize.</li>
1571</ul></li>
1572<li>Standard:
1573<ul>
1574  <li>Fixed bug <?php githubissuel('php/php-src', 10990); ?> (mail() throws TypeError after iterating over $additional_headers array by reference).</li>
1575  <li>Fixed bug <?php githubissuel('php/php-src', 9775); ?> (Duplicates returned by array_unique when using enums).</li>
1576</ul></li>
1577<li>Streams:
1578<ul>
1579  <li>Fixed bug <?php githubissuel('php/php-src', 10406); ?> (feof() behavior change for UNIX based socket resources).</li>
1580</ul></li>
1581</ul>
1582<!-- }}} --></section>
1583
1584
1585
1586<section class="version" id="8.2.5"><!-- {{{ 8.2.5 -->
1587<h3>Version 8.2.5</h3>
1588<b><?php release_date('13-Apr-2023'); ?></b>
1589<ul><li>Core:
1590<ul>
1591  <li>Added optional support for max_execution_time in ZTS/Linux builds (Kévin Dunglas)</li>
1592  <li>Fixed use-after-free in recursive AST evaluation.</li>
1593  <li>Fixed bug <?php githubissuel('php/php-src', 8646); ?> (Memory leak PHP FPM 8.1).</li>
1594  <li>Re-add some CTE functions that were removed from being CTE by a mistake.</li>
1595  <li>Remove CTE flag from array_diff_ukey(), which was added by mistake.</li>
1596  <li>Fixed bug <?php githubissuel('php/php-src', 10801); ?> (Named arguments in CTE functions cause a segfault).</li>
1597  <li>Fixed bug <?php githubissuel('php/php-src', 8789); ?> (PHP 8.0.20 (ZTS) zend_signal_handler_defer crashes on apache).</li>
1598  <li>Fixed bug <?php githubissuel('php/php-src', 10015); ?> (zend_signal_handler_defer crashes on apache shutdown).</li>
1599  <li>Fixed bug <?php githubissuel('php/php-src', 10810); ?> (Fix NUL byte terminating Exception::__toString()).</li>
1600  <li>Fix potential memory corruption when mixing __callStatic() and FFI.</li>
1601</ul></li>
1602<li>Date:
1603<ul>
1604  <li>Fixed bug <?php githubissuel('php/php-src', 10747); ?> (Private and protected properties in serialized Date* objects throw).</li>
1605</ul></li>
1606<li>FPM:
1607<ul>
1608  <li>Fixed bug <?php githubissuel('php/php-src', 10611); ?> (fpm_env_init_main leaks environ).</li>
1609  <li>Destroy file_handle in fpm_main.</li>
1610  <li><?php bugfix(74129); ?> (Incorrect SCRIPT_NAME with apache ProxyPassMatch when spaces are in path).</li>
1611</ul></li>
1612<li>FTP:
1613<ul>
1614  <li>Propagate success status of ftp_close().</li>
1615  <li>Fixed bug <?php githubissuel('php/php-src', 10521); ?> (ftp_get/ftp_nb_get resumepos offset is maximum 10GB).</li>
1616</ul></li>
1617<li>IMAP:
1618<ul>
1619  <li>Fix build failure with Clang 16.</li>
1620</ul></li>
1621<li>MySQLnd:
1622<ul>
1623  <li>Fixed bug <?php githubissuel('php/php-src', 8979); ?> (Possible Memory Leak with SSL-enabled MySQL connections).</li>
1624</ul></li>
1625<li>Opcache:
1626<ul>
1627  <li>Fixed build for macOS to cater with pkg-config settings.</li>
1628  <li>Fixed bug <?php githubissuel('php/php-src', 8065); ?> (opcache.consistency_checks &gt; 0 causes segfaults in PHP &gt;= 8.1.5 in fpm context).</li>
1629</ul></li>
1630<li>OpenSSL:
1631<ul>
1632  <li>Add missing error checks on file writing functions.</li>
1633</ul></li>
1634<li>PDO Firebird:
1635<ul>
1636  <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>
1637</ul></li>
1638<li>Phar:
1639<ul>
1640  <li>Fixed bug <?php githubissuel('php/php-src', 10766); ?> (PharData archive created with Phar::Zip format does not keep files metadata (datetime)).</li>
1641  <li>Add missing error checks on EVP_MD_CTX_create() and EVP_VerifyInit().</li>
1642</ul></li>
1643<li>PDO ODBC:
1644<ul>
1645  <li>Fixed missing and inconsistent error checks on SQLAllocHandle.</li>
1646</ul></li>
1647<li>PGSQL:
1648<ul>
1649  <li>Fixed typo in the array returned from pg_meta_data (extended mode).</li>
1650</ul></li>
1651<li>SPL:
1652<ul>
1653  <li>Fixed bug <?php githubissuel('php/php-src', 10519); ?> (Array Data Address Reference Issue).</li>
1654  <li>Fixed bug <?php githubissuel('php/php-src', 10907); ?> (Unable to serialize processed SplFixedArrays in PHP 8.2.4).</li>
1655  <li>Fixed bug <?php githubissuel('php/php-src', 10844); ?> (ArrayIterator allows modification of readonly props).</li>
1656</ul></li>
1657<li>Standard:
1658<ul>
1659  <li>Fixed bug <?php githubissuel('php/php-src', 10885); ?> (stream_socket_server context leaks).</li>
1660  <li>Fixed bug <?php githubissuel('php/php-src', 10052); ?> (Browscap crashes PHP 8.1.12 on request shutdown (apache2)).</li>
1661  <li>Fixed oss-fuzz #57392 (Buffer-overflow in php_fgetcsv() with \0 delimiter and enclosure).</li>
1662  <li>Fixed undefined behaviour in unpack().</li>
1663</ul></li>
1664</ul>
1665<!-- }}} --></section>
1666
1667
1668
1669<section class="version" id="8.2.4"><!-- {{{ 8.2.4 -->
1670<h3>Version 8.2.4</h3>
1671<b><?php release_date('16-Mar-2023'); ?></b>
1672<ul><li>Core:
1673<ul>
1674  <li>Fixed incorrect check condition in ZEND_YIELD.</li>
1675  <li>Fixed incorrect check condition in type inference.</li>
1676  <li>Fix incorrect check in zend_internal_call_should_throw().</li>
1677  <li>Fixed overflow check in OnUpdateMemoryConsumption.</li>
1678  <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>
1679  <li>Fixed bug <?php githubissuel('php/php-src', 10437); ?> (Segfault/assertion when using fibers in shutdown function after bailout).</li>
1680  <li>Fixed SSA object type update for compound assignment opcodes.</li>
1681  <li>Fixed language scanner generation build.</li>
1682  <li>Fixed zend_update_static_property() calling zend_update_static_property_ex() misleadingly with the wrong return type.</li>
1683  <li>Fix bug <?php githubissuel('php/php-src', 10570); ?> (Fixed unknown string hash on property fetch with integer constant name).</li>
1684  <li>Fixed php_fopen_primary_script() call resulted on zend_destroy_file_handle() freeing dangling pointers on the handle as it was uninitialized.</li>
1685</ul></li>
1686<li>Curl:
1687<ul>
1688  <li>Fixed deprecation warning at compile time.</li>
1689  <li>Fixed bug <?php githubissuel('php/php-src', 10270); ?> (Unable to return CURL_READFUNC_PAUSE in readfunc callback).</li>
1690</ul></li>
1691<li>Date:
1692<ul>
1693  <li>Fix <?php githubissuel('php/php-src', 10447); ?> ('p' format specifier does not yield 'Z' for 00:00).</li>
1694  <li>Fix <?php githubissuel('php/php-src', 10152); ?> (Custom properties of Date's child classes are not serialised).</li>
1695  <li>Fixed bug <?php githubissuel('php/php-src', 10747); ?> (Private and protected properties in serialized Date* objects throw).</li>
1696</ul></li>
1697<li>FFI:
1698<ul>
1699  <li>Fixed incorrect bitshifting and masking in ffi bitfield.</li>
1700</ul></li>
1701<li>Fiber:
1702<ul>
1703  <li>Fixed assembly on alpine x86.</li>
1704  <li>Fixed bug <?php githubissuel('php/php-src', 10496); ?> (segfault when garbage collector is invoked inside of fiber).</li>
1705</ul></li>
1706<li>FPM:
1707<ul>
1708  <li>Fixed bug <?php githubissuel('php/php-src', 10315); ?> (FPM unknown child alert not valid).</li>
1709  <li>Fixed bug <?php githubissuel('php/php-src', 10385); ?> (FPM successful config test early exit).</li>
1710</ul></li>
1711<li>GMP:
1712<ul>
1713  <li>Properly implement GMP::__construct().</li>
1714</ul></li>
1715<li>Intl:
1716<ul>
1717  <li>Fixed bug <?php githubissuel('php/php-src', 10647); ?> (Spoolchecker isSuspicious/areConfusable methods error code's argument always returning NULL0.</li>
1718</ul></li>
1719<li>JSON:
1720<ul>
1721  <li>Fixed JSON scanner and parser generation build.</li>
1722</ul></li>
1723<li>MBString:
1724<ul>
1725  <li>ext/mbstring: fix new_value length check.</li>
1726  <li>Fix bug <?php githubissuel('php/php-src', 10627); ?> (mb_convert_encoding crashes PHP on Windows).</li>
1727</ul></li>
1728<li>Opcache:
1729<ul>
1730  <li>Fix incorrect page_size check.</li>
1731</ul></li>
1732<li>OpenSSL:
1733<ul>
1734  <li>Fixed php_openssl_set_server_dh_param() DH params errors handling.</li>
1735</ul></li>
1736<li>PDO OCI:
1737<ul>
1738  <li><?php bugfix(60994); ?> (Reading a multibyte CLOB caps at 8192 chars).</li>
1739</ul></li>
1740<li>PHPDBG:
1741<ul>
1742  <li>Fixed bug <?php githubissuel('php/php-src', 10715); ?> (heap buffer overflow on --run option misuse).</li>
1743</ul></li>
1744<li>PGSQL:
1745<ul>
1746  <li>Fix <?php githubissuel('php/php-src', 10672); ?> (pg_lo_open segfaults in the strict_types mode).</li>
1747</ul></li>
1748<li>Phar:
1749<ul>
1750  <li>Fix incorrect check in phar tar parsing.</li>
1751</ul></li>
1752<li>Random:
1753<ul>
1754  <li>Fix <?php githubissuel('php/php-src', 10390); ?> (Do not trust arc4random_buf() on glibc).</li>
1755  <li>Fix <?php githubissuel('php/php-src', 10292); ?> (Made the default value of the first param of srand() and mt_srand() unknown).</li>
1756</ul></li>
1757<li>Reflection:
1758<ul>
1759  <li>Fixed bug <?php githubissuel('php/php-src', 10623); ?> (Reflection::getClosureUsedVariables opcode fix with variadic arguments).</li>
1760  <li>Fix Segfault when using ReflectionFiber suspended by an internal function.</li>
1761</ul></li>
1762<li>Session:
1763<ul>
1764  <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>
1765</ul></li>
1766<li>Standard:
1767<ul>
1768  <li>Fixed bug <?php githubissuel('php/php-src', 8086); ?> (Introduce mail.mixed_lf_and_crlf INI).</li>
1769  <li>Fixed bug <?php githubissuel('php/php-src', 10292); ?> (Made the default value of the first param of srand() and mt_srand() unknown).</li>
1770  <li>Fix incorrect check in cs_8559_5 in map_from_unicode().</li>
1771  <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>
1772  <li>Fix incorrect error check in browsecap for pcre2_match().</li>
1773</ul></li>
1774<li>Streams:
1775<ul>
1776  <li>Fixed bug <?php githubissuel('php/php-src', 10370); ?> (File corruption in _php_stream_copy_to_stream_ex when using copy_file_range).</li>
1777  <li>Fixed bug <?php githubissuel('php/php-src', 10548); ?> (copy() fails on cifs mounts because of incorrect copy_file_range() len).</li>
1778</ul></li>
1779<li>Tidy:
1780<ul>
1781  <li>Fix memory leaks when attempting to open a non-existing file or a file over 4GB.</li>
1782  <li>Add missing error check on tidyLoadConfig.</li>
1783</ul></li>
1784<li>Zlib:
1785<ul>
1786  <li>Fixed output_handler directive value's length which counted the string terminator.</li>
1787</ul></li>
1788</ul>
1789<!-- }}} --></section>
1790
1791
1792
1793<section class="version" id="8.2.3"><!-- {{{ 8.2.3 -->
1794<h3>Version 8.2.3</h3>
1795<b><?php release_date('14-Feb-2023'); ?></b>
1796<ul><li>Core:
1797<ul>
1798  <li><?php bugfix(81744); ?> (Password_verify() always return true with some hash). (CVE-2023-0567)</li>
1799  <li><?php bugfix(81746); ?> (1-byte array overrun in common path resolve code). (CVE-2023-0568)</li>
1800</ul></li>
1801<li>SAPI:
1802<ul>
1803  <li>Fixed bug GHSA-54hq-v5wp-fqgv (DOS vulnerability when parsing multipart request body). (CVE-2023-0662)</li>
1804</ul></li>
1805</ul>
1806<!-- }}} --></section>
1807
1808
1809
1810<section class="version" id="8.2.2"><!-- {{{ 8.2.2 -->
1811<h3>Version 8.2.2</h3>
1812<b><?php release_date('02-Feb-2023'); ?></b>
1813<ul><li>Core:
1814<ul>
1815  <li>Fixed bug <?php githubissuel('php/php-src', 10200); ?> (zif_get_object_vars: Assertion `!(((__ht)-&gt;u.flags &amp; (1&lt;&lt;2)) != 0)' failed).</li>
1816  <li>Fix <?php githubissuel('php/php-src', 10251); ?> (Assertion `(flag &amp; (1&lt;&lt;3)) == 0' failed).</li>
1817  <li>Fix <?php githubissuel('php/php-src', 10240); ?> (Assertion failure when adding more than 2**30 elements to an unpacked array).</li>
1818  <li>Fix <?php githubissuel('php/php-src', 9735); ?> (Fiber stack variables do not participate in cycle collector).</li>
1819  <li>Fix <?php githubissuel('php/php-src', 9675); ?> (Broken run_time_cache init for internal enum methods).</li>
1820</ul></li>
1821<li>FPM:
1822<ul>
1823  <li><?php bugfix(77106); ?> (Missing separator in FPM FastCGI errors).</li>
1824  <li>Fixed bug <?php githubissuel('php/php-src', 9981); ?> (FPM does not reset fastcgi.error_header).</li>
1825  <li><?php bugfix(68591); ?> (Configuration test does not perform UID lookups).</li>
1826  <li>Fixed memory leak when running FPM config test.</li>
1827  <li><?php bugfix(67244); ?> (Wrong owner:group for listening unix socket).</li>
1828</ul></li>
1829<li>Hash:
1830<ul>
1831  <li>Handle exceptions from __toString in XXH3's initialization (nielsdos)</li>
1832</ul></li>
1833<li>LDAP:
1834<ul>
1835  <li>Fixed bug <?php githubissuel('php/php-src', 10112); ?> (LDAP\Connection::__construct() refers to ldap_create()).</li>
1836</ul></li>
1837<li>Opcache:
1838<ul>
1839  <li>Fix inverted bailout value in zend_runtime_jit() (Max Kellermann).</li>
1840  <li>Fix access to uninitialized variable in accel_preload().</li>
1841  <li>Fix zend_jit_find_trace() crashes.</li>
1842  <li>Added missing lock for EXIT_INVALIDATE in zend_jit_trace_exit.</li>
1843</ul></li>
1844<li>Phar:
1845<ul>
1846  <li>Fix wrong flags check for compression method in phar_object.c (nielsdos)</li>
1847</ul></li>
1848<li>PHPDBG:
1849<ul>
1850  <li>Fix undefined behaviour in phpdbg_load_module_or_extension().</li>
1851  <li>Fix NULL pointer dereference in phpdbg_create_conditional_breal().</li>
1852  <li>Fix <?php githubissuel('php/php-src', 9710); ?>: phpdbg memory leaks by option "-h" (nielsdos)</li>
1853  <li>Fix phpdbg segmentation fault in case of malformed input (nielsdos)</li>
1854</ul></li>
1855<li>Posix:
1856<ul>
1857  <li>Fix memory leak in posix_ttyname() (girgias)</li>
1858</ul></li>
1859<li>Random:
1860<ul>
1861  <li>Fixed bug <?php githubissuel('php/php-src', 10247); ?> (Theoretical file descriptor leak for /dev/urandom).</li>
1862</ul></li>
1863<li>Standard:
1864<ul>
1865  <li>Fix <?php githubissuel('php/php-src', 10187); ?> (Segfault in stripslashes() with arm64).</li>
1866  <li>Fixed bug <?php githubissuel('php/php-src', 10214); ?> (Incomplete validation of object syntax during unserialize()).</li>
1867  <li>Fix substr_replace with slots in repl_ht being UNDEF.</li>
1868</ul></li>
1869<li>XMLWriter:
1870<ul>
1871  <li>Fix missing check for xmlTextWriterEndElement (nielsdos)</li>
1872</ul></li>
1873</ul>
1874<!-- }}} --></section>
1875
1876
1877
1878<section class="version" id="8.2.1"><!-- {{{ 8.2.1 -->
1879<h3>Version 8.2.1</h3>
1880<b><?php release_date('05-Jan-2023'); ?></b>
1881<ul><li>Core:
1882<ul>
1883  <li>Fixed bug <?php githubissuel('php/php-src', 9905); ?> (constant() behaves inconsistent when class is undefined).</li>
1884  <li>Fixed bug <?php githubissuel('php/php-src', 9918); ?> (License information for xxHash is not included in README.REDIST.BINS file).</li>
1885  <li>Fixed bug <?php githubissuel('php/php-src', 9890); ?> (OpenSSL legacy providers not available on Windows).</li>
1886  <li>Fixed bug <?php githubissuel('php/php-src', 9650); ?> (Can't initialize heap: [0x000001e7]).</li>
1887  <li>Fixed potentially undefined behavior in Windows ftok(3) emulation.</li>
1888  <li>Fixed <?php githubissuel('php/php-src', 9769); ?> (Misleading error message for unpacking of objects).</li>
1889</ul></li>
1890<li>Apache:
1891<ul>
1892  <li>Fixed bug <?php githubissuel('php/php-src', 9949); ?> (Partial content on incomplete POST request).</li>
1893</ul></li>
1894<li>FPM:
1895<ul>
1896  <li>Fixed bug <?php githubissuel('php/php-src', 9959); ?> (Solaris port event mechanism is still broken after bug #66694).</li>
1897  <li><?php bugfix(68207); ?> (Setting fastcgi.error_header can result in a WARNING).</li>
1898  <li><?php bugfix(80669); ?> (FPM numeric user fails to set groups).</li>
1899  <li>Fixed bug <?php githubissuel('php/php-src', 8517); ?> (Random crash of FPM master process in fpm_stdio_child_said).</li>
1900</ul></li>
1901<li>Imap:
1902<ul>
1903  <li>Fixed bug <?php githubissuel('php/php-src', 10051); ?> (IMAP: there's no way to check if a IMAP\Connection is still open).</li>
1904</ul></li>
1905<li>MBString:
1906<ul>
1907  <li>Fixed bug <?php githubissuel('php/php-src', 9535); ?> (The behavior of mb_strcut in mbstring has been changed in PHP8.1).</li>
1908</ul></li>
1909<li>Opcache:
1910<ul>
1911  <li>Fixed bug <?php githubissuel('php/php-src', 9968); ?> (Segmentation Fault during OPCache Preload).</li>
1912</ul></li>
1913<li>OpenSSL:
1914<ul>
1915  <li>Fixed bug <?php githubissuel('php/php-src', 9997); ?> (OpenSSL engine clean up segfault).</li>
1916  <li>Fixed bug <?php githubissuel('php/php-src', 9064); ?> (PHP fails to build if openssl was built with --no-ec).</li>
1917  <li>Fixed bug <?php githubissuel('php/php-src', 10000); ?> (OpenSSL test failures when OpenSSL compiled with no-dsa).</li>
1918</ul></li>
1919<li>Pcntl:
1920<ul>
1921  <li>Fixed bug <?php githubissuel('php/php-src', 9298); ?> (Signal handler called after rshutdown leads to crash).</li>
1922</ul></li>
1923<li>PDO_Firebird:
1924<ul>
1925  <li>Fixed bug <?php githubissuel('php/php-src', 9971); ?> (Incorrect NUMERIC value returned from PDO_Firebird).</li>
1926</ul></li>
1927<li>PDO/SQLite:
1928<ul>
1929  <li><?php bugfix(81740); ?> (PDO::quote() may return unquoted string). (CVE-2022-31631)</li>
1930</ul></li>
1931<li>Session:
1932<ul>
1933  <li>Fixed <?php githubissuel('php/php-src', 9932); ?> (session name silently fails with . and [).</li>
1934</ul></li>
1935<li>SPL:
1936<ul>
1937  <li>Fixed <?php githubissuel('php/php-src', 9883); ?> (SplFileObject::__toString() reads next line).</li>
1938  <li>Fixed <?php githubissuel('php/php-src', 10011); ?> (Trampoline autoloader will get reregistered and cannot be unregistered).</li>
1939</ul></li>
1940<li>SQLite3:
1941<ul>
1942  <li><?php bugfix(81742); ?> (open_basedir bypass in SQLite3 by using file URI).</li>
1943</ul></li>
1944<li>TSRM:
1945<ul>
1946  <li>Fixed Windows shmget() wrt. IPC_PRIVATE.</li>
1947</ul></li>
1948</ul>
1949<!-- }}} --></section>
1950
1951
1952
1953<section class="version" id="8.2.0"><!-- {{{ 8.2.0 -->
1954<h3>Version 8.2.0</h3>
1955<b><?php release_date('08-Dec-2022'); ?></b>
1956<ul><li>CLI:
1957<ul>
1958  <li><?php bugfix(81496); ?> (Server logs incorrect request method).</li>
1959  <li>Updated the mime-type table for the builtin-server.</li>
1960  <li>Fixed potential overflow for the builtin server via the PHP_CLI_SERVER_WORKERS environment variable.</li>
1961  <li>Fixed <?php githubissuel('php/php-src', 8575); ?> by changing STDOUT, STDERR and STDIN to not close on resource destruction.</li>
1962  <li>Implement built-in web server responding without body to HEAD request on a static resource.</li>
1963  <li>Implement built-in web server responding with HTTP status 405 to DELETE/PUT/PATCH request on a static resource.</li>
1964  <li>Fixed bug <?php githubissuel('php/php-src', 9709); ?> (Null pointer dereference with -w/-s options).</li>
1965</ul></li>
1966<li>COM:
1967<ul>
1968  <li>Fixed bug <?php githubissuel('php/php-src', 8750); ?> (Can not create VT_ERROR variant type).</li>
1969</ul></li>
1970<li>Core:
1971<ul>
1972  <li><?php bugfix(81380); ?> (Observer may not be initialized properly).</li>
1973  <li>Fixed bug <?php githubissuel('php/php-src', 7771); ?> (Fix filename/lineno of constant expressions).</li>
1974  <li>Fixed bug <?php githubissuel('php/php-src', 7792); ?> (Improve class type in error messages).</li>
1975  <li>Support huge pages on MacOS.</li>
1976  <li>Fixed bug <?php githubissuel('php/php-src', 8655); ?> (Casting an object to array does not unwrap refcount=1 references).</li>
1977  <li>Fixed bug <?php githubissuel('php/php-src', 8661); ?> (Nullsafe in coalesce triggers undefined variable warning).</li>
1978  <li>Fixed bug <?php githubissuel('php/php-src', 7821); ?> and <?php githubissuel('php/php-src', 8418); ?> (Allow arbitrary const expressions in backed enums).</li>
1979  <li>Fixed bug <?php githubissuel('php/php-src', 8810); ?> (Incorrect lineno in backtrace of multi-line function calls).</li>
1980  <li>Optimised code path for newly created file with the stream plain wrapper.</li>
1981  <li>Uses safe_perealloc instead of perealloc for the ZEND_PTR_STACK_RESIZE_IF_NEEDED to avoid possible overflows.</li>
1982  <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>
1983  <li>Fixed bug <?php githubissuel('php/php-src', 8995); ?> (WeakMap object reference offset causing TypeError).</li>
1984  <li>Added error_log_mode ini setting.</li>
1985  <li>Updated request startup messages.</li>
1986  <li>Fixed bug <?php githubissuel('php/php-src', 7900); ?> (Arrow function with never return type compile-time errors).</li>
1987  <li>Fixed incorrect double to long casting in latest clang.</li>
1988  <li>Added support for defining constants in traits.</li>
1989  <li>Stop incorrectly emitting false positive deprecation notice alongside unsupported syntax fatal error for `"{$g{'h'}}"`.</li>
1990  <li>Fix unexpected deprecated dynamic property warning, which occurred when exit() in finally block after an exception was thrown without catching.</li>
1991  <li>Fixed bug <?php githubissuel('php/php-src', 9323); ?> (Crash in ZEND_RETURN/GC/zend_call_function) (Tim Starling)</li>
1992  <li>Fixed bug <?php githubissuel('php/php-src', 9227); ?> (Trailing dots and spaces in filenames are ignored).</li>
1993  <li>Fixed bug <?php githubissuel('php/php-src', 9285); ?> (Traits cannot be used in readonly classes).</li>
1994  <li>Fixed bug <?php githubissuel('php/php-src', 9186); ?> (@strict-properties can be bypassed using unserialization).</li>
1995  <li>Fixed bug <?php githubissuel('php/php-src', 9500); ?> (Using dnf type with parentheses after readonly keyword results in a parse error).</li>
1996  <li>Fixed bug <?php githubissuel('php/php-src', 9516); ?> ((A&amp;B)|D as a param should allow AB or D. Not just A).</li>
1997  <li>Fixed observer class notify with Opcache file_cache_only=1.</li>
1998  <li>Fixes segfault with Fiber on FreeBSD i386 architecture.</li>
1999  <li>Fixed bug <?php githubissuel('php/php-src', 9655); ?> (Pure intersection types cannot be implicitly nullable) (Girgias)</li>
2000  <li>Fixed bug <?php githubissuel('php/php-src', 9589); ?> (dl() segfaults when module is already loaded).</li>
2001  <li>Fixed bug <?php githubissuel('php/php-src', 9752); ?> (Generator crashes when interrupted during argument evaluation with extra named params).</li>
2002  <li>Fixed bug <?php githubissuel('php/php-src', 9801); ?> (Generator crashes when memory limit is exceeded during initialization).</li>
2003  <li>Fixed a bug with preloaded enums possibly segfaulting.</li>
2004  <li>Fixed bug <?php githubissuel('php/php-src', 9823); ?> (Don’t reset func in zend_closure_internal_handler).</li>
2005  <li>Fixed potential NULL pointer dereference Windows shm*() functions.</li>
2006  <li>Fix target validation for internal attributes with constructor property promotion.</li>
2007  <li>Fixed bug <?php githubissuel('php/php-src', 9750); ?> (Generator memory leak when interrupted during argument evaluation.</li>
2008  <li>Move observer_declared_function_notify until after pass_two().</li>
2009  <li>Do not report MINIT stage internal class aliases in extensions.</li>
2010</ul></li>
2011<li>Curl:
2012<ul>
2013  <li>Added support for CURLOPT_XFERINFOFUNCTION.</li>
2014  <li>Added support for CURLOPT_MAXFILESIZE_LARGE.</li>
2015  <li>Added new constants from cURL 7.62 to 7.80.</li>
2016  <li>New function curl_upkeep().</li>
2017</ul></li>
2018<li>Date:
2019<ul>
2020  <li>Fixed <?php githubissuel('php/php-src', 8458); ?> (DateInterval::createFromDateString does not throw if non-relative items are present).</li>
2021  <li><?php bugfix(52015); ?> (Allow including end date in DatePeriod iterations) (Daniel Egeberg, Derick)</li>
2022  <li>idate() now accepts format specifiers "N" (ISO Day-of-Week) and "o" (ISO Year).</li>
2023  <li>Fixed bug <?php githubissuel('php/php-src', 8730); ?> (DateTime::diff miscalculation is same time zone of different type).</li>
2024  <li>Fixed bug <?php githubissuel('php/php-src', 8964); ?> (DateTime object comparison after applying delta less than 1 second).</li>
2025  <li>Fixed bug <?php githubissuel('php/php-src', 9106); ?> (DateInterval 1.5s added to DateTimeInterface is rounded down since PHP 8.1.0).</li>
2026  <li><?php bugfix(75035); ?> (Datetime fails to unserialize "extreme" dates).</li>
2027  <li><?php bugfix(80483); ?> (DateTime Object with 5-digit year can't unserialized).</li>
2028  <li><?php bugfix(81263); ?> (Wrong result from DateTimeImmutable::diff).</li>
2029  <li>Fixed bug <?php githubissuel('php/php-src', 9431); ?> (DateTime::getLastErrors() not returning false when no errors/warnings).</li>
2030  <li>Fixed bug with parsing large negative numbers with the @ notation.</li>
2031</ul></li>
2032<li>DBA:
2033<ul>
2034  <li>Fixed LMDB driver hanging when attempting to delete a non-existing key (Girgias)</li>
2035  <li>Fixed LMDB driver memory leak on DB creation failure (Girgias)</li>
2036  <li>Fixed <?php githubissuel('php/php-src', 8856); ?> (dba: lmdb: allow to override the MDB_NOSUBDIR flag).</li>
2037</ul></li>
2038<li>FFI:
2039<ul>
2040  <li>Fixed bug <?php githubissuel('php/php-src', 9090); ?> (Support assigning function pointers in FFI).</li>
2041</ul></li>
2042<li>Fileinfo:
2043<ul>
2044  <li>Fixed bug <?php githubissuel('php/php-src', 8805); ?> (finfo returns wrong mime type for woff/woff2 files).</li>
2045</ul></li>
2046<li>Filter:
2047<ul>
2048  <li>Added FILTER_FLAG_GLOBAL_RANGE to filter Global IPs.</li>
2049</ul></li>
2050<li>FPM:
2051<ul>
2052  <li>Emit error for invalid port setting.</li>
2053  <li>Added extra check for FPM proc dumpable on SELinux based systems.</li>
2054  <li>Added support for listening queue on macOS.</li>
2055  <li>Changed default for listen.backlog on Linux to -1.</li>
2056  <li>Added listen.setfib pool option to set route FIB on FreeBSD.</li>
2057  <li>Added access.suppress_path pool option to filter access log entries.</li>
2058  <li>Fixed on fpm scoreboard occasional warning on acquisition failure.</li>
2059  <li>Fixed bug <?php githubissuel('php/php-src', 9754); ?> (SaltStack (using Python subprocess) hangs when running php-fpm 8.1.11).</li>
2060</ul></li>
2061<li>FTP:
2062<ul>
2063  <li>Fix datetime format string to follow POSIX spec in ftp_mdtm().</li>
2064</ul></li>
2065<li>GD:
2066<ul>
2067  <li><?php bugfix(81739); ?>: OOB read due to insufficient input validation in imageloadfont(). (CVE-2022-31630)</li>
2068</ul></li>
2069<li>GMP:
2070<ul>
2071  <li>Fixed bug <?php githubissuel('php/php-src', 9308); ?> (GMP throws the wrong error when a GMP object is passed to gmp_init()).</li>
2072</ul></li>
2073<li>Hash:
2074<ul>
2075  <li><?php bugfix(81738); ?>: buffer overflow in hash_update() on long parameter. (CVE-2022-37454)</li>
2076</ul></li>
2077<li>Intl:
2078<ul>
2079  <li>Update all grandfathered language tags with preferred values</li>
2080  <li>Fixed <?php githubissuel('php/php-src', 7939); ?> (Cannot unserialize IntlTimeZone objects).</li>
2081  <li>Fixed build for ICU 69.x and onwards.</li>
2082  <li>Declared Transliterator::$id as readonly to unlock subclassing it.</li>
2083  <li>Fixed bug <?php githubissuel('php/php-src', 9421); ?> (Incorrect argument number for ValueError in NumberFormatter).</li>
2084</ul></li>
2085<li>MBString:
2086<ul>
2087  <li>Fixed bug <?php githubissuel('php/php-src', 9248); ?> (Segmentation fault in mb_strimwidth()).</li>
2088</ul></li>
2089<li>mysqli:
2090<ul>
2091  <li>Fixed bug <?php githubissuel('php/php-src', 9841); ?> (mysqli_query throws warning despite using silenced error mode).</li>
2092</ul></li>
2093<li>MySQLnd:
2094<ul>
2095  <li>Fixed potential heap corruption due to alignment mismatch.</li>
2096</ul></li>
2097<li>OCI8:
2098<ul>
2099  <li>Added oci8.prefetch_lob_size directive to tune LOB query performance</li>
2100  <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>
2101</ul></li>
2102<li>ODBC:
2103<ul>
2104  <li>Fixed bug <?php githubissuel('php/php-src', 8300); ?> (User input not escaped when building connection string).</li>
2105  <li>Fixed bug <?php githubissuel('php/php-src', 9347); ?> (Current ODBC liveness checks may be inadequate).</li>
2106</ul></li>
2107<li>Opcache:
2108<ul>
2109  <li>Allocate JIT buffer close to PHP .text segemnt to allow using direct IP-relative calls and jumps.</li>
2110  <li>Added initial support for JIT performance profiling generation for macOs Instrument.</li>
2111  <li>Fixed bug <?php githubissuel('php/php-src', 8030); ?> (Segfault with JIT and large match/switch statements).</li>
2112  <li>Added JIT support improvement for macOs for segments and executable permission bit handling.</li>
2113  <li>Added JIT buffer allocation near the .text section on FreeNSD.</li>
2114  <li>Fixed bug <?php githubissuel('php/php-src', 9371); ?> (Crash with JIT on mac arm64) (jdp1024/David Carlier)</li>
2115  <li>Fixed bug <?php githubissuel('php/php-src', 9259); ?> (opcache.interned_strings_buffer setting integer overflow).</li>
2116  <li>Added indirect call reduction for jit on x86 architectures.</li>
2117  <li>Fixed bug <?php githubissuel('php/php-src', 9164); ?> (Segfault in zend_accel_class_hash_copy).</li>
2118  <li>Fix opcache preload with observers enabled.</li>
2119</ul></li>
2120<li>OpenSSL:
2121<ul>
2122  <li>Discard poll calls on socket when no timeout/non blocking/MSG_DONTWAIT.</li>
2123  <li>Fixed bug <?php githubissuel('php/php-src', 9310); ?> (SSL local_cert and local_pk do not respect open_basedir).</li>
2124  <li>Implement FR #76935 ("chacha20-poly1305" is an AEAD but does not work like AEAD).</li>
2125  <li>Added openssl_cipher_key_length function.</li>
2126  <li>Fixed bug <?php githubissuel('php/php-src', 9517); ?> (Compilation error openssl extension related to PR <?php githubissuel('php/php-src', 9366); ?>).</li>
2127  <li>Fixed missing clean up of OpenSSL engine list - attempt to fix <?php githubissuel('php/php-src', 8620); ?>.</li>
2128  <li>Fixed bug <?php githubissuel('php/php-src', 8430); ?> (OpenSSL compiled with no-md2, no-md4 or no-rmd160 does not build).</li>
2129</ul></li>
2130<li>PCNTL:
2131<ul>
2132  <li>Fixed pcntl_(get|set)priority error handling for MacOS.</li>
2133</ul></li>
2134<li>PCRE:
2135<ul>
2136  <li><?php implemented(77726); ?> (Allow null character in regex patterns).</li>
2137  <li>Updated bundled libpcre to 10.40.</li>
2138</ul></li>
2139<li>PDO:
2140<ul>
2141  <li>Fixed bug <?php githubissuel('php/php-src', 9818); ?> (Initialize run time cache in PDO methods).</li>
2142</ul></li>
2143<li>PDO_Firebird:
2144<ul>
2145  <li>Fixed bug <?php githubissuel('php/php-src', 8576); ?> (Bad interpretation of length when char is UTF-8).</li>
2146</ul></li>
2147<li>PDO_ODBC:
2148<ul>
2149  <li><?php bugfix(80909); ?> (crash with persistent connections in PDO_ODBC).</li>
2150  <li>Fixed bug <?php githubissuel('php/php-src', 8300); ?> (User input not escaped when building connection string).</li>
2151  <li>Fixed bug <?php githubissuel('php/php-src', 9347); ?> (Current ODBC liveness checks may be inadequate).</li>
2152  <li>Fixed bug <?php githubissuel('php/php-src', 9372); ?> (HY010 when binding overlong parameter).</li>
2153</ul></li>
2154<li>PDO_PGSQL:
2155<ul>
2156  <li>Fixed bug <?php githubissuel('php/php-src', 9411); ?> (PgSQL large object resource is incorrectly closed).</li>
2157</ul></li>
2158<li>Random:
2159<ul>
2160  <li>Added new random extension.</li>
2161  <li>Fixed bug <?php githubissuel('php/php-src', 9067); ?> (random extension is not thread safe).</li>
2162  <li>Fixed bug <?php githubissuel('php/php-src', 9055); ?> (segmentation fault if user engine throws).</li>
2163  <li>Fixed bug <?php githubissuel('php/php-src', 9066); ?> (signed integer overflow).</li>
2164  <li>Fixed bug <?php githubissuel('php/php-src', 9083); ?> (undefined behavior during shifting).</li>
2165  <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>
2166  <li>Fixed bug <?php githubissuel('php/php-src', 9089); ?> (Fix memory leak on Randomizer::__construct() call twice).</li>
2167  <li>Fixed bug <?php githubissuel('php/php-src', 9212); ?> (PcgOneseq128XslRr64::jump() should not allow negative $advance).</li>
2168  <li>Changed Mt19937 to throw a ValueError instead of InvalidArgumentException for invalid $mode.</li>
2169  <li>Splitted Random\Randomizer::getInt() (without arguments) to Random\Randomizer::nextInt().</li>
2170  <li>Fixed bug <?php githubissuel('php/php-src', 9235); ?> (non-existant $sequence parameter in stub for PcgOneseq128XslRr64::__construct()).</li>
2171  <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>
2172  <li>Fixed bug <?php githubissuel('php/php-src', 9249); ?> (Xoshiro256StarStar does not reject the invalid all-zero state).</li>
2173  <li>Removed redundant RuntimeExceptions from Randomizer methods. The exceptions thrown by the engines will be exposed directly.</li>
2174  <li>Added extension specific Exceptions/Errors (RandomException, RandomError, BrokenRandomEngineError).</li>
2175  <li>Fixed bug <?php githubissuel('php/php-src', 9415); ?> (Randomizer::getInt(0, 2**32 - 1) with Mt19937 always returns 1).</li>
2176  <li>Fixed Randomizer::getInt() consistency for 32-bit engines.</li>
2177  <li>Fixed bug <?php githubissuel('php/php-src', 9464); ?> (build on older macOs releases).</li>
2178  <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>
2179</ul></li>
2180<li>Reflection:
2181<ul>
2182  <li>Added ReflectionFunction::isAnonymous().</li>
2183  <li>Added ReflectionMethod::hasPrototype().</li>
2184  <li>Narrow ReflectionEnum::getBackingType() return type to ReflectionNamedType.</li>
2185  <li>Fixed bug <?php githubissuel('php/php-src', 8932); ?> (ReflectionFunction provides no way to get the called class of a Closure).</li>
2186</ul></li>
2187<li>Session:
2188<ul>
2189  <li>Fixed bug <?php githubissuel('php/php-src', 7787); ?> (Improve session write failure message for user error handlers).</li>
2190  <li>Fixed <?php githubissuel('php/php-src', 9200); ?> (setcookie has an obsolete expires date format).</li>
2191  <li>Fixed <?php githubissuel('php/php-src', 9584); ?> (Avoid memory corruption when not unregistering custom session handler).</li>
2192  <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>
2193</ul></li>
2194<li>SOAP:
2195<ul>
2196  <li>Fixed bug <?php githubissuel('php/php-src', 9720); ?> (Null pointer dereference while serializing the response).</li>
2197</ul></li>
2198<li>Sockets:
2199<ul>
2200  <li>Added TCP_NOTSENT_LOWAT socket option.</li>
2201  <li>Added SO_MEMINFO socket option.</li>
2202  <li>Added SO_RTABLE socket option (OpenBSD), equivalent of SO_MARK (Linux).</li>
2203  <li>Added TCP_KEEPALIVE, TCP_KEEPIDLE, TCP_KEEPINTVL, TCP_KEEPCNT socket options.</li>
2204  <li>Added ancillary data support for FreeBSD.</li>
2205  <li>Added ancillary data support for NetBSD.</li>
2206  <li>Added SO_BPF_EXTENSIONS socket option.</li>
2207  <li>Added SO_SETFIB socket option.</li>
2208  <li>Added TCP_CONGESTION socket option.</li>
2209  <li>Added SO_ZEROCOPY/MSG_ZEROCOPY options.</li>
2210  <li>Added SOL_FILTER socket option for Solaris.</li>
2211  <li>Fixed socket constants regression as of PHP 8.2.0beta3.</li>
2212</ul></li>
2213<li>Sodium:
2214<ul>
2215  <li>Added sodium_crypto_stream_xchacha20_xor_ic().</li>
2216</ul></li>
2217<li>SPL:
2218<ul>
2219  <li>Uses safe_erealloc instead of erealloc to handle heap growth for the SplHeap::insert method to avoid possible overflows.</li>
2220  <li>Widen iterator_to_array() and iterator_count()'s $iterator parameter to iterable.</li>
2221  <li><?php bugfix(69181); ?> (READ_CSV|DROP_NEW_LINE drops newlines within fields).</li>
2222  <li><?php bugfix(65069); ?> (GlobIterator incorrect handling of open_basedir check).</li>
2223</ul></li>
2224<li>SQLite3:
2225<ul>
2226  <li>Changed sqlite3.defensive from PHP_INI_SYSTEM to PHP_INI_USER.</li>
2227</ul></li>
2228<li>Standard:
2229<ul>
2230  <li>net_get_interfaces() also reports wireless network interfaces on Windows.</li>
2231  <li>Finished AVIF support in getimagesize().</li>
2232  <li>Fixed bug <?php githubissuel('php/php-src', 7847); ?> (stripos with large haystack has bad performance).</li>
2233  <li>New function memory_reset_peak_usage().</li>
2234  <li>Fixed parse_url(): can not recognize port without scheme.</li>
2235  <li>Deprecated utf8_encode() and utf8_decode().</li>
2236  <li>Fixed the crypt_sha256/512 api build with clang &gt; 12.</li>
2237  <li>Uses safe_erealloc instead of erealloc to handle options in getopt to avoid possible overflows.</li>
2238  <li>Implemented FR <?php githubissuel('php/php-src', 8924); ?> (str_split should return empty array for empty string).</li>
2239  <li>Added ini_parse_quantity function to convert ini quantities shorthand notation to int.</li>
2240  <li>Enable arc4random_buf for Linux glibc 2.36 and onwards for the random_bytes.</li>
2241  <li>Uses CCRandomGenerateBytes instead of arc4random_buf on macOs. (David Carlier).</li>
2242  <li><?php bugfix(65489); ?> (glob() basedir check is inconsistent).</li>
2243  <li>Fixed <?php githubissuel('php/php-src', 9200); ?> (setcookie has an obsolete expires date format).</li>
2244  <li>Fixed <?php githubissuel('php/php-src', 9244); ?> (Segfault with array_multisort + array_shift).</li>
2245  <li>Fixed bug <?php githubissuel('php/php-src', 9296); ?> (`ksort` behaves incorrectly on arrays with mixed keys).</li>
2246  <li>Marked crypt()'s $string parameter as #[\SensitiveParameter].</li>
2247  <li>Fixed bug <?php githubissuel('php/php-src', 9464); ?> (build on older macOs releases).</li>
2248  <li>Fixed bug <?php githubissuel('php/php-src', 9518); ?> (Disabling IPv6 support disables unrelated constants).</li>
2249  <li>Revert "Fixed parse_url(): can not recognize port without scheme." (andypost)</li>
2250  <li>Fix crash reading module_entry after DL_UNLOAD() when module already loaded.</li>
2251</ul></li>
2252<li>Streams:
2253<ul>
2254  <li>Set IP_BIND_ADDRESS_NO_PORT if available when connecting to remote host.</li>
2255  <li>Fixed bug <?php githubissuel('php/php-src', 8548); ?> (stream_wrapper_unregister() leaks memory).</li>
2256  <li>Discard poll calls on socket when no timeout/non blocking/MSG_DONTWAIT.</li>
2257  <li>Fixed bug <?php githubissuel('php/php-src', 9316); ?> ($http_response_header is wrong for long status line).</li>
2258  <li>Fixed bug <?php githubissuel('php/php-src', 9590); ?> (stream_select does not abort upon exception or empty valid fd set).</li>
2259  <li>Fixed bug <?php githubissuel('php/php-src', 9653); ?> (file copy between different filesystems).</li>
2260  <li>Fixed bug <?php githubissuel('php/php-src', 9779); ?> (stream_copy_to_stream fails if dest in append mode).</li>
2261</ul></li>
2262<li>Windows:
2263<ul>
2264  <li>Added preliminary support for (cross-)building for ARM64.</li>
2265</ul></li>
2266<li>XML:
2267<ul>
2268  <li>Added libxml_get_external_entity_loader() function.</li>
2269</ul></li>
2270<li>Zip:
2271<ul>
2272  <li>add ZipArchive::clearError() method</li>
2273  <li>add ZipArchive::getStreamName() method</li>
2274  <li>add ZipArchive::getStreamIndex() method</li>
2275  <li>On Windows, the Zip extension is now built as shared library (DLL) by default.</li>
2276  <li>Implement fseek for zip stream when possible with libzip 1.9.1.</li>
2277</ul></li>
2278</ul>
2279<!-- }}} --></section>
2280
2281
2282
2283<a id="PHP_8_1"></a>
2284
2285<section class="version" id="8.1.28"><!-- {{{ 8.1.28 -->
2286<h3>Version 8.1.28</h3>
2287<b><?php release_date('11-Apr-2024'); ?></b>
2288<ul><li>Standard:
2289<ul>
2290  <li>Fixed bug GHSA-pc52-254m-w9w7 (Command injection via array-ish $command parameter of proc_open). (CVE-2024-1874)</li>
2291  <li>Fixed bug GHSA-wpj3-hf5j-x4v4 (__Host-/__Secure- cookie bypass due to partial CVE-2022-31629 fix). (CVE-2024-2756)</li>
2292  <li>Fixed bug GHSA-h746-cjrr-wfmr (password_verify can erroneously return true, opening ATO risk). (CVE-2024-3096)</li>
2293</ul></li>
2294</ul>
2295<!-- }}} --></section>
2296
2297
2298
2299<section class="version" id="8.1.27"><!-- {{{ 8.1.27 -->
2300<h3>Version 8.1.27</h3>
2301<b><?php release_date('21-Dec-2023'); ?></b>
2302<ul><li>Core:
2303<ul>
2304  <li>Fixed oss-fuzz #54325 (Use-after-free of name in var-var with malicious error handler).</li>
2305  <li>Fixed oss-fuzz #64209 (In-place modification of filename in php_message_handler_for_zend).</li>
2306  <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>
2307</ul></li>
2308<li>DOM:
2309<ul>
2310  <li>Fixed bug <?php githubissuel('php/php-src', 12616); ?> (DOM: Removing XMLNS namespace node results in invalid default: prefix).</li>
2311</ul></li>
2312<li>FPM:
2313<ul>
2314  <li>Fixed bug <?php githubissuel('php/php-src', 12705); ?> (Segmentation fault in fpm_status_export_to_zval).</li>
2315</ul></li>
2316<li>Intl:
2317<ul>
2318  <li>Fixed bug <?php githubissuel('php/php-src', 12635); ?> (Test bug69398.phpt fails with ICU 74.1).</li>
2319</ul></li>
2320<li>LibXML:
2321<ul>
2322  <li>Fixed bug <?php githubissuel('php/php-src', 12702); ?> (libxml2 2.12.0 issue building from src).</li>
2323</ul></li>
2324<li>MySQLnd:
2325<ul>
2326  <li>Avoid using uninitialised struct.</li>
2327</ul></li>
2328<li>OpenSSL:
2329<ul>
2330  <li><?php bugfix(50713); ?> (openssl_pkcs7_verify() may ignore untrusted CAs).</li>
2331</ul></li>
2332<li>PCRE:
2333<ul>
2334  <li>Fixed bug <?php githubissuel('php/php-src', 12628); ?> (The gh11374 test fails on Alpinelinux).</li>
2335</ul></li>
2336<li>PGSQL:
2337<ul>
2338  <li>Fixed bug <?php githubissuel('php/php-src', 12763); ?> wrong argument type for pg_untrace.</li>
2339</ul></li>
2340<li>PHPDBG:
2341<ul>
2342  <li>Fixed bug <?php githubissuel('php/php-src', 12675); ?> (MEMORY_LEAK in phpdbg_prompt.c).</li>
2343</ul></li>
2344<li>SQLite3:
2345<ul>
2346  <li>Fixed bug <?php githubissuel('php/php-src', 12633); ?> (sqlite3_defensive.phpt fails with sqlite 3.44.0).</li>
2347</ul></li>
2348<li>Standard:
2349<ul>
2350  <li>Fix memory leak in syslog device handling.</li>
2351  <li>Fixed bug <?php githubissuel('php/php-src', 12621); ?> (browscap segmentation fault when configured in the vhost).</li>
2352  <li>Fixed bug <?php githubissuel('php/php-src', 12655); ?> (proc_open() does not take into account references in the descriptor array).</li>
2353</ul></li>
2354<li>Streams:
2355<ul>
2356  <li><?php bugfix(79945); ?> (Stream wrappers in imagecreatefrompng causes segfault).</li>
2357</ul></li>
2358<li>Zip:
2359<ul>
2360  <li>Fixed bug <?php githubissuel('php/php-src', 12661); ?> (Inconsistency in ZipArchive::addGlob remove_path Option Behavior).</li>
2361</ul></li>
2362</ul>
2363<!-- }}} --></section>
2364
2365
2366
2367<section class="version" id="8.1.26"><!-- {{{ 8.1.26 -->
2368<h3>Version 8.1.26</h3>
2369<b><?php release_date('23-Nov-2023'); ?></b>
2370<ul><li>Core:
2371<ul>
2372  <li>Fixed bug <?php githubissuel('php/php-src', 12468); ?> (Double-free of doc_comment when overriding static property via trait).</li>
2373  <li>Fixed segfault caused by weak references to FFI objects.</li>
2374  <li>Fixed max_execution_time: don't delete an unitialized timer.</li>
2375</ul></li>
2376<li>DOM:
2377<ul>
2378  <li>Fix registerNodeClass with abstract class crashing.</li>
2379  <li>Add missing NULL pointer error check.</li>
2380  <li>Fix validation logic of php:function() callbacks.</li>
2381</ul></li>
2382<li>Fiber:
2383<ul>
2384  <li>Fixed bug <?php githubissuel('php/php-src', 11121); ?> (ReflectionFiber segfault).</li>
2385</ul></li>
2386<li>FPM:
2387<ul>
2388  <li>Fixed bug <?php githubissuel('php/php-src', 9921); ?> (Loading ext in FPM config does not register module handlers).</li>
2389  <li>Fixed bug <?php githubissuel('php/php-src', 12232); ?> (FPM: segfault dynamically loading extension without opcache).</li>
2390</ul></li>
2391<li>Intl:
2392<ul>
2393  <li>Removed the BC break on IntlDateFormatter::construct which threw an exception with an invalid locale.</li>
2394</ul></li>
2395<li>Opcache:
2396<ul>
2397  <li>Added warning when JIT cannot be enabled.</li>
2398  <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>
2399</ul></li>
2400<li>OpenSSL:
2401<ul>
2402  <li>Fixed bug <?php githubissuel('php/php-src', 12489); ?> (Missing sigbio creation checking in openssl_cms_verify).</li>
2403</ul></li>
2404<li>PCRE:
2405<ul>
2406  <li>Fixed bug <?php githubissuel('php/php-src', 11374); ?> (Backport upstream fix, Different preg_match result with -d pcre.jit=0).</li>
2407</ul></li>
2408<li>SOAP:
2409<ul>
2410  <li>Fixed bug <?php githubissuel('php/php-src', 12392); ?> (Segmentation fault on SoapClient::__getTypes).</li>
2411  <li><?php bugfix(66150); ?> (SOAP WSDL cache race condition causes Segmentation Fault).</li>
2412  <li><?php bugfix(67617); ?> (SOAP leaves incomplete cache file on ENOSPC).</li>
2413  <li>Fix incorrect uri check in SOAP caching.</li>
2414  <li>Fix segfault and assertion failure with refcounted props and arrays.</li>
2415  <li>Fix potential crash with an edge case of persistent encoders.</li>
2416  <li><?php bugfix(75306); ?> (Memleak in SoapClient).</li>
2417</ul></li>
2418<li>Streams:
2419<ul>
2420  <li><?php bugfix(75708); ?> (getimagesize with "&amp;$imageinfo" fails on StreamWrappers).</li>
2421</ul></li>
2422<li>XMLReader:
2423<ul>
2424  <li>Add missing NULL pointer error check.</li>
2425</ul></li>
2426<li>XMLWriter:
2427<ul>
2428  <li>Add missing NULL pointer error check.</li>
2429</ul></li>
2430<li>XSL:
2431<ul>
2432  <li>Add missing module dependency.</li>
2433  <li>Fix validation logic of php:function() callbacks.</li>
2434</ul></li>
2435</ul>
2436<!-- }}} --></section>
2437
2438
2439
2440<section class="version" id="8.1.25"><!-- {{{ 8.1.25 -->
2441<h3>Version 8.1.25</h3>
2442<b><?php release_date('26-Oct-2023'); ?></b>
2443<ul><li>Core:
2444<ul>
2445  <li>Fixed bug <?php githubissuel('php/php-src', 12207); ?> (memory leak when class using trait with doc block).</li>
2446  <li>Fixed bug <?php githubissuel('php/php-src', 12215); ?> (Module entry being overwritten causes type errors in ext/dom).</li>
2447  <li>Fixed bug <?php githubissuel('php/php-src', 12273); ?> (__builtin_cpu_init check).</li>
2448  <li><?php bugfix(80092); ?> (ZTS + preload = segfault on shutdown).</li>
2449</ul></li>
2450<li>CLI:
2451<ul>
2452  <li>Ensure a single Date header is present.</li>
2453</ul></li>
2454<li>CType:
2455<ul>
2456  <li>Fixed bug <?php githubissuel('php/php-src', 11997); ?> (ctype_alnum 5 times slower in PHP 8.1 or greater).</li>
2457</ul></li>
2458<li>DOM:
2459<ul>
2460  <li>Restore old namespace reconciliation behaviour.</li>
2461  <li>Fixed bug <?php githubissuel('php/php-src', 8996); ?> (DOMNode serialization on PHP ^8.1).</li>
2462</ul></li>
2463<li>Fileinfo:
2464<ul>
2465  <li>Fixed bug <?php githubissuel('php/php-src', 11891); ?> (fileinfo returns text/xml for some svg files).</li>
2466</ul></li>
2467<li>Filter:
2468<ul>
2469  <li>Fix explicit FILTER_REQUIRE_SCALAR with FILTER_CALLBACK (ilutov)</li>
2470</ul></li>
2471<li>Hash:
2472<ul>
2473  <li>Fixed bug <?php githubissuel('php/php-src', 12186); ?> (segfault copying/cloning a finalized HashContext).</li>
2474</ul></li>
2475<li>Intl:
2476<ul>
2477  <li>Fixed bug <?php githubissuel('php/php-src', 12243); ?> (segfault on IntlDateFormatter::construct).</li>
2478  <li>Fixed bug <?php githubissuel('php/php-src', 12282); ?> (IntlDateFormatter::construct should throw an exception on an invalid locale).</li>
2479</ul></li>
2480<li>MySQLnd:
2481<ul>
2482  <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>
2483</ul></li>
2484<li>Opcache:
2485<ul>
2486  <li>Fixed opcache_invalidate() on deleted file.</li>
2487  <li>Fixed bug <?php githubissuel('php/php-src', 12380); ?> (JIT+private array property access inside closure accesses private property in child class).</li>
2488</ul></li>
2489<li>PCRE:
2490<ul>
2491  <li>Fixed bug <?php githubissuel('php/php-src', 11956); ?> (Backport upstream fix, PCRE regular expressions with JIT enabled gives different result).</li>
2492</ul></li>
2493<li>SimpleXML:
2494<ul>
2495  <li>Fixed bug <?php githubissuel('php/php-src', 12170); ?> (Can't use xpath with comments in SimpleXML).</li>
2496  <li>Fixed bug <?php githubissuel('php/php-src', 12223); ?> (Entity reference produces infinite loop in var_dump/print_r).</li>
2497  <li>Fixed bug <?php githubissuel('php/php-src', 12167); ?> (Unable to get processing instruction contents in SimpleXML).</li>
2498  <li>Fixed bug <?php githubissuel('php/php-src', 12169); ?> (Unable to get comment contents in SimpleXML).</li>
2499</ul></li>
2500<li>Streams:
2501<ul>
2502  <li>Fixed bug <?php githubissuel('php/php-src', 12190); ?> (binding ipv4 address with both address and port at 0).</li>
2503</ul></li>
2504<li>XML:
2505<ul>
2506  <li>Fix return type of stub of xml_parse_into_struct().</li>
2507  <li>Fix memory leak when calling xml_parse_into_struct() twice.</li>
2508</ul></li>
2509<li>XSL:
2510<ul>
2511  <li>Fix type error on XSLTProcessor::transformToDoc return value with SimpleXML.</li>
2512</ul></li>
2513<li>Sockets:
2514<ul>
2515  <li>Fix socket_export_stream() with wrong protocol (twosee)</li>
2516</ul></li>
2517</ul>
2518<!-- }}} --></section>
2519
2520
2521
2522<section class="version" id="8.1.24"><!-- {{{ 8.1.24 -->
2523<h3>Version 8.1.24</h3>
2524<b><?php release_date('28-Sep-2023'); ?></b>
2525<ul><li>Core:
2526<ul>
2527  <li>Fixed bug <?php githubissuel('php/php-src', 11937); ?> (Constant ASTs containing objects).</li>
2528  <li>Fixed bug <?php githubissuel('php/php-src', 11790); ?> (On riscv64 require libatomic if actually needed).</li>
2529  <li>Fixed bug <?php githubissuel('php/php-src', 12073); ?> (Segfault when freeing incompletely initialized closures).</li>
2530  <li>Fixed bug <?php githubissuel('php/php-src', 12060); ?> (Internal iterator rewind handler is called twice).</li>
2531  <li>Fixed bug <?php githubissuel('php/php-src', 12102); ?> (Incorrect compile error when using array access on TMP value in function call).</li>
2532</ul></li>
2533<li>DOM:
2534<ul>
2535  <li>Fix memory leak when setting an invalid DOMDocument encoding.</li>
2536</ul></li>
2537<li>Iconv:
2538<ul>
2539  <li>Fixed build for NetBSD which still uses the old iconv signature.</li>
2540</ul></li>
2541<li>Intl:
2542<ul>
2543  <li>Fixed bug <?php githubissuel('php/php-src', 12020); ?> (intl_get_error_message() broken after MessageFormatter::formatMessage() fails).</li>
2544</ul></li>
2545<li>MySQLnd:
2546<ul>
2547  <li>Fixed bug <?php githubissuel('php/php-src', 10270); ?> (Invalid error message when connection via SSL fails: "trying to connect via (null)").</li>
2548</ul></li>
2549<li>ODBC:
2550<ul>
2551  <li>Fixed memory leak with failed SQLPrepare.</li>
2552  <li>Fixed persistent procedural ODBC connections not getting closed.</li>
2553</ul></li>
2554<li>SimpleXML:
2555<ul>
2556  <li><?php bugfix(52751); ?> (XPath processing-instruction() function is not supported).</li>
2557</ul></li>
2558<li>SPL:
2559<ul>
2560  <li>Fixed bug <?php githubissuel('php/php-src', 11972); ?> (RecursiveCallbackFilterIterator regression in 8.1.18).</li>
2561</ul></li>
2562<li>SQLite3:
2563<ul>
2564  <li>Fixed bug <?php githubissuel('php/php-src', 11878); ?> (SQLite3 callback functions cause a memory leak with a callable array).</li>
2565</ul></li>
2566</ul>
2567<!-- }}} --></section>
2568
2569
2570
2571<section class="version" id="8.1.23"><!-- {{{ 8.1.23 -->
2572<h3>Version 8.1.23</h3>
2573<b><?php release_date('31-Aug-2023'); ?></b>
2574<ul><li>CLI:
2575<ul>
2576  <li>Fixed bug <?php githubissuel('php/php-src', 11716); ?> (cli server crashes on SIGINT when compiled with ZEND_RC_DEBUG=1).</li>
2577  <li>Fixed bug <?php githubissuel('php/php-src', 10964); ?> (Improve man page about the built-in server).</li>
2578</ul></li>
2579<li>Core:
2580<ul>
2581  <li>Fixed strerror_r detection at configuration time.</li>
2582</ul></li>
2583<li>Date:
2584<ul>
2585  <li>Fixed bug <?php githubissuel('php/php-src', 11416); ?>: Crash with DatePeriod when uninitialised objects are passed in.</li>
2586</ul></li>
2587<li>DOM:
2588<ul>
2589  <li>Fix DOMEntity field getter bugs.</li>
2590  <li>Fix incorrect attribute existence check in DOMElement::setAttributeNodeNS.</li>
2591  <li>Fix DOMCharacterData::replaceWith() with itself.</li>
2592  <li>Fix empty argument cases for DOMParentNode methods.</li>
2593  <li>Fixed bug <?php githubissuel('php/php-src', 11791); ?> (Wrong default value of DOMDocument::xmlStandalone).</li>
2594  <li>Fix json_encode result on DOMDocument.</li>
2595  <li>Fix manually calling __construct() on DOM classes.</li>
2596  <li>Fixed bug <?php githubissuel('php/php-src', 11830); ?> (ParentNode methods should perform their checks upfront).</li>
2597  <li>Fix segfault when DOMParentNode::prepend() is called when the child disappears.</li>
2598</ul></li>
2599<li>FFI:
2600<ul>
2601  <li>Fix leaking definitions when using FFI::cdef()-&gt;new(...).</li>
2602</ul></li>
2603<li>MySQLnd:
2604<ul>
2605  <li>Fixed bug <?php githubissuel('php/php-src', 11440); ?> (authentication to a sha256_password account fails over SSL).</li>
2606  <li>Fixed bug <?php githubissuel('php/php-src', 11438); ?> (mysqlnd fails to authenticate with sha256_password accounts using passwords longer than 19 characters).</li>
2607  <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>
2608  <li>Fixed invalid error message "Malformed packet" when connection is dropped.</li>
2609</ul></li>
2610<li>Opcache:
2611<ul>
2612  <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>
2613  <li>Avoid adding an unnecessary read-lock when loading script from shm if restart is in progress.</li>
2614</ul></li>
2615<li>PCNTL:
2616<ul>
2617  <li>Revert behaviour of receiving SIGCHLD signals back to the behaviour before 8.1.22.</li>
2618</ul></li>
2619<li>SPL:
2620<ul>
2621  <li><?php bugfix(81992); ?> (SplFixedArray::setSize() causes use-after-free).</li>
2622</ul></li>
2623<li>Standard:
2624<ul>
2625  <li>Prevent int overflow on $decimals in number_format.</li>
2626  <li>Fixed bug <?php githubissuel('php/php-src', 11870); ?> (Fix off-by-one bug when truncating tempnam prefix) (athos-ribeiro)</li>
2627</ul></li>
2628</ul>
2629<!-- }}} --></section>
2630
2631
2632
2633<section class="version" id="8.1.22"><!-- {{{ 8.1.22 -->
2634<h3>Version 8.1.22</h3>
2635<b><?php release_date('03-Aug-2023'); ?></b>
2636<ul><li>Build:
2637<ul>
2638  <li>Fixed bug <?php githubissuel('php/php-src', 11522); ?> (PHP version check fails with '-' separator).</li>
2639</ul></li>
2640<li>CLI:
2641<ul>
2642  <li>Fix interrupted CLI output causing the process to exit.</li>
2643</ul></li>
2644<li>Core:
2645<ul>
2646  <li>Fixed oss-fuzz #60011 (Mis-compilation of by-reference nullsafe operator).</li>
2647  <li>Fixed use-of-uninitialized-value with ??= on assert.</li>
2648  <li>Fixed build for FreeBSD before the 11.0 releases.</li>
2649</ul></li>
2650<li>Curl:
2651<ul>
2652  <li>Fix crash when an invalid callback function is passed to CURLMOPT_PUSHFUNCTION.</li>
2653</ul></li>
2654<li>Date:
2655<ul>
2656  <li>Fixed bug <?php githubissuel('php/php-src', 11368); ?> (Date modify returns invalid datetime).</li>
2657</ul></li>
2658<li>DOM:
2659<ul>
2660  <li>Fixed bug <?php githubissuel('php/php-src', 11625); ?> (DOMElement::replaceWith() doesn't replace node with DOMDocumentFragment but just deletes node or causes wrapping &lt;&gt;&lt;/&gt; depending on libxml2 version).</li>
2661</ul></li>
2662<li>Fileinfo:
2663<ul>
2664  <li>Fixed bug <?php githubissuel('php/php-src', 11298); ?> (finfo returns wrong mime type for xz files).</li>
2665</ul></li>
2666<li>FTP:
2667<ul>
2668  <li>Fix context option check for "overwrite".</li>
2669  <li>Fixed bug <?php githubissuel('php/php-src', 10562); ?> (Memory leak and invalid state with consecutive ftp_nb_fget).</li>
2670</ul></li>
2671<li>GD:
2672<ul>
2673  <li>Fix most of the external libgd test failures.</li>
2674</ul></li>
2675<li>Hash:
2676<ul>
2677  <li>Fix use-of-uninitialized-value in hash_pbkdf2(), fix missing $options parameter in signature.</li>
2678</ul></li>
2679<li>Intl:
2680<ul>
2681  <li>Fix memory leak in MessageFormatter::format() on failure.</li>
2682</ul></li>
2683<li>Libxml:
2684<ul>
2685  <li>Fixed bug GHSA-3qrf-m4j2-pcrr (Security issue with external entity loading in XML without enabling it). (CVE-2023-3823)</li>
2686</ul></li>
2687<li>MBString:
2688<ul>
2689  <li>Fix <?php githubissuel('php/php-src', 11300); ?> (license issue: restricted unicode license headers).</li>
2690</ul></li>
2691<li>Opcache:
2692<ul>
2693  <li>Fixed bug <?php githubissuel('php/php-src', 10914); ?> (OPCache with Enum and Callback functions results in segmentation fault).</li>
2694  <li>Prevent potential deadlock if accelerated globals cannot be allocated.</li>
2695</ul></li>
2696<li>PCNTL:
2697<ul>
2698  <li>Fixed bug <?php githubissuel('php/php-src', 11498); ?> (SIGCHLD is not always returned from proc_open).</li>
2699</ul></li>
2700<li>PCRE:
2701<ul>
2702  <li>Mangle PCRE regex cache key with JIT option.</li>
2703</ul></li>
2704<li>PDO:
2705<ul>
2706  <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>
2707</ul></li>
2708<li>PDO SQLite:
2709<ul>
2710  <li>Fix <?php githubissuel('php/php-src', 11492); ?> (Make test failure: ext/pdo_sqlite/tests/bug_42589.phpt).</li>
2711</ul></li>
2712<li>Phar:
2713<ul>
2714  <li>Add missing check on EVP_VerifyUpdate() in phar util.</li>
2715  <li>Fixed bug GHSA-jqcx-ccgc-xwhv (Buffer mismanagement in phar_dir_read()). (CVE-2023-3824)</li>
2716</ul></li>
2717<li>PHPDBG:
2718<ul>
2719  <li>Fixed bug <?php githubissuel('php/php-src', 9669); ?> (phpdbg -h options doesn't list the -z option).</li>
2720</ul></li>
2721<li>Session:
2722<ul>
2723  <li>Removed broken url support for transferring session ID.</li>
2724</ul></li>
2725<li>Standard:
2726<ul>
2727  <li>Fix serialization of RC1 objects appearing in object graph twice.</li>
2728</ul></li>
2729<li>SQLite3:
2730<ul>
2731  <li>Fix replaced error handling in SQLite3Stmt::__construct.</li>
2732</ul></li>
2733</ul>
2734<!-- }}} --></section>
2735
2736
2737
2738<section class="version" id="8.1.21"><!-- {{{ 8.1.21 -->
2739<h3>Version 8.1.21</h3>
2740<b><?php release_date('06-Jul-2023'); ?></b>
2741<ul><li>CLI:
2742<ul>
2743  <li>Fixed bug <?php githubissuel('php/php-src', 11246); ?> (cli/get_set_process_title fails on MacOS).</li>
2744</ul></li>
2745<li>Core:
2746<ul>
2747  <li>Fixed build for the riscv64 architecture/GCC 12.</li>
2748</ul></li>
2749<li>Curl:
2750<ul>
2751  <li>Fixed bug <?php githubissuel('php/php-src', 11433); ?> (Unable to set CURLOPT_ACCEPT_ENCODING to NULL).</li>
2752</ul></li>
2753<li>DOM:
2754<ul>
2755  <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>
2756  <li>Fixed bug <?php githubissuel('php/php-src', 10234); ?> (Setting DOMAttr::textContent results in an empty attribute value).</li>
2757  <li>Fix return value in stub file for DOMNodeList::item.</li>
2758  <li>Fix spec compliance error with '*' namespace for DOMDocument::getElementsByTagNameNS.</li>
2759  <li>Fix DOMElement::append() and DOMElement::prepend() hierarchy checks.</li>
2760  <li>Fixed bug <?php githubissuel('php/php-src', 11347); ?> (Memory leak when calling a static method inside an xpath query).</li>
2761  <li><?php bugfix(67440); ?> (append_node of a DOMDocumentFragment does not reconcile namespaces).</li>
2762  <li><?php bugfix(81642); ?> (DOMChildNode::replaceWith() bug when replacing a node with itself).</li>
2763  <li><?php bugfix(77686); ?> (Removed elements are still returned by getElementById).</li>
2764  <li><?php bugfix(70359); ?> (print_r() on DOMAttr causes Segfault in php_libxml_node_free_list()).</li>
2765  <li><?php bugfix(78577); ?> (Crash in DOMNameSpace debug info handlers).</li>
2766  <li>Fix lifetime issue with getAttributeNodeNS().</li>
2767  <li>Fix "invalid state error" with cloned namespace declarations.</li>
2768  <li><?php bugfix(55294); ?> and #47530 and #47847 (various namespace reconciliation issues).</li>
2769  <li><?php bugfix(80332); ?> (Completely broken array access functionality with DOMNamedNodeMap).</li>
2770</ul></li>
2771<li>Opcache:
2772<ul>
2773  <li>Fix allocation loop in zend_shared_alloc_startup().</li>
2774  <li>Access violation on smm_shared_globals with ALLOC_FALLBACK.</li>
2775  <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>
2776</ul></li>
2777<li>OpenSSL:
2778<ul>
2779  <li>Fixed bug <?php githubissuel('php/php-src', 9356); ?> Incomplete validation of IPv6 Address fields in subjectAltNames (James Lucas, Jakub Zelenka).</li>
2780</ul></li>
2781<li>PGSQL:
2782<ul>
2783  <li>Fixed intermittent segfault with pg_trace.</li>
2784</ul></li>
2785<li>Phar:
2786<ul>
2787  <li>Fix cross-compilation check in phar generation for FreeBSD.</li>
2788</ul></li>
2789<li>SPL:
2790<ul>
2791  <li>Fixed bug <?php githubissuel('php/php-src', 11338); ?> (SplFileInfo empty getBasename with more than one slash).</li>
2792</ul></li>
2793<li>Standard:
2794<ul>
2795  <li>Fix access on NULL pointer in array_merge_recursive().</li>
2796  <li>Fix exception handling in array_multisort().</li>
2797</ul></li>
2798</ul>
2799<!-- }}} --></section>
2800
2801
2802
2803<section class="version" id="8.1.20"><!-- {{{ 8.1.20 -->
2804<h3>Version 8.1.20</h3>
2805<b><?php release_date('08-Jun-2023'); ?></b>
2806<ul><li>Core:
2807<ul>
2808  <li>Fixed bug <?php githubissuel('php/php-src', 9068); ?> (Conditional jump or move depends on uninitialised value(s)).</li>
2809  <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>
2810  <li>Fixed bug <?php githubissuel('php/php-src', 11222); ?> (foreach by-ref may jump over keys during a rehash).</li>
2811</ul></li>
2812<li>Date:
2813<ul>
2814  <li>Fixed bug <?php githubissuel('php/php-src', 11281); ?> (DateTimeZone::getName() does not include seconds in offset).</li>
2815</ul></li>
2816<li>Exif:
2817<ul>
2818  <li>Fixed bug <?php githubissuel('php/php-src', 10834); ?> (exif_read_data() cannot read smaller stream wrapper chunk sizes).</li>
2819</ul></li>
2820<li>FPM:
2821<ul>
2822  <li>Fixed bug <?php githubissuel('php/php-src', 10461); ?> (PHP-FPM segfault due to after free usage of child-&gt;ev_std(out|err)).</li>
2823  <li><?php bugfix(64539); ?> (FPM status page: query_string not properly JSON encoded).</li>
2824  <li>Fixed memory leak for invalid primary script file handle.</li>
2825</ul></li>
2826<li>Hash:
2827<ul>
2828  <li>Fixed bug <?php githubissuel('php/php-src', 11180); ?> (hash_file() appears to be restricted to 3 arguments).</li>
2829</ul></li>
2830<li>LibXML:
2831<ul>
2832  <li>Fixed bug <?php githubissuel('php/php-src', 11160); ?> (Few tests failed building with new libxml 2.11.0).</li>
2833</ul></li>
2834<li>Opcache:
2835<ul>
2836  <li>Fixed bug <?php githubissuel('php/php-src', 11134); ?> (Incorrect match default branch optimization).</li>
2837  <li>Fixed too wide OR and AND range inference.</li>
2838  <li>Fixed bug <?php githubissuel('php/php-src', 11245); ?> (In some specific cases SWITCH with one default statement will cause segfault).</li>
2839</ul></li>
2840<li>PGSQL:
2841<ul>
2842  <li>Fixed parameter parsing of pg_lo_export().</li>
2843</ul></li>
2844<li>Phar:
2845<ul>
2846  <li>Fixed bug <?php githubissuel('php/php-src', 11099); ?> (Generating phar.php during cross-compile can't be done).</li>
2847</ul></li>
2848<li>Soap:
2849<ul>
2850  <li>Fixed bug GHSA-76gg-c692-v2mw (Missing error check and insufficient random bytes in HTTP Digest authentication for SOAP). (CVE-2023-3247)</li>
2851  <li>Fixed bug <?php githubissuel('php/php-src', 8426); ?> (make test fail while soap extension build).</li>
2852</ul></li>
2853<li>SPL:
2854<ul>
2855  <li>Fixed bug <?php githubissuel('php/php-src', 11178); ?> (Segmentation fault in spl_array_it_get_current_data (PHP 8.1.18)).</li>
2856</ul></li>
2857<li>Standard:
2858<ul>
2859  <li>Fixed bug <?php githubissuel('php/php-src', 11138); ?> (move_uploaded_file() emits open_basedir warning for source file).</li>
2860  <li>Fixed bug <?php githubissuel('php/php-src', 11274); ?> (POST/PATCH request switches to GET after a HTTP 308 redirect).</li>
2861</ul></li>
2862<li>Streams:
2863<ul>
2864  <li>Fixed bug <?php githubissuel('php/php-src', 10031); ?> ([Stream] STREAM_NOTIFY_PROGRESS over HTTP emitted irregularly for last chunk of data).</li>
2865  <li>Fixed bug <?php githubissuel('php/php-src', 11175); ?> (Stream Socket Timeout).</li>
2866  <li>Fixed bug <?php githubissuel('php/php-src', 11177); ?> (ASAN UndefinedBehaviorSanitizer when timeout = -1 passed to stream_socket_accept/stream_socket_client).</li>
2867</ul></li>
2868</ul>
2869<!-- }}} --></section>
2870
2871
2872
2873<section class="version" id="8.1.19"><!-- {{{ 8.1.19 -->
2874<h3>Version 8.1.19</h3>
2875<b><?php release_date('11-May-2023'); ?></b>
2876<ul><li>Core:
2877<ul>
2878  <li>Fix inconsistent float negation in constant expressions.</li>
2879  <li>Fixed bug <?php githubissuel('php/php-src', 8841); ?> (php-cli core dump calling a badly formed function).</li>
2880  <li>Fixed bug <?php githubissuel('php/php-src', 10737); ?> (PHP 8.1.16 segfaults on line 597 of sapi/apache2handler/sapi_apache2.c).</li>
2881  <li>Fixed bug <?php githubissuel('php/php-src', 11028); ?> (Heap Buffer Overflow in zval_undefined_cv.).</li>
2882  <li>Fixed bug <?php githubissuel('php/php-src', 11108); ?> (Incorrect CG(memoize_mode) state after bailout in ??=).</li>
2883</ul></li>
2884<li>DOM:
2885<ul>
2886  <li><?php bugfix(80602); ?> (Segfault when using DOMChildNode::before()).</li>
2887  <li>Fixed incorrect error handling in dom_zvals_to_fragment().</li>
2888</ul></li>
2889<li>Exif:
2890<ul>
2891  <li>Fixed bug <?php githubissuel('php/php-src', 9397); ?> (exif read : warnings and errors : Potentially invalid endianess, Illegal IFD size and Undefined index).</li>
2892</ul></li>
2893<li>Intl:
2894<ul>
2895  <li>Fixed bug <?php githubissuel('php/php-src', 11071); ?> (TZData version not displayed anymore).</li>
2896</ul></li>
2897<li>PCRE:
2898<ul>
2899  <li>Fixed bug <?php githubissuel('php/php-src', 10968); ?> (Segfault in preg_replace_callback_array()).</li>
2900</ul></li>
2901<li>Standard:
2902<ul>
2903  <li>Fixed bug <?php githubissuel('php/php-src', 10990); ?> (mail() throws TypeError after iterating over $additional_headers array by reference).</li>
2904  <li>Fixed bug <?php githubissuel('php/php-src', 9775); ?> (Duplicates returned by array_unique when using enums).</li>
2905</ul></li>
2906</ul>
2907<!-- }}} --></section>
2908
2909
2910
2911<section class="version" id="8.1.18"><!-- {{{ 8.1.18 -->
2912<h3>Version 8.1.18</h3>
2913<b><?php release_date('13-Apr-2023'); ?></b>
2914<ul><li>Core:
2915<ul>
2916  <li>Added optional support for max_execution_time in ZTS/Linux builds.</li>
2917  <li>Fixed use-after-free in recursive AST evaluation.</li>
2918  <li>Fixed bug <?php githubissuel('php/php-src', 8646); ?> (Memory leak PHP FPM 8.1).</li>
2919  <li>Fixed bug <?php githubissuel('php/php-src', 10801); ?> (Named arguments in CTE functions cause a segfault).</li>
2920  <li>Fixed bug <?php githubissuel('php/php-src', 8789); ?> (PHP 8.0.20 (ZTS) zend_signal_handler_defer crashes on apache).</li>
2921  <li>Fixed bug <?php githubissuel('php/php-src', 10015); ?> (zend_signal_handler_defer crashes on apache shutdown).</li>
2922  <li>Fixed bug <?php githubissuel('php/php-src', 10810); ?> (Fix NUL byte terminating Exception::__toString()).</li>
2923  <li>Fix potential memory corruption when mixing __callStatic() and FFI.</li>
2924</ul></li>
2925<li>Date:
2926<ul>
2927  <li>Fixed bug <?php githubissuel('php/php-src', 10583); ?> (DateTime modify with tz pattern should not update linked timezone).</li>
2928</ul></li>
2929<li>FPM:
2930<ul>
2931  <li>Fixed bug <?php githubissuel('php/php-src', 10611); ?> (fpm_env_init_main leaks environ).</li>
2932  <li>Destroy file_handle in fpm_main.</li>
2933  <li><?php bugfix(74129); ?> (Incorrect SCRIPT_NAME with apache ProxyPassMatch when spaces are in path).</li>
2934</ul></li>
2935<li>FTP:
2936<ul>
2937  <li>Propagate success status of ftp_close().</li>
2938  <li>Fixed bug <?php githubissuel('php/php-src', 10521); ?> (ftp_get/ftp_nb_get resumepos offset is maximum 10GB).</li>
2939</ul></li>
2940<li>IMAP:
2941<ul>
2942  <li>Fix build failure with Clang 16.</li>
2943</ul></li>
2944<li>MySQLnd:
2945<ul>
2946  <li>Fixed bug <?php githubissuel('php/php-src', 8979); ?> (Possible Memory Leak with SSL-enabled MySQL connections).</li>
2947</ul></li>
2948<li>Opcache:
2949<ul>
2950  <li>Fixed build for macOS to cater with pkg-config settings.</li>
2951  <li>Fixed bug <?php githubissuel('php/php-src', 8065); ?> (opcache.consistency_checks &gt; 0 causes segfaults in PHP &gt;= 8.1.5 in fpm context).</li>
2952</ul></li>
2953<li>OpenSSL:
2954<ul>
2955  <li>Add missing error checks on file writing functions.</li>
2956</ul></li>
2957<li>PDO Firebird:
2958<ul>
2959  <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>
2960</ul></li>
2961<li>PDO ODBC:
2962<ul>
2963  <li>Fixed missing and inconsistent error checks on SQLAllocHandle.</li>
2964</ul></li>
2965<li>Phar:
2966<ul>
2967  <li>Fixed bug <?php githubissuel('php/php-src', 10766); ?> (PharData archive created with Phar::Zip format does not keep files metadata (datetime)).</li>
2968  <li>Add missing error checks on EVP_MD_CTX_create() and EVP_VerifyInit().</li>
2969</ul></li>
2970<li>PGSQL:
2971<ul>
2972  <li>Fixed typo in the array returned from pg_meta_data (extended mode).</li>
2973</ul></li>
2974<li>SPL:
2975<ul>
2976  <li>Fixed bug <?php githubissuel('php/php-src', 10519); ?> (Array Data Address Reference Issue).</li>
2977  <li>Fixed bug <?php githubissuel('php/php-src', 10844); ?> (ArrayIterator allows modification of readonly props).</li>
2978</ul></li>
2979<li>Standard:
2980<ul>
2981  <li>Fixed bug <?php githubissuel('php/php-src', 10885); ?> (stream_socket_server context leaks).</li>
2982  <li>Fixed bug <?php githubissuel('php/php-src', 10052); ?> (Browscap crashes PHP 8.1.12 on request shutdown (apache2)).</li>
2983  <li>Fixed oss-fuzz #57392 (Buffer-overflow in php_fgetcsv() with \0 delimiter and enclosure).</li>
2984  <li>Fixed undefined behaviour in unpack().</li>
2985</ul></li>
2986</ul>
2987<!-- }}} --></section>
2988
2989
2990
2991<section class="version" id="8.1.17"><!-- {{{ 8.1.17 -->
2992<h3>Version 8.1.17</h3>
2993<b><?php release_date('16-Mar-2023'); ?></b>
2994<ul><li>Core:
2995<ul>
2996  <li>Fixed incorrect check condition in ZEND_YIELD.</li>
2997  <li>Fixed incorrect check condition in type inference.</li>
2998  <li>Fixed overflow check in OnUpdateMemoryConsumption.</li>
2999  <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>
3000  <li>Fixed bug <?php githubissuel('php/php-src', 10437); ?> (Segfault/assertion when using fibers in shutdown function after bailout).</li>
3001  <li>Fixed SSA object type update for compound assignment opcodes.</li>
3002  <li>Fixed language scanner generation build.</li>
3003  <li>Fixed zend_update_static_property() calling zend_update_static_property_ex() misleadingly with the wrong return type.</li>
3004  <li>Fix bug <?php githubissuel('php/php-src', 10570); ?> (Fixed unknown string hash on property fetch with integer constant name).</li>
3005  <li>Fixed php_fopen_primary_script() call resulted on zend_destroy_file_handle() freeing dangling pointers on the handle as it was uninitialized.</li>
3006</ul></li>
3007<li>Curl:
3008<ul>
3009  <li>Fixed deprecation warning at compile time.</li>
3010  <li>Fixed bug <?php githubissuel('php/php-src', 10270); ?> (Unable to return CURL_READFUNC_PAUSE in readfunc callback).</li>
3011</ul></li>
3012<li>Date:
3013<ul>
3014  <li>Fix <?php githubissuel('php/php-src', 10447); ?> ('p' format specifier does not yield 'Z' for 00:00).</li>
3015</ul></li>
3016<li>FFI:
3017<ul>
3018  <li>Fixed incorrect bitshifting and masking in ffi bitfield.</li>
3019</ul></li>
3020<li>Fiber:
3021<ul>
3022  <li>Fixed assembly on alpine x86.</li>
3023  <li>Fixed bug <?php githubissuel('php/php-src', 10496); ?> (segfault when garbage collector is invoked inside of fiber).</li>
3024</ul></li>
3025<li>FPM:
3026<ul>
3027  <li>Fixed bug <?php githubissuel('php/php-src', 10315); ?> (FPM unknown child alert not valid).</li>
3028  <li>Fixed bug <?php githubissuel('php/php-src', 10385); ?> (FPM successful config test early exit).</li>
3029</ul></li>
3030<li>Intl:
3031<ul>
3032  <li>Fixed bug <?php githubissuel('php/php-src', 10647); ?> (Spoolchecker isSuspicious/areConfusable methods error code's argument always returning NULL0.</li>
3033</ul></li>
3034<li>JSON:
3035<ul>
3036  <li>Fixed JSON scanner and parser generation build.</li>
3037</ul></li>
3038<li>MBString:
3039<ul>
3040  <li>ext/mbstring: fix new_value length check.</li>
3041  <li>Fix bug <?php githubissuel('php/php-src', 10627); ?> (mb_convert_encoding crashes PHP on Windows).</li>
3042</ul></li>
3043<li>Opcache:
3044<ul>
3045  <li>Fix incorrect page_size check.</li>
3046</ul></li>
3047<li>OpenSSL:
3048<ul>
3049  <li>Fixed php_openssl_set_server_dh_param() DH params errors handling.</li>
3050</ul></li>
3051<li>PDO OCI:
3052<ul>
3053  <li><?php bugfix(60994); ?> (Reading a multibyte CLOB caps at 8192 chars).</li>
3054</ul></li>
3055<li>PHPDBG:
3056<ul>
3057  <li>Fixed bug <?php githubissuel('php/php-src', 10715); ?> (heap buffer overflow on --run option misuse).</li>
3058</ul></li>
3059<li>PGSQL:
3060<ul>
3061  <li>Fix <?php githubissuel('php/php-src', 10672); ?> (pg_lo_open segfaults in the strict_types mode).</li>
3062</ul></li>
3063<li>Phar:
3064<ul>
3065  <li>Fix incorrect check in phar tar parsing.</li>
3066</ul></li>
3067<li>Reflection:
3068<ul>
3069  <li>Fixed bug <?php githubissuel('php/php-src', 10623); ?> (Reflection::getClosureUsedVariables opcode fix with variadic arguments).</li>
3070  <li>Fix Segfault when using ReflectionFiber suspended by an internal function.</li>
3071</ul></li>
3072<li>Session:
3073<ul>
3074  <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>
3075</ul></li>
3076<li>Standard:
3077<ul>
3078  <li>Fixed bug <?php githubissuel('php/php-src', 10292); ?> (Made the default value of the first param of srand() and mt_srand() unknown).</li>
3079  <li>Fix incorrect check in cs_8559_5 in map_from_unicode().</li>
3080  <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>
3081  <li>Fix incorrect error check in browsecap for pcre2_match().</li>
3082</ul></li>
3083<li>Tidy:
3084<ul>
3085  <li>Fix memory leaks when attempting to open a non-existing file or a file over 4GB.</li>
3086  <li>Add missing error check on tidyLoadConfig.</li>
3087</ul></li>
3088<li>Zlib:
3089<ul>
3090  <li>Fixed output_handler directive value's length which counted the string terminator.</li>
3091</ul></li>
3092</ul>
3093<!-- }}} --></section>
3094
3095
3096
3097<section class="version" id="8.1.16"><!-- {{{ 8.1.16 -->
3098<h3>Version 8.1.16</h3>
3099<b><?php release_date('14-Feb-2023'); ?></b>
3100<ul><li>Core:
3101<ul>
3102  <li><?php bugfix(81744); ?> (Password_verify() always return true with some hash).</li>
3103  <li><?php bugfix(81746); ?> (1-byte array overrun in common path resolve code).</li>
3104</ul></li>
3105<li>SAPI:
3106<ul>
3107  <li>Fixed bug GHSA-54hq-v5wp-fqgv (DOS vulnerability when parsing multipart request body). (CVE-2023-0662)</li>
3108</ul></li>
3109</ul>
3110<!-- }}} --></section>
3111
3112
3113
3114<section class="version" id="8.1.15"><!-- {{{ 8.1.15 -->
3115<h3>Version 8.1.15</h3>
3116<b><?php release_date('02-Feb-2023'); ?></b>
3117<ul><li>Apache:
3118<ul>
3119  <li>Fixed bug <?php githubissuel('php/php-src', 9949); ?> (Partial content on incomplete POST request).</li>
3120</ul></li>
3121<li>Core:
3122<ul>
3123  <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>
3124  <li>Fix <?php githubissuel('php/php-src', 10251); ?> (Assertion `(flag &amp; (1&lt;&lt;3)) == 0' failed).</li>
3125  <li>Fix wrong comparison in block optimisation pass after opcode update.</li>
3126</ul></li>
3127<li>Date:
3128<ul>
3129  <li>Fixed bug <?php githubissuel('php/php-src', 9891); ?> (DateTime modify with unixtimestamp (@) must work like setTimestamp).</li>
3130  <li>Fixed bug <?php githubissuel('php/php-src', 10218); ?> (DateTimeZone fails to parse time zones that contain the "+" character).</li>
3131</ul></li>
3132<li>Fiber:
3133<ul>
3134  <li>Fix assertion on stack allocation size.</li>
3135</ul></li>
3136<li>FPM:
3137<ul>
3138  <li>Fixed bug <?php githubissuel('php/php-src', 9981); ?> (FPM does not reset fastcgi.error_header).</li>
3139  <li><?php bugfix(67244); ?> (Wrong owner:group for listening unix socket).</li>
3140</ul></li>
3141<li>Hash:
3142<ul>
3143  <li>Handle exceptions from __toString in XXH3's initialization (nielsdos)</li>
3144</ul></li>
3145<li>LDAP:
3146<ul>
3147  <li>Fixed bug <?php githubissuel('php/php-src', 10112); ?> (LDAP\Connection::__construct() refers to ldap_create()).</li>
3148</ul></li>
3149<li>MBString:
3150<ul>
3151  <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>
3152</ul></li>
3153<li>Opcache:
3154<ul>
3155  <li>Fix inverted bailout value in zend_runtime_jit() (Max Kellermann).</li>
3156  <li>Fix access to uninitialized variable in accel_preload().</li>
3157  <li>Fix zend_jit_find_trace() crashes.</li>
3158  <li>Added missing lock for EXIT_INVALIDATE in zend_jit_trace_exit.</li>
3159</ul></li>
3160<li>Phar:
3161<ul>
3162  <li>Fix wrong flags check for compression method in phar_object.c (nielsdos)</li>
3163</ul></li>
3164<li>PHPDBG:
3165<ul>
3166  <li>Fix undefined behaviour in phpdbg_load_module_or_extension().</li>
3167  <li>Fix NULL pointer dereference in phpdbg_create_conditional_breal().</li>
3168  <li>Fix <?php githubissuel('php/php-src', 9710); ?>: phpdbg memory leaks by option "-h" (nielsdos)</li>
3169  <li>Fix phpdbg segmentation fault in case of malformed input (nielsdos)</li>
3170</ul></li>
3171<li>Posix:
3172<ul>
3173  <li>Fix memory leak in posix_ttyname() (girgias)</li>
3174</ul></li>
3175<li>Standard:
3176<ul>
3177  <li>Fix <?php githubissuel('php/php-src', 10187); ?> (Segfault in stripslashes() with arm64).</li>
3178  <li>Fix substr_replace with slots in repl_ht being UNDEF.</li>
3179</ul></li>
3180<li>TSRM:
3181<ul>
3182  <li>Fixed Windows shmget() wrt. IPC_PRIVATE.</li>
3183</ul></li>
3184<li>XMLWriter:
3185<ul>
3186  <li>Fix missing check for xmlTextWriterEndElement (nielsdos)</li>
3187</ul></li>
3188</ul>
3189<!-- }}} --></section>
3190
3191
3192
3193<section class="version" id="8.1.14"><!-- {{{ 8.1.14 -->
3194<h3>Version 8.1.14</h3>
3195<b><?php release_date('05-Jan-2023'); ?></b>
3196<ul><li>Core:
3197<ul>
3198  <li>Fixed bug <?php githubissuel('php/php-src', 9905); ?> (constant() behaves inconsistent when class is undefined).</li>
3199  <li>Fixed bug <?php githubissuel('php/php-src', 9918); ?> (License information for xxHash is not included in README.REDIST.BINS file).</li>
3200  <li>Fixed bug <?php githubissuel('php/php-src', 9650); ?> (Can't initialize heap: [0x000001e7]).</li>
3201  <li>Fixed potentially undefined behavior in Windows ftok(3) emulation.</li>
3202</ul></li>
3203<li>Date:
3204<ul>
3205  <li>Fixed bug <?php githubissuel('php/php-src', 9699); ?> (DateTimeImmutable::diff differences in 8.1.10 onwards - timezone related).</li>
3206  <li>Fixed bug <?php githubissuel('php/php-src', 9700); ?> (DateTime::createFromFormat: Parsing TZID string is too greedy).</li>
3207  <li>Fixed bug <?php githubissuel('php/php-src', 9866); ?> (Time zone bug with \DateTimeInterface::diff()).</li>
3208  <li>Fixed bug <?php githubissuel('php/php-src', 9880); ?> (DateTime diff returns wrong sign on day count when using a timezone).</li>
3209</ul></li>
3210<li>FPM:
3211<ul>
3212  <li>Fixed bug <?php githubissuel('php/php-src', 9959); ?> (Solaris port event mechanism is still broken after bug #66694).</li>
3213  <li><?php bugfix(68207); ?> (Setting fastcgi.error_header can result in a WARNING).</li>
3214  <li>Fixed bug <?php githubissuel('php/php-src', 8517); ?> (Random crash of FPM master process in fpm_stdio_child_said).</li>
3215</ul></li>
3216<li>MBString:
3217<ul>
3218  <li>Fixed bug <?php githubissuel('php/php-src', 9535); ?> (The behavior of mb_strcut in mbstring has been changed in PHP8.1).</li>
3219</ul></li>
3220<li>Opcache:
3221<ul>
3222  <li>Fixed bug <?php githubissuel('php/php-src', 9968); ?> (Segmentation Fault during OPCache Preload).</li>
3223</ul></li>
3224<li>OpenSSL:
3225<ul>
3226  <li>Fixed bug <?php githubissuel('php/php-src', 9064); ?> (PHP fails to build if openssl was built with --no-ec).</li>
3227  <li>Fixed bug <?php githubissuel('php/php-src', 10000); ?> (OpenSSL test failures when OpenSSL compiled with no-dsa).</li>
3228</ul></li>
3229<li>Pcntl:
3230<ul>
3231  <li>Fixed bug <?php githubissuel('php/php-src', 9298); ?> (Signal handler called after rshutdown leads to crash).</li>
3232</ul></li>
3233<li>PDO_Firebird:
3234<ul>
3235  <li>Fixed bug <?php githubissuel('php/php-src', 9971); ?> (Incorrect NUMERIC value returned from PDO_Firebird).</li>
3236</ul></li>
3237<li>PDO/SQLite:
3238<ul>
3239  <li><?php bugfix(81740); ?> (PDO::quote() may return unquoted string). (CVE-2022-31631)</li>
3240</ul></li>
3241<li>Session:
3242<ul>
3243  <li>Fixed <?php githubissuel('php/php-src', 9932); ?> (session name silently fails with . and [).</li>
3244</ul></li>
3245<li>SPL:
3246<ul>
3247  <li>Fixed <?php githubissuel('php/php-src', 9883); ?> (SplFileObject::__toString() reads next line).</li>
3248  <li>Fixed <?php githubissuel('php/php-src', 10011); ?> (Trampoline autoloader will get reregistered and cannot be unregistered).</li>
3249</ul></li>
3250<li>SQLite3:
3251<ul>
3252  <li><?php bugfix(81742); ?> (open_basedir bypass in SQLite3 by using file URI).</li>
3253</ul></li>
3254</ul>
3255<!-- }}} --></section>
3256
3257
3258
3259<section class="version" id="8.1.13"><!-- {{{ 8.1.13 -->
3260<h3>Version 8.1.13</h3>
3261<b><?php release_date('24-Nov-2022'); ?></b>
3262<ul><li>CLI:
3263<ul>
3264  <li>Fixed bug <?php githubissuel('php/php-src', 9709); ?> (Null pointer dereference with -w/-s options).</li>
3265</ul></li>
3266<li>Core:
3267<ul>
3268  <li>Fixed bug <?php githubissuel('php/php-src', 9752); ?> (Generator crashes when interrupted during argument evaluation with extra named params).</li>
3269  <li>Fixed bug <?php githubissuel('php/php-src', 9801); ?> (Generator crashes when memory limit is exceeded during initialization).</li>
3270  <li>Fixed potential NULL pointer dereference Windows shm*() functions.</li>
3271  <li>Fixed bug <?php githubissuel('php/php-src', 9750); ?> (Generator memory leak when interrupted during argument evaluation.</li>
3272</ul></li>
3273<li>Date:
3274<ul>
3275  <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>
3276</ul></li>
3277<li>FPM:
3278<ul>
3279  <li>Fixed bug <?php githubissuel('php/php-src', 9754); ?> (SaltStack (using Python subprocess) hangs when running php-fpm 8.1.11).</li>
3280</ul></li>
3281<li>mysqli:
3282<ul>
3283  <li>Fixed bug <?php githubissuel('php/php-src', 9841); ?> (mysqli_query throws warning despite using silenced error mode).</li>
3284</ul></li>
3285<li>MySQLnd:
3286<ul>
3287  <li>Fixed potential heap corruption due to alignment mismatch.</li>
3288</ul></li>
3289<li>OpenSSL:
3290<ul>
3291  <li>Fixed bug <?php githubissuel('php/php-src', 8430); ?> (OpenSSL compiled with no-md2, no-md4 or no-rmd160 does not build).</li>
3292</ul></li>
3293<li>SOAP:
3294<ul>
3295  <li>Fixed <?php githubissuel('php/php-src', 9720); ?> (Null pointer dereference while serializing the response).</li>
3296</ul></li>
3297</ul>
3298<!-- }}} --></section>
3299
3300
3301
3302<section class="version" id="8.1.12"><!-- {{{ 8.1.12 -->
3303<h3>Version 8.1.12</h3>
3304<b><?php release_date('27-Oct-2022'); ?></b>
3305<ul><li>Core:
3306<ul>
3307  <li>Fixes segfault with Fiber on FreeBSD i386 architecture.</li>
3308</ul></li>
3309<li>Fileinfo:
3310<ul>
3311  <li>Fixed bug <?php githubissuel('php/php-src', 8805); ?> (finfo returns wrong mime type for woff/woff2 files).</li>
3312</ul></li>
3313<li>GD:
3314<ul>
3315  <li><?php bugfix(81739); ?>: OOB read due to insufficient input validation in imageloadfont(). (CVE-2022-31630)</li>
3316</ul></li>
3317<li>Hash:
3318<ul>
3319  <li><?php bugfix(81738); ?>: buffer overflow in hash_update() on long parameter. (CVE-2022-37454)</li>
3320</ul></li>
3321<li>MBString:
3322<ul>
3323  <li>Fixed bug <?php githubissuel('php/php-src', 9683); ?> (Problem when ISO-2022-JP-MS is specified in mb_ encode_mimeheader).</li>
3324</ul></li>
3325<li>Opcache:
3326<ul>
3327  <li>Added indirect call reduction for jit on x86 architectures.</li>
3328</ul></li>
3329<li>Session:
3330<ul>
3331  <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>
3332</ul></li>
3333<li>Streams:
3334<ul>
3335  <li>Fixed bug <?php githubissuel('php/php-src', 9590); ?> (stream_select does not abort upon exception or empty valid fd set).</li>
3336</ul></li>
3337</ul>
3338<!-- }}} --></section>
3339
3340
3341
3342<section class="version" id="8.1.11"><!-- {{{ 8.1.11 -->
3343<h3>Version 8.1.11</h3>
3344<b><?php release_date('29-Sep-2022'); ?></b>
3345<ul><li>Core:
3346<ul>
3347  <li><?php bugfix(81726); ?>: phar wrapper: DOS when using quine gzip file. (CVE-2022-31628)</li>
3348  <li><?php bugfix(81727); ?>: Don't mangle HTTP variable names that clash with ones that have a specific semantic meaning. (CVE-2022-31629)</li>
3349  <li>Fixed bug <?php githubissuel('php/php-src', 9323); ?> (Crash in ZEND_RETURN/GC/zend_call_function) (Tim Starling)</li>
3350  <li>Fixed bug <?php githubissuel('php/php-src', 9361); ?> (Segmentation fault on script exit #9379).</li>
3351  <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>
3352</ul></li>
3353<li>DOM:
3354<ul>
3355  <li><?php bugfix(79451); ?> (DOMDocument-&gt;replaceChild on doctype causes double free).</li>
3356</ul></li>
3357<li>FPM:
3358<ul>
3359  <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>
3360  <li><?php bugfix(77780); ?> ("Headers already sent..." when previous connection was aborted).</li>
3361</ul></li>
3362<li>GMP:
3363<ul>
3364  <li>Fixed bug <?php githubissuel('php/php-src', 9308); ?> (GMP throws the wrong error when a GMP object is passed to gmp_init()).</li>
3365</ul></li>
3366<li>Intl:
3367<ul>
3368  <li>Fixed bug <?php githubissuel('php/php-src', 9421); ?> (Incorrect argument number for ValueError in NumberFormatter).</li>
3369</ul></li>
3370<li>PCRE:
3371<ul>
3372  <li>Fixed pcre.jit on Apple Silicon.</li>
3373</ul></li>
3374<li>PDO_PGSQL:
3375<ul>
3376  <li>Fixed bug <?php githubissuel('php/php-src', 9411); ?> (PgSQL large object resource is incorrectly closed).</li>
3377</ul></li>
3378<li>Reflection:
3379<ul>
3380  <li>Fixed bug <?php githubissuel('php/php-src', 8932); ?> (ReflectionFunction provides no way to get the called class of a Closure).</li>
3381</ul></li>
3382<li>Streams:
3383<ul>
3384  <li>Fixed bug <?php githubissuel('php/php-src', 9316); ?> ($http_response_header is wrong for long status line).</li>
3385</ul></li>
3386</ul>
3387<!-- }}} --></section>
3388
3389
3390
3391<section class="version" id="8.1.10"><!-- {{{ 8.1.10 -->
3392<h3>Version 8.1.10</h3>
3393<b><?php release_date('01-Sep-2022'); ?></b>
3394<ul><li>Core:
3395<ul>
3396  <li>Fixed --CGI-- support of run-tests.php.</li>
3397  <li>Fixed incorrect double to long casting in latest clang.</li>
3398  <li>Fixed bug <?php githubissuel('php/php-src', 9266); ?> (GC root buffer keeps growing when dtors are present).</li>
3399</ul></li>
3400<li>Date:
3401<ul>
3402  <li>Fixed bug <?php githubissuel('php/php-src', 8730); ?> (DateTime::diff miscalculation is same time zone of different type).</li>
3403  <li>Fixed bug <?php githubissuel('php/php-src', 8964); ?> (DateTime object comparison after applying delta less than 1 second).</li>
3404  <li>Fixed bug <?php githubissuel('php/php-src', 9106); ?>: (DateInterval 1.5s added to DateTimeInterface is rounded down since PHP 8.1.0).</li>
3405  <li><?php bugfix(81263); ?> (Wrong result from DateTimeImmutable::diff).</li>
3406</ul></li>
3407<li>DBA:
3408<ul>
3409  <li>Fixed LMDB driver memory leak on DB creation failure.</li>
3410  <li>Fixed bug <?php githubissuel('php/php-src', 9155); ?> (dba_open("non-existing", "c-", "flatfile") segfaults).</li>
3411</ul></li>
3412<li>IMAP:
3413<ul>
3414  <li>Fixed bug <?php githubissuel('php/php-src', 9309); ?> (Segfault when connection is used after imap_close()).</li>
3415</ul></li>
3416<li>Intl:
3417<ul>
3418  <li>Fixed IntlDateFormatter::formatObject() parameter type.</li>
3419</ul></li>
3420<li>MBString:
3421<ul>
3422  <li>Fixed bug <?php githubissuel('php/php-src', 9008); ?> (mb_detect_encoding(): wrong results with null $encodings).</li>
3423</ul></li>
3424<li>OPcache:
3425<ul>
3426  <li>Fixed bug <?php githubissuel('php/php-src', 9033); ?> (Loading blacklist file can fail due to negative length).</li>
3427  <li>Fixed bug <?php githubissuel('php/php-src', 9164); ?> (Segfault in zend_accel_class_hash_copy).</li>
3428</ul></li>
3429<li>PDO_SQLite:
3430<ul>
3431  <li>Fixed bug <?php githubissuel('php/php-src', 9032); ?> (SQLite3 authorizer crashes on NULL values).</li>
3432</ul></li>
3433<li>SQLite3:
3434<ul>
3435  <li>Fixed bug <?php githubissuel('php/php-src', 9032); ?> (SQLite3 authorizer crashes on NULL values).</li>
3436</ul></li>
3437<li>Streams:
3438<ul>
3439  <li>Fixed bug <?php githubissuel('php/php-src', 8472); ?> (The resource returned by stream_socket_accept may have incorrect metadata).</li>
3440  <li>Fixed bug <?php githubissuel('php/php-src', 8409); ?> (SSL handshake timeout leaves persistent connections hanging).</li>
3441</ul></li>
3442</ul>
3443<!-- }}} --></section>
3444
3445
3446
3447<section class="version" id="8.1.9"><!-- {{{ 8.1.9 -->
3448<h3>Version 8.1.9</h3>
3449<b><?php release_date('04-Aug-2022'); ?></b>
3450<ul><li>CLI:
3451<ul>
3452  <li>Fixed potential overflow for the builtin server via the PHP_CLI_SERVER_WORKERS environment variable.</li>
3453  <li>Fixed <?php githubissuel('php/php-src', 8952); ?> (Intentionally closing std handles no longer possible).</li>
3454</ul></li>
3455<li>Core:
3456<ul>
3457  <li>Fixed bug <?php githubissuel('php/php-src', 8923); ?> (error_log on Windows can hold the file write lock).</li>
3458  <li>Fixed bug <?php githubissuel('php/php-src', 8995); ?> (WeakMap object reference offset causing TypeError).</li>
3459</ul></li>
3460<li>Date:
3461<ul>
3462  <li><?php bugfix(80047); ?> (DatePeriod doesn't warn with custom DateTimeImmutable).</li>
3463</ul></li>
3464<li>FPM:
3465<ul>
3466  <li>Fixed zlog message prepend, free on incorrect address.</li>
3467  <li>Fixed possible double free on configuration loading failure. (Heiko Weber).</li>
3468</ul></li>
3469<li>GD:
3470<ul>
3471  <li>Fixed bug <?php githubissuel('php/php-src', 8848); ?> (imagecopyresized() error refers to the wrong argument).</li>
3472</ul></li>
3473<li>Intl:
3474<ul>
3475  <li>Fixed build for ICU 69.x and onwards.</li>
3476</ul></li>
3477<li>OPcache:
3478<ul>
3479  <li>Fixed bug <?php githubissuel('php/php-src', 8847); ?> (PHP hanging infinitly at 100% cpu when check php syntax of a valid file).</li>
3480  <li>Fixed bug <?php githubissuel('php/php-src', 8030); ?> (Segfault with JIT and large match/switch statements).</li>
3481</ul></li>
3482<li>Reflection:
3483<ul>
3484  <li>Fixed bug <?php githubissuel('php/php-src', 8943); ?> (Fixed Reflection::getModifierNames() with readonly modifier).</li>
3485</ul></li>
3486<li>Standard:
3487<ul>
3488  <li>Fixed the crypt_sha256/512 api build with clang &gt; 12.</li>
3489  <li>Uses CCRandomGenerateBytes instead of arc4random_buf on macOs. (David Carlier).</li>
3490  <li>Fixed bug <?php githubissuel('php/php-src', 9017); ?> (php_stream_sock_open_from_socket could return NULL).</li>
3491</ul></li>
3492</ul>
3493<!-- }}} --></section>
3494
3495
3496
3497<section class="version" id="8.1.8"><!-- {{{ 8.1.8 -->
3498<h3>Version 8.1.8</h3>
3499<b><?php release_date('07-Jul-2022'); ?></b>
3500<ul><li>Core:
3501<ul>
3502  <li>Fixed bug <?php githubissuel('php/php-src',8338); ?> (Intel CET is disabled unintentionally).</li>
3503  <li>Fixed leak in Enum::from/tryFrom for internal enums when using JIT</li>
3504  <li>Fixed calling internal methods with a static return type from extension code.</li>
3505  <li>Fixed bug <?php githubissuel('php/php-src',8655); ?> (Casting an object to array does not unwrap refcount=1 references).</li>
3506  <li>Fixed potential use after free in php_binary_init().</li>
3507</ul></li>
3508<li>CLI:
3509<ul>
3510  <li>Fixed <?php githubissuel('php/php-src',8827); ?> (Intentionally closing std handles no longer possible).</li>
3511</ul></li>
3512<li>COM:
3513<ul>
3514  <li>Fixed bug <?php githubissuel('php/php-src',8778); ?> (Integer arithmethic with large number variants fails).</li>
3515</ul></li>
3516<li>Curl:
3517<ul>
3518  <li>Fixed CURLOPT_TLSAUTH_TYPE is not treated as a string option.</li>
3519</ul></li>
3520<li>Date:
3521<ul>
3522  <li><?php bugfix(72963); ?> (Null-byte injection in CreateFromFormat and related functions).</li>
3523  <li><?php bugfix(74671); ?> (DST timezone abbreviation has incorrect offset).</li>
3524  <li><?php bugfix(77243); ?> (Weekdays are calculated incorrectly for negative years).</li>
3525  <li><?php bugfix(78139); ?> (timezone_open accepts invalid timezone string argument).</li>
3526</ul></li>
3527<li>Fileinfo:
3528<ul>
3529  <li><?php bugfix(81723); ?> (Heap buffer overflow in finfo_buffer). (CVE-2022-31627)</li>
3530</ul></li>
3531<li>FPM:
3532<ul>
3533  <li><?php bugfix(67764); ?> (fpm: syslog.ident don't work).</li>
3534</ul></li>
3535<li>GD:
3536<ul>
3537  <li>Fixed imagecreatefromavif() memory leak.</li>
3538</ul></li>
3539<li>MBString:
3540<ul>
3541  <li>mb_detect_encoding recognizes all letters in Czech alphabet</li>
3542  <li>mb_detect_encoding recognizes all letters in Hungarian alphabet</li>
3543  <li>Fixed bug <?php githubissuel('php/php-src',8685); ?> (pcre not ready at mbstring startup).</li>
3544  <li>Backwards-compatible mappings for 0x5C/0x7E in Shift-JIS are restored, after they had been changed in 8.1.0.</li>
3545</ul></li>
3546<li>ODBC:
3547<ul>
3548  <li>Fixed handling of single-key connection strings.</li>
3549</ul></li>
3550<li>OPcache:
3551<ul>
3552  <li>Fixed bug <?php githubissuel('php/php-src',8591); ?> (tracing JIT crash after private instance method change).</li>
3553</ul></li>
3554<li>OpenSSL:
3555<ul>
3556  <li><?php bugfix(50293); ?> (Several openssl functions ignore the VCWD).</li>
3557  <li><?php bugfix(81713); ?> (NULL byte injection in several OpenSSL functions working with certificates).</li>
3558</ul></li>
3559<li>PDO_ODBC:
3560<ul>
3561  <li>Fixed handling of single-key connection strings.</li>
3562</ul></li>
3563<li>Zip:
3564<ul>
3565  <li>Fixed bug <?php githubissuel('php/php-src',8781); ?> (ZipArchive::close deletes zip file without updating stat cache).</li>
3566</ul></li>
3567</ul>
3568<!-- }}} --></section>
3569
3570
3571
3572<section class="version" id="8.1.7"><!-- {{{ 8.1.7 -->
3573<h3>Version 8.1.7</h3>
3574<b><?php release_date('09-Jun-2022'); ?></b>
3575<ul><li>CLI:
3576<ul>
3577  <li>Fixed bug <?php githubissuel('php/php-src',8575); ?> (CLI closes standard streams too early).</li>
3578</ul></li>
3579<li>Date:
3580<ul>
3581  <li><?php bugfix(51934); ?> (strtotime plurals / incorrect time).</li>
3582  <li><?php bugfix(51987); ?> (Datetime fails to parse an ISO 8601 ordinal date (extended format)).</li>
3583  <li><?php bugfix(66019); ?> (DateTime object does not support short ISO 8601 time format - YYYY-MM-DDTHH)</li>
3584  <li><?php bugfix(68549); ?> (Timezones and offsets are not properly used when working with dates)</li>
3585  <li><?php bugfix(81565); ?> (date parsing fails when provided with timezones including seconds).</li>
3586  <li>Fixed bug <?php githubissuel('php/php-src',7758); ?> (Problems with negative timestamps and fractions).</li>
3587</ul></li>
3588<li>FPM:
3589<ul>
3590  <li>Fixed ACL build check on MacOS.</li>
3591  <li><?php bugfix(72185); ?>: php-fpm writes empty fcgi record causing nginx 502.</li>
3592</ul></li>
3593<li>mysqlnd:
3594<ul>
3595  <li><?php bugfix(81719); ?>: mysqlnd/pdo password buffer overflow. (CVE-2022-31626)</li>
3596</ul></li>
3597<li>OPcache:
3598<ul>
3599  <li>Fixed bug <?php githubissuel('php/php-src',8461); ?> (tracing JIT crash after function/method change).</li>
3600</ul></li>
3601<li>OpenSSL:
3602<ul>
3603  <li><?php bugfix(79589); ?> (error:14095126:SSL routines:ssl3_read_n:unexpected eof while reading).</li>
3604</ul></li>
3605<li>Pcntl:
3606<ul>
3607  <li>Fixed Haiku build.</li>
3608</ul></li>
3609<li>pgsql:
3610<ul>
3611  <li><?php bugfix(81720); ?>: Uninitialized array in pg_query_params(). (CVE-2022-31625)</li>
3612</ul></li>
3613<li>Soap:
3614<ul>
3615  <li>Fixed bug <?php githubissuel('php/php-src',8578); ?> (Error on wrong parameter on SoapHeader constructor).</li>
3616  <li>Fixed bug <?php githubissuel('php/php-src',8538); ?> (SoapClient may strip parts of nmtokens).</li>
3617</ul></li>
3618<li>SPL:
3619<ul>
3620  <li>Fixed bug <?php githubissuel('php/php-src',8235); ?> (iterator_count() may run indefinitely).</li>
3621</ul></li>
3622<li>Standard:
3623<ul>
3624  <li>Fixed bug <?php githubissuel('php/php-src',8185); ?> (Crash during unloading of extension after dl() in ZTS).</li>
3625</ul></li>
3626<li>Zip:
3627<ul>
3628  <li>Fixed type for index in ZipArchive::replaceFile.</li>
3629</ul></li>
3630</ul>
3631<!-- }}} --></section>
3632
3633
3634
3635<section class="version" id="8.1.6"><!-- {{{ 8.1.6 -->
3636<h3>Version 8.1.6</h3>
3637<b><?php release_date('12-May-2022'); ?></b>
3638<ul><li>Core:
3639<ul>
3640  <li>Fixed bug <?php githubissuel('php/php-src',8310); ?> (Registry settings are no longer recognized).</li>
3641  <li>Fixed potential race condition during resource ID allocation.</li>
3642  <li>Fixed bug <?php githubissuel('php/php-src',8133); ?> (Preloading of constants containing arrays with enums segfaults).</li>
3643  <li>Fixed Haiku ZTS builds.</li>
3644</ul></li>
3645<li>Date:
3646<ul>
3647  <li>Fixed bug <?php githubissuel('php/php-src',7752); ?> (DateTimeZone::getTransitions() returns insufficient data).</li>
3648  <li>Fixed bug <?php githubissuel('php/php-src',8108); ?> (Timezone doesn't work as intended).</li>
3649  <li><?php bugfix(81660); ?> (DateTimeZone::getTransitions() returns invalid data).</li>
3650  <li>Fixed bug <?php githubissuel('php/php-src',8289); ?> (Exceptions thrown within a yielded from iterator are not rethrown into the generator).</li>
3651</ul></li>
3652<li>FFI:
3653<ul>
3654  <li>Fixed bug <?php githubissuel('php/php-src',8433); ?> (Assigning function pointers to structs in FFI leaks).</li>
3655</ul></li>
3656<li>FPM:
3657<ul>
3658  <li><?php bugfix(76003); ?> (FPM /status reports wrong number of active processe).</li>
3659  <li><?php bugfix(77023); ?> (FPM cannot shutdown processes).</li>
3660  <li>Fixed comment in kqueue remove callback log message.</li>
3661</ul></li>
3662<li>Hash:
3663<ul>
3664  <li><?php bugfix(81714); ?> (segfault when serializing finalized HashContext).</li>
3665</ul></li>
3666<li>Iconv:
3667<ul>
3668  <li>Fixed bug <?php githubissuel('php/php-src',8218); ?> (ob_end_clean does not reset Content-Encoding header).</li>
3669</ul></li>
3670<li>Intl:
3671<ul>
3672  <li>Fixed bug <?php githubissuel('php/php-src',8364); ?> (msgfmt_format $values may not support references).</li>
3673</ul></li>
3674<li>MBString:
3675<ul>
3676  <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>
3677</ul></li>
3678<li>MySQLi:
3679<ul>
3680  <li>Fixed bug <?php githubissuel('php/php-src',8267); ?> (MySQLi uses unsupported format specifier on Windows).</li>
3681</ul></li>
3682<li>SPL:
3683<ul>
3684  <li>Fixed bug <?php githubissuel('php/php-src',8366); ?> (ArrayIterator may leak when calling __construct()).</li>
3685  <li>Fixed bug <?php githubissuel('php/php-src',8273); ?> (SplFileObject: key() returns wrong value).</li>
3686</ul></li>
3687<li>Streams:
3688<ul>
3689  <li>Fixed php://temp does not preserve file-position when switched to temporary file.</li>
3690</ul></li>
3691<li>zlib:
3692<ul>
3693  <li>Fixed bug <?php githubissuel('php/php-src',8218); ?> (ob_end_clean does not reset Content-Encoding header).</li>
3694</ul></li>
3695</ul>
3696<!-- }}} --></section>
3697
3698
3699
3700<section class="version" id="8.1.5"><!-- {{{ 8.1.5 -->
3701<h3>Version 8.1.5</h3>
3702<b><?php release_date('14-Apr-2022'); ?></b>
3703<ul><li>Core:
3704<ul>
3705  <li>Fixed bug <?php githubissuel('php/php-src',8176); ?> (Enum values in property initializers leak).</li>
3706  <li>Fixed freeing of internal attribute arguments.</li>
3707  <li>Fixed bug <?php githubissuel('php/php-src',8070); ?> (memory leak of internal function attribute hash).</li>
3708  <li>Fixed bug <?php githubissuel('php/php-src',8160); ?> (ZTS support on Alpine is broken).</li>
3709</ul></li>
3710<li>Filter:
3711<ul>
3712  <li>Fixed signedness confusion in php_filter_validate_domain().</li>
3713</ul></li>
3714<li>Intl:
3715<ul>
3716  <li>Fixed bug <?php githubissuel('php/php-src',8115); ?> (Can't catch arg type deprecation when instantiating Intl classes).</li>
3717  <li>Fixed bug <?php githubissuel('php/php-src',8142); ?> (Compilation error on cygwin).</li>
3718  <li>Fixed bug <?php githubissuel('php/php-src',7734); ?> (Fix IntlPartsIterator key off-by-one error and first key).</li>
3719</ul></li>
3720<li>MBString:
3721<ul>
3722  <li>Fixed bug <?php githubissuel('php/php-src',8208); ?> (mb_encode_mimeheader: $indent functionality broken).</li>
3723</ul></li>
3724<li>MySQLi:
3725<ul>
3726  <li>Fixed bug <?php githubissuel('php/php-src',8068); ?> (mysqli_fetch_object creates inaccessible properties).</li>
3727</ul></li>
3728<li>Pcntl:
3729<ul>
3730  <li>Fixed bug <?php githubissuel('php/php-src',8142); ?> (Compilation error on cygwin).</li>
3731</ul></li>
3732<li>PgSQL:
3733<ul>
3734  <li>Fixed result_type related stack corruption on LLP64 architectures.</li>
3735  <li>Fixed bug <?php githubissuel('php/php-src',8253); ?> (pg_insert() fails for references).</li>
3736</ul></li>
3737<li>Sockets:
3738<ul>
3739  <li>Fixed Solaris builds.</li>
3740</ul></li>
3741<li>SPL:
3742<ul>
3743  <li>Fixed bug <?php githubissuel('php/php-src',8121); ?> (SplFileObject - seek and key with csv file inconsistent).</li>
3744  <li>Fixed bug <?php githubissuel('php/php-src',8192); ?> (Cannot override DirectoryIterator::current() without return typehint in 8.1).</li>
3745</ul></li>
3746<li>Standard:
3747<ul>
3748  <li>Fixed bug <?php githubissuel('php/php-src',8048); ?> (Force macOS to use statfs).</li>
3749</ul></li>
3750</ul>
3751<!-- }}} --></section>
3752
3753
3754
3755<section class="version" id="8.1.4"><!-- {{{ 8.1.4 -->
3756<h3>Version 8.1.4</h3>
3757<b><?php release_date('17-Mar-2022'); ?></b>
3758<ul><li>Core:
3759<ul>
3760  <li>Fixed Haiku ZTS build.</li>
3761  <li>Fixed bug <?php githubissuel('php/php-src',8059); ?> arginfo not regenerated for extension.</li>
3762  <li>Fixed bug <?php githubissuel('php/php-src',8083); ?> Segfault when dumping uncalled fake closure with static variables.</li>
3763  <li>Fixed bug <?php githubissuel('php/php-src',7958); ?> (Nested CallbackFilterIterator is leaking memory).</li>
3764  <li>Fixed bug <?php githubissuel('php/php-src',8074); ?> (Wrong type inference of range() result).</li>
3765  <li>Fixed bug <?php githubissuel('php/php-src',8140); ?> (Wrong first class callable by name optimization).</li>
3766  <li>Fixed bug <?php githubissuel('php/php-src',8082); ?> (op_arrays with temporary run_time_cache leak memory when observed).</li>
3767</ul></li>
3768<li>GD:
3769<ul>
3770  <li>Fixed libpng warning when loading interlaced images.</li>
3771</ul></li>
3772<li>FPM:
3773<ul>
3774  <li><?php bugfix(76109); ?> (Unsafe access to fpm scoreboard).</li>
3775</ul></li>
3776<li>Iconv:
3777<ul>
3778  <li>Fixed bug <?php githubissuel('php/php-src',7953); ?> (ob_clean() only does not set Content-Encoding).</li>
3779  <li>Fixed bug <?php githubissuel('php/php-src',7980); ?> (Unexpected result for iconv_mime_decode).</li>
3780</ul></li>
3781<li>MBString:
3782<ul>
3783  <li>Fixed bug <?php githubissuel('php/php-src',8128); ?> (mb_check_encoding wrong result for 7bit).</li>
3784</ul></li>
3785<li>MySQLnd:
3786<ul>
3787  <li>Fixed bug <?php githubissuel('php/php-src',8058); ?> (NULL pointer dereference in mysqlnd package).</li>
3788</ul></li>
3789<li>Reflection:
3790<ul>
3791  <li>Fixed bug <?php githubissuel('php/php-src',8080); ?> (ReflectionClass::getConstants() depends on def. order).</li>
3792</ul></li>
3793<li>Zlib:
3794<ul>
3795  <li>Fixed bug <?php githubissuel('php/php-src',7953); ?> (ob_clean() only does not set Content-Encoding).</li>
3796</ul></li>
3797</ul>
3798<!-- }}} --></section>
3799
3800
3801
3802<section class="version" id="8.1.3"><!-- {{{ 8.1.3 -->
3803<h3>Version 8.1.3</h3>
3804<b><?php release_date('17-Feb-2022'); ?></b>
3805<ul><li>Core:
3806<ul>
3807  <li><?php bugfix(81430); ?> (Attribute instantiation leaves dangling pointer).</li>
3808  <li>Fixed bug <?php githubissuel('php/php-src',7896); ?> (Environment vars may be mangled on Windows).</li>
3809  <li>Fixed bug <?php githubissuel('php/php-src',7883); ?> (Segfault when INI file is not readable).</li>
3810</ul></li>
3811<li>FFI:
3812<ul>
3813  <li>Fixed bug <?php githubissuel('php/php-src',7867); ?> (FFI::cast() from pointer to array is broken).</li>
3814</ul></li>
3815<li>Filter:
3816<ul>
3817  <li>Fix #81708: UAF due to php_filter_float() failing for ints. (CVE-2021-21708)</li>
3818</ul></li>
3819<li>FPM:
3820<ul>
3821  <li>Fixed memory leak on invalid port.</li>
3822  <li>Fixed bug <?php githubissuel('php/php-src',7842); ?> (Invalid OpenMetrics response format returned by FPM status page.</li>
3823</ul></li>
3824<li>MBString:
3825<ul>
3826  <li>Fixed bug <?php githubissuel('php/php-src',7902); ?> (mb_send_mail may delimit headers with LF only).</li>
3827</ul></li>
3828<li>MySQLnd:
3829<ul>
3830  <li>Fixed bug <?php githubissuel('php/php-src',7972); ?> (MariaDB version prefix 5.5.5- is not stripped).</li>
3831</ul></li>
3832<li>pcntl:
3833<ul>
3834  <li>Fixed pcntl_rfork build for DragonFlyBSD.</li>
3835</ul></li>
3836<li>Sockets:
3837<ul>
3838  <li>Fixed bug <?php githubissuel('php/php-src',7978); ?> (sockets extension compilation errors).</li>
3839</ul></li>
3840<li>Standard:
3841<ul>
3842  <li>Fixed bug <?php githubissuel('php/php-src',7899); ?> (Regression in unpack for negative int value).</li>
3843  <li>Fixed bug <?php githubissuel('php/php-src',7875); ?> (mails are sent even if failure to log throws exception).</li>
3844</ul></li>
3845</ul>
3846<!-- }}} --></section>
3847
3848
3849
3850<section class="version" id="8.1.2"><!-- {{{ 8.1.2 -->
3851<h3>Version 8.1.2</h3>
3852<b><?php release_date('20-Jan-2022'); ?></b>
3853<ul><li>Core:
3854<ul>
3855  <li><?php bugfix(81216); ?> (Nullsafe operator leaks dynamic property name).</li>
3856  <li><?php bugfix(81684); ?> (Using null coalesce assignment with $GLOBALS["x"] produces opcode error).</li>
3857  <li><?php bugfix(81656); ?> (GCC-11 silently ignores -R).</li>
3858  <li><?php bugfix(81683); ?> (Misleading "access type ... must be public" error message on final or abstract interface methods).</li>
3859  <li><?php bugfix(81585); ?> (cached_chunks are not counted to real_size on shutdown).</li>
3860  <li>Fixed bug <?php githubissuel('php/php-src',7757); ?> (Multi-inherited final constant causes fatal error).</li>
3861  <li>Fixed zend_fibers.c build with ZEND_FIBER_UCONTEXT.</li>
3862  <li>Added riscv64 support for fibers.</li>
3863</ul></li>
3864<li>Filter:
3865<ul>
3866  <li>Fixed FILTER_FLAG_NO_RES_RANGE flag.</li>
3867</ul></li>
3868<li>Hash:
3869<ul>
3870  <li>Fixed bug <?php githubissuel('php/php-src',7759); ?> (Incorrect return types for hash() and hash_hmac()).</li>
3871  <li>Fixed bug <?php githubissuel('php/php-src',7826); ?> (Inconsistent argument name in hash_hmac_file and hash_file).</li>
3872</ul></li>
3873<li>MBString:
3874<ul>
3875  <li><?php bugfix(81693); ?> (mb_check_encoding(7bit) segfaults).</li>
3876</ul></li>
3877<li>MySQLi:
3878<ul>
3879  <li><?php bugfix(81658); ?> (MYSQL_OPT_LOAD_DATA_LOCAL_DIR not available in MariaDB).</li>
3880  <li>Introduced MYSQLI_IS_MARIADB.</li>
3881  <li>Fixed bug <?php githubissuel('php/php-src',7746); ?> (mysqli_sql_exception-&gt;getSqlState()).</li>
3882</ul></li>
3883<li>MySQLnd:
3884<ul>
3885  <li>Fixed bug where large bigints may be truncated.</li>
3886</ul></li>
3887<li>OCI8:
3888<ul>
3889  <li>Fixed bug <?php githubissuel('php/php-src',7765); ?> (php_oci_cleanup_global_handles segfaults at second call).</li>
3890</ul></li>
3891<li>OPcache:
3892<ul>
3893  <li><?php bugfix(81679); ?> (Tracing JIT crashes on reattaching).</li>
3894</ul></li>
3895<li>Readline:
3896<ul>
3897  <li><?php bugfix(81598); ?> (Cannot input unicode characters in PHP 8 interactive shell).</li>
3898</ul></li>
3899<li>Reflection:
3900<ul>
3901  <li><?php bugfix(81681); ?> (ReflectionEnum throwing exceptions).</li>
3902</ul></li>
3903<li>PDO_PGSQL:
3904<ul>
3905  <li>Fixed error message allocation of PDO PgSQL.</li>
3906</ul></li>
3907<li>Sockets:
3908<ul>
3909  <li>Avoid void* arithmetic in sockets/multicast.c on NetBSD.</li>
3910  <li>Fixed ext/sockets build on Haiku.</li>
3911</ul></li>
3912<li>Spl:
3913<ul>
3914  <li><?php bugfix(75917); ?> (SplFileObject::seek broken with CSV flags).</li>
3915  <li>Fixed bug <?php githubissuel('php/php-src',7809); ?> (Cloning a faked SplFileInfo object may segfault).</li>
3916</ul></li>
3917<li>Standard:
3918<ul>
3919  <li>Fixed bug <?php githubissuel('php/php-src',7748); ?> (gethostbyaddr outputs binary string).</li>
3920  <li>Fixed bug <?php githubissuel('php/php-src',7815); ?> (php_uname doesn't recognise latest Windows versions).</li>
3921</ul></li>
3922</ul>
3923<!-- }}} --></section>
3924
3925
3926
3927<section class="version" id="8.1.1"><!-- {{{ 8.1.1 -->
3928<h3>Version 8.1.1</h3>
3929<b><?php release_date('02-Dec-2021'); ?></b>
3930<ul><li>IMAP:
3931<ul>
3932  <li><?php bugfix(81649); ?> (imap_(un)delete accept sequences, not single numbers).</li>
3933</ul></li>
3934<li>PCRE:
3935<ul>
3936  <li>Update bundled PCRE2 to 10.39.</li>
3937  <li><?php bugfix(74604); ?> (Out of bounds in php_pcre_replace_impl).</li>
3938</ul></li>
3939<li>Standard:
3940<ul>
3941  <li><?php bugfix(81659); ?> (stream_get_contents() may unnecessarily overallocate).</li>
3942</ul></li>
3943</ul>
3944<!-- }}} --></section>
3945
3946
3947
3948<section class="version" id="8.1.0"><!-- {{{ 8.1.0 -->
3949<h3>Version 8.1.0</h3>
3950<b><?php release_date('25-Nov-2021'); ?></b>
3951<ul><li>Core:
3952<ul>
3953  <li>Fixed inclusion order for phpize builds on Windows.</li>
3954  <li>Added missing hashtable insertion APIs for arr/obj/ref.</li>
3955  <li><?php implemented(77372); ?> (Relative file path is removed from uploaded file).</li>
3956  <li><?php bugfix(81607); ?> (CE_CACHE allocation with concurrent access).</li>
3957  <li><?php bugfix(81507); ?> (Fiber does not compile on AIX).</li>
3958  <li><?php bugfix(78647); ?> (SEGFAULT in zend_do_perform_implementation_check).</li>
3959  <li><?php bugfix(81518); ?> (Header injection via default_mimetype / default_charset).</li>
3960  <li><?php bugfix(75941); ?> (Fix compile failure on Solaris with clang).</li>
3961  <li><?php bugfix(81380); ?> (Observer may not be initialized properly).</li>
3962  <li><?php bugfix(81514); ?> (Using Enum as key in WeakMap triggers GC + SegFault).</li>
3963  <li><?php bugfix(81520); ?> (TEST_PHP_CGI_EXECUTABLE badly set in run-tests.php).</li>
3964  <li><?php bugfix(81377); ?> (unset() of $GLOBALS sub-key yields warning).</li>
3965  <li><?php bugfix(81342); ?> (New ampersand token parsing depends on new line after it).</li>
3966  <li><?php bugfix(81280); ?> (Unicode characters in cli.prompt causes segfault).</li>
3967  <li><?php bugfix(81192); ?> ("Declaration should be compatible with" gives incorrect line number with traits).</li>
3968  <li><?php bugfix(78919); ?> (CLI server: insufficient cleanup if request startup fails).</li>
3969  <li><?php bugfix(81303); ?> (match error message improvements).</li>
3970  <li><?php bugfix(81238); ?> (Fiber support missing for Solaris Sparc).</li>
3971  <li><?php bugfix(81237); ?> (Comparison of fake closures doesn't work).</li>
3972  <li><?php bugfix(81202); ?> (powerpc64 build fails on fibers).</li>
3973  <li><?php bugfix(80072); ?> (Cyclic unserialize in TMPVAR operand may leak).</li>
3974  <li><?php bugfix(81163); ?> (__sleep allowed to return non-array).</li>
3975  <li><?php bugfix(75474); ?> (function scope static variables are not bound to a unique function).</li>
3976  <li><?php bugfix(53826); ?> (__callStatic fired in base class through a parent call if the method is private).</li>
3977  <li><?php bugfix(81076); ?> (incorrect debug info on Closures with implicit binds).</li>
3978</ul></li>
3979<li>CLI:
3980<ul>
3981  <li><?php bugfix(81496); ?> (Server logs incorrect request method).</li>
3982</ul></li>
3983<li>COM:
3984<ul>
3985  <li>Dispatch using LANG_NEUTRAL instead of LOCALE_SYSTEM_DEFAULT.</li>
3986</ul></li>
3987<li>Curl:
3988<ul>
3989  <li><?php bugfix(81085); ?> (Support CURLOPT_SSLCERT_BLOB for cert strings).</li>
3990</ul></li>
3991<li>Date:
3992<ul>
3993  <li><?php bugfix(81458); ?> (Regression Incorrect difference after timezone change).</li>
3994  <li><?php bugfix(81500); ?> (Interval serialization regression since 7.3.14 / 7.4.2).</li>
3995  <li><?php bugfix(81504); ?> (Incorrect timezone transition details for POSIX data).</li>
3996  <li><?php bugfix(80998); ?> (Missing second with inverted interval).</li>
3997  <li>Speed up finding timezone offset information.</li>
3998  <li><?php bugfix(79580); ?> (date_create_from_format misses leap year).</li>
3999  <li><?php bugfix(80963); ?> (DateTimeZone::getTransitions() truncated).</li>
4000  <li><?php bugfix(80974); ?> (Wrong diff between 2 dates in different timezones).</li>
4001  <li><?php bugfix(80998); ?> (Missing second with inverted interval).</li>
4002  <li><?php bugfix(81097); ?> (DateTimeZone silently falls back to UTC when providing an offset with seconds).</li>
4003  <li><?php bugfix(81106); ?> (Regression in 8.1: add() now truncate -&gt;f).</li>
4004  <li><?php bugfix(81273); ?> (Date interval calculation not correct).</li>
4005  <li><?php bugfix(52480); ?> (Incorrect difference using DateInterval).</li>
4006  <li><?php bugfix(62326); ?> (date_diff() function returns false result).</li>
4007  <li><?php bugfix(64992); ?> (dst not handled past 2038).</li>
4008  <li><?php bugfix(65003); ?> (Wrong date diff).</li>
4009  <li><?php bugfix(66545); ?> (DateTime. diff returns negative values).</li>
4010  <li><?php bugfix(68503); ?> (date_diff on two dates with timezone set localised returns wrong results).</li>
4011  <li><?php bugfix(69806); ?> (Incorrect date from timestamp).</li>
4012  <li><?php bugfix(71700); ?> (Extra day on diff between begin and end of march 2016).</li>
4013  <li><?php bugfix(71826); ?> (DateTime::diff confuse on timezone 'Asia/Tokyo').</li>
4014  <li><?php bugfix(73460); ?> (Datetime add not realising it already applied DST change).</li>
4015  <li><?php bugfix(74173); ?> (DateTimeImmutable::getTimestamp() triggers DST switch in incorrect time).</li>
4016  <li><?php bugfix(74274); ?> (Handling DST transitions correctly).</li>
4017  <li><?php bugfix(74524); ?> (Date diff is bad calculated, in same time zone).</li>
4018  <li><?php bugfix(75167); ?> (DateTime::add does only care about backward DST transition, not forward).</li>
4019  <li><?php bugfix(76032); ?> (DateTime-&gt;diff having issues with leap days for timezones ahead of UTC).</li>
4020  <li><?php bugfix(76374); ?> (Date difference varies according day time).</li>
4021  <li><?php bugfix(77571); ?> (DateTime's diff DateInterval incorrect in timezones from UTC+01:00 to UTC+12:00).</li>
4022  <li><?php bugfix(78452); ?> (diff makes wrong in hour for Asia/Tehran).</li>
4023  <li><?php bugfix(79452); ?> (DateTime::diff() generates months differently between time zones).</li>
4024  <li><?php bugfix(79698); ?> (timelib mishandles future timestamps (triggered by 'zic -b slim')).</li>
4025  <li><?php bugfix(79716); ?> (Invalid date time created (with day "00")).</li>
4026  <li><?php bugfix(80610); ?> (DateTime calculate wrong with DateInterval).</li>
4027  <li><?php bugfix(80664); ?> (DateTime objects behave incorrectly around DST transition).</li>
4028  <li><?php bugfix(80913); ?> (DateTime(Immutable)::sub around DST yield incorrect time).</li>
4029</ul></li>
4030<li>DBA:
4031<ul>
4032  <li><?php bugfix(81588); ?> (TokyoCabinet driver leaks memory).</li>
4033</ul></li>
4034<li>DOM:
4035<ul>
4036  <li><?php bugfix(81433); ?> (DOMElement::setIdAttribute() called twice may remove ID).</li>
4037</ul></li>
4038<li>FFI:
4039<ul>
4040  <li><?php bugfix(79576); ?> ("TYPE *" shows unhelpful message when type is not defined).</li>
4041</ul></li>
4042<li>Filter:
4043<ul>
4044  <li><?php bugfix(61700); ?> (FILTER_FLAG_IPV6/FILTER_FLAG_NO_PRIV|RES_RANGE failing).</li>
4045</ul></li>
4046<li>FPM:
4047<ul>
4048  <li><?php bugfix(81513); ?> (Future possibility for heap overflow in FPM zlog).</li>
4049  <li><?php bugfix(81026); ?> (PHP-FPM oob R/W in root process leading to privilege escalation) (CVE-2021-21703).</li>
4050  <li>Added openmetrics status format.</li>
4051  <li>Enable process renaming on macOS.</li>
4052  <li>Added pm.max_spawn_rate option to configure max spawn child processes rate.</li>
4053  <li><?php bugfix(65800); ?> (Events port mechanism).</li>
4054</ul></li>
4055<li>FTP:
4056<ul>
4057  <li>Convert resource&lt;ftp&gt; to object \FTP\Connection.</li>
4058</ul></li>
4059<li>GD:
4060<ul>
4061  <li><?php bugfix(71316); ?> (libpng warning from imagecreatefromstring).</li>
4062  <li>Convert resource&lt;gd font&gt; to object \GdFont.</li>
4063  <li>Added support for Avif images</li>
4064</ul></li>
4065<li>hash:
4066<ul>
4067  <li><?php implemented(68109); ?> (Add MurmurHash V3).</li>
4068  <li><?php implemented(73385); ?> (Add xxHash support).</li>
4069</ul></li>
4070<li>JSON:
4071<ul>
4072  <li><?php bugfix(81532); ?> (Change of $depth behaviour in json_encode() on PHP 8.1).</li>
4073</ul></li>
4074<li>LDAP:
4075<ul>
4076  <li>Convert resource&lt;ldap link&gt; to object \LDAP\Connection.</li>
4077  <li>Convert resource&lt;ldap result&gt; to object \LDAP\Result.</li>
4078  <li>Convert resource&lt;ldap result entry&gt; to object \LDAP\ResultEntry.</li>
4079</ul></li>
4080<li>MBString:
4081<ul>
4082  <li><?php bugfix(76167); ?> (mbstring may use pointer from some previous request).</li>
4083  <li><?php bugfix(81390); ?> (mb_detect_encoding() regression).</li>
4084  <li><?php bugfix(81349); ?> (mb_detect_encoding misdetcts ASCII in some cases).</li>
4085  <li><?php bugfix(81298); ?> (mb_detect_encoding() segfaults when 7bit encoding is specified).</li>
4086</ul></li>
4087<li>MySQLi:
4088<ul>
4089  <li><?php bugfix(70372); ?> (Emulate mysqli_fetch_all() for libmysqlclient).</li>
4090  <li><?php bugfix(80330); ?> (Replace language in APIs and source code/docs).</li>
4091  <li><?php bugfix(80329); ?> (Add option to specify LOAD DATA LOCAL white list folder (including libmysql)).</li>
4092</ul></li>
4093<li>MySQLnd:
4094<ul>
4095  <li><?php bugfix(63327); ?> (Crash (Bus Error) in mysqlnd due to wrong alignment).</li>
4096  <li><?php bugfix(80761); ?> (PDO uses too much memory).</li>
4097</ul></li>
4098<li>Opcache:
4099<ul>
4100  <li><?php bugfix(81409); ?> (Incorrect JIT code for ADD with a reference to array).</li>
4101  <li><?php bugfix(81255); ?> (Memory leak in PHPUnit with functional JIT).</li>
4102  <li><?php bugfix(80959); ?> (infinite loop in building cfg during JIT compilation).</li>
4103  <li><?php bugfix(81225); ?> (Wrong result with pow operator with JIT enabled).</li>
4104  <li><?php bugfix(81249); ?> (Intermittent property assignment failure with JIT enabled).</li>
4105  <li><?php bugfix(81256); ?> (Assertion `zv != ((void *)0)' failed for "preload" with JIT).</li>
4106  <li><?php bugfix(81133); ?> (building opcache with phpize fails).</li>
4107  <li><?php bugfix(81136); ?> (opcache header not installed).</li>
4108  <li>Added inheritance cache.</li>
4109</ul></li>
4110<li>OpenSSL:
4111<ul>
4112  <li><?php bugfix(81502); ?> ($tag argument of openssl_decrypt() should accept null/empty string).</li>
4113  <li>Bump minimal OpenSSL version to 1.0.2.</li>
4114</ul></li>
4115<li>PCRE:
4116<ul>
4117  <li><?php bugfix(81424); ?> (PCRE2 10.35 JIT performance regression).</li>
4118  <li>Bundled PCRE2 is 10.37.</li>
4119</ul></li>
4120<li>PDO:
4121<ul>
4122  <li><?php bugfix(40913); ?> (PDO_MYSQL: PDO::PARAM_LOB does not bind to a stream for fetching a BLOB).</li>
4123</ul></li>
4124<li>PDO MySQL:
4125<ul>
4126  <li><?php bugfix(80908); ?> (PDO::lastInsertId() return wrong).</li>
4127  <li><?php bugfix(81037); ?> (PDO discards error message text from prepared statement).</li>
4128</ul></li>
4129<li>PDO OCI:
4130<ul>
4131  <li><?php bugfix(77120); ?> (Support 'success with info' at connection).</li>
4132</ul></li>
4133<li>PDO ODBC:
4134<ul>
4135  <li>Implement PDO_ATTR_SERVER_VERSION and PDO_ATTR_SERVER_INFO for PDO::getAttribute().</li>
4136</ul></li>
4137<li>PDO PgSQL:
4138<ul>
4139  <li><?php bugfix(81343); ?> (pdo_pgsql: Inconsitent boolean conversion after calling closeCursor()).</li>
4140</ul></li>
4141<li>PDO SQLite:
4142<ul>
4143  <li><?php bugfix(38334); ?> (Proper data-type support for PDO_SQLITE).</li>
4144</ul></li>
4145<li>PgSQL:
4146<ul>
4147  <li><?php bugfix(81509); ?> (pg_end_copy still expects a resource).</li>
4148  <li>Convert resource&lt;pgsql link&gt; to object \PgSql\Connection.</li>
4149  <li>Convert resource&lt;pgsql result&gt; to object \PgSql\Result.</li>
4150  <li>Convert resource&lt;pgsql large object&gt; to object \PgSql\Lob.</li>
4151</ul></li>
4152<li>Phar:
4153<ul>
4154  <li>Use SHA256 by default for signature.</li>
4155  <li>Add support for OpenSSL_SHA256 and OpenSSL_SHA512 signature.</li>
4156</ul></li>
4157<li>phpdbg:
4158<ul>
4159  <li><?php bugfix(81135); ?> (unknown help topic causes assertion failure).</li>
4160</ul></li>
4161<li>PSpell:
4162<ul>
4163  <li>Convert resource&lt;pspell&gt; to object \PSpell\Dictionary.</li>
4164  <li>Convert resource&lt;pspell config&gt; to object \PSpell\Config.</li>
4165</ul></li>
4166<li>readline:
4167<ul>
4168  <li><?php bugfix(72998); ?> (invalid read in readline completion).</li>
4169</ul></li>
4170<li>Reflection:
4171<ul>
4172  <li><?php bugfix(81611); ?> (ArgumentCountError when getting default value from ReflectionParameter with new).</li>
4173  <li><?php bugfix(81630); ?> (PHP 8.1: ReflectionClass-&gt;getTraitAliases() crashes with Internal error).</li>
4174  <li><?php bugfix(81457); ?> (Enum: ReflectionMethod-&gt;getDeclaringClass() return a ReflectionClass).</li>
4175  <li><?php bugfix(81474); ?> (Make ReflectionEnum and related class non-final).</li>
4176  <li><?php bugfix(80821); ?> (ReflectionProperty::getDefaultValue() returns current value for statics).</li>
4177  <li><?php bugfix(80564); ?> (ReflectionProperty::__toString() renders current value, not default value).</li>
4178  <li><?php bugfix(80097); ?> (ReflectionAttribute is not a Reflector).</li>
4179  <li><?php bugfix(81200); ?> (no way to determine if Closure is static).</li>
4180  <li>Implement ReflectionFunctionAbstract::getClosureUsedVariables.</li>
4181</ul></li>
4182<li>Shmop:
4183<ul>
4184  <li><?php bugfix(81407); ?> (shmop_open won't attach and causes php to crash).</li>
4185</ul></li>
4186<li>SimpleXML:
4187<ul>
4188  <li><?php bugfix(81325); ?> (Segfault in zif_simplexml_import_dom).</li>
4189</ul></li>
4190<li>SNMP:
4191<ul>
4192  <li>Implement SHA256 and SHA512 for security protocol.</li>
4193</ul></li>
4194<li>Sodium:
4195<ul>
4196  <li>Added the XChaCha20 stream cipher functions.</li>
4197  <li>Added the Ristretto255 functions, which are available in libsodium 1.0.18.</li>
4198</ul></li>
4199<li>SPL:
4200<ul>
4201  <li><?php bugfix(66588); ?> (SplFileObject::fgetcsv incorrectly returns a row on premature EOF).</li>
4202  <li><?php bugfix(80663); ?> (Recursive SplFixedArray::setSize() may cause double-free).</li>
4203  <li><?php bugfix(81477); ?> (LimitIterator + SplFileObject regression in 8.0.1).</li>
4204  <li><?php bugfix(81112); ?> (Special json_encode behavior for SplFixedArray).</li>
4205  <li><?php bugfix(80945); ?> ("Notice: Undefined index" on unset() ArrayObject non-existing key).</li>
4206  <li><?php bugfix(80724); ?> (FilesystemIterator::FOLLOW_SYMLINKS remove KEY_AS_FILE from bitmask).</li>
4207</ul></li>
4208<li>Standard:
4209<ul>
4210  <li><?php bugfix(81441); ?> (gethostbyaddr('::1') returns ip instead of name after calling some other method).</li>
4211  <li><?php bugfix(81491); ?> (Incorrectly using libsodium for argon2 hashing).</li>
4212  <li><?php bugfix(81142); ?> (PHP 7.3+ memory leak when unserialize() is used on an associative array).</li>
4213  <li><?php bugfix(81111); ?> (Serialization is unexpectedly allowed on anonymous classes with __serialize()).</li>
4214  <li><?php bugfix(81137); ?> (hrtime breaks build on OSX before Sierra).</li>
4215  <li><?php bugfix(77627); ?> (method_exists on Closure::__invoke inconsistency).</li>
4216</ul></li>
4217<li>Streams:
4218<ul>
4219  <li><?php bugfix(81475); ?> (stream_isatty emits warning with attached stream wrapper).</li>
4220</ul></li>
4221<li>XML:
4222<ul>
4223  <li><?php bugfix(79971); ?> (special character is breaking the path in xml function) (CVE-2021-21707).</li>
4224  <li><?php bugfix(70962); ?> (XML_OPTION_SKIP_WHITE strips embedded whitespace).</li>
4225</ul></li>
4226<li>Zip:
4227<ul>
4228  <li><?php bugfix(81490); ?> (ZipArchive::extractTo() may leak memory).</li>
4229  <li><?php bugfix(77978); ?> (Dirname ending in colon unzips to wrong dir).</li>
4230  <li><?php bugfix(81420); ?> (ZipArchive::extractTo extracts outside of destination) (CVE-2021-21706).</li>
4231  <li><?php bugfix(80833); ?> (ZipArchive::getStream doesn't use setPassword).</li>
4232</ul></li>
4233</ul>
4234<!-- }}} --></section>
4235
4236
4237
4238<a id="PHP_8_0"></a>
4239
4240<section class="version" id="8.0.30"><!-- {{{ 8.0.30 -->
4241<h3>Version 8.0.30</h3>
4242<b><?php release_date('03-Aug-2023'); ?></b>
4243<ul><li>Libxml:
4244<ul>
4245  <li>Fixed bug GHSA-3qrf-m4j2-pcrr (Security issue with external entity loading in XML without enabling it). (CVE-2023-3823)</li>
4246</ul></li>
4247<li>Phar:
4248<ul>
4249  <li>Fixed bug GHSA-jqcx-ccgc-xwhv (Buffer mismanagement in phar_dir_read()). (CVE-2023-3824)</li>
4250</ul></li>
4251</ul>
4252<!-- }}} --></section>
4253
4254
4255
4256<section class="version" id="8.0.29"><!-- {{{ 8.0.29 -->
4257<h3>Version 8.0.29</h3>
4258<b><?php release_date('08-Jun-2023'); ?></b>
4259<ul><li>Soap:
4260<ul>
4261  <li>Fixed bug GHSA-76gg-c692-v2mw (Missing error check and insufficient random bytes in HTTP Digest authentication for SOAP). (CVE-2023-3247)</li>
4262</ul></li>
4263</ul>
4264<!-- }}} --></section>
4265
4266
4267
4268<section class="version" id="8.0.28"><!-- {{{ 8.0.28 -->
4269<h3>Version 8.0.28</h3>
4270<b><?php release_date('14-Feb-2023'); ?></b>
4271<ul><li>Core:
4272<ul>
4273  <li><?php bugfix(81744); ?> (Password_verify() always return true with some hash).</li>
4274  <li><?php bugfix(81746); ?> (1-byte array overrun in common path resolve code).</li>
4275</ul></li>
4276<li>SAPI:
4277<ul>
4278  <li>Fixed bug GHSA-54hq-v5wp-fqgv (DOS vulnerability when parsing multipart request body). (CVE-2023-0662)</li>
4279</ul></li>
4280</ul>
4281<!-- }}} --></section>
4282
4283
4284
4285<section class="version" id="8.0.27"><!-- {{{ 8.0.27 -->
4286<h3>Version 8.0.27</h3>
4287<b><?php release_date('05-Jan-2023'); ?></b>
4288<ul><li>PDO/SQLite:
4289<ul>
4290  <li><?php bugfix(81740); ?> (PDO::quote() may return unquoted string). (CVE-2022-31631)</li>
4291</ul></li>
4292</ul>
4293<!-- }}} --></section>
4294
4295
4296
4297<section class="version" id="8.0.26"><!-- {{{ 8.0.26 -->
4298<h3>Version 8.0.26</h3>
4299<b><?php release_date('24-Nov-2022'); ?></b>
4300<ul><li>CLI:
4301<ul>
4302  <li>Fixed bug <?php githubissuel('php/php-src', 9709); ?> (Null pointer dereference with -w/-s options).</li>
4303</ul></li>
4304<li>Core:
4305<ul>
4306  <li>Fixed bug <?php githubissuel('php/php-src', 9752); ?> (Generator crashes when interrupted during argument evaluation with extra named params).</li>
4307  <li>Fixed bug <?php githubissuel('php/php-src', 9801); ?> (Generator crashes when memory limit is exceeded during initialization).</li>
4308  <li>Fixed potential NULL pointer dereference in Windows shm*() functions.</li>
4309  <li>Fixed bug <?php githubissuel('php/php-src', 9750); ?> (Generator memory leak when interrupted during argument evaluation.</li>
4310</ul></li>
4311<li>Date:
4312<ul>
4313  <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>
4314</ul></li>
4315<li>FPM:
4316<ul>
4317  <li>Fixed bug <?php githubissuel('php/php-src', 9754); ?> (SaltStack (using Python subprocess) hangs when running php-fpm 8.1.11).</li>
4318</ul></li>
4319<li>mysqli:
4320<ul>
4321  <li>Fixed bug <?php githubissuel('php/php-src', 9841); ?> (mysqli_query throws warning despite using silenced error mode).</li>
4322</ul></li>
4323<li>OpenSSL:
4324<ul>
4325  <li>Fixed bug <?php githubissuel('php/php-src', 8430); ?> (OpenSSL compiled with no-md2, no-md4 or no-rmd160 does not build).</li>
4326</ul></li>
4327<li>SOAP:
4328<ul>
4329  <li>Fixed <?php githubissuel('php/php-src', 9720); ?> (Null pointer dereference while serializing the response).</li>
4330</ul></li>
4331</ul>
4332<!-- }}} --></section>
4333
4334
4335
4336<section class="version" id="8.0.25"><!-- {{{ 8.0.25 -->
4337<h3>Version 8.0.25</h3>
4338<b><?php release_date('27-Oct-2022'); ?></b>
4339<ul><li>GD:
4340<ul>
4341  <li><?php bugfix(81739); ?>: OOB read due to insufficient input validation in imageloadfont(). (CVE-2022-31630)</li>
4342</ul></li>
4343<li>Hash:
4344<ul>
4345  <li><?php bugfix(81738); ?>: buffer overflow in hash_update() on long parameter. (CVE-2022-37454)</li>
4346</ul></li>
4347<li>Session:
4348<ul>
4349  <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>
4350</ul></li>
4351<li>Streams:
4352<ul>
4353  <li>Fixed bug <?php githubissuel('php/php-src', 9590); ?> (stream_select does not abort upon exception or empty valid fd set).</li>
4354</ul></li>
4355</ul>
4356<!-- }}} --></section>
4357
4358
4359
4360<section class="version" id="8.0.24"><!-- {{{ 8.0.24 -->
4361<h3>Version 8.0.24</h3>
4362<b><?php release_date('29-Sep-2022'); ?></b>
4363<ul><li>Core:
4364<ul>
4365  <li>Fixed bug <?php githubissuel('php/php-src', 9323); ?> (Crash in ZEND_RETURN/GC/zend_call_function) (Tim Starling)</li>
4366  <li>Fixed bug <?php githubissuel('php/php-src', 9361); ?> (Segmentation fault on script exit #9379).</li>
4367  <li>Fixed bug <?php githubissuel('php/php-src', 9407); ?> (LSP error in eval'd code refers to wrong class for static type).</li>
4368  <li><?php bugfix(81727); ?>: Don't mangle HTTP variable names that clash with ones that have a specific semantic meaning. (CVE-2022-31629)</li>
4369</ul></li>
4370<li>DOM:
4371<ul>
4372  <li><?php bugfix(79451); ?> (DOMDocument-&gt;replaceChild on doctype causes double free).</li>
4373</ul></li>
4374<li>FPM:
4375<ul>
4376  <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>
4377  <li><?php bugfix(77780); ?> ("Headers already sent..." when previous connection was aborted).</li>
4378</ul></li>
4379<li>GMP:
4380<ul>
4381  <li>Fixed bug <?php githubissuel('php/php-src', 9308); ?> (GMP throws the wrong error when a GMP object is passed to gmp_init()).</li>
4382</ul></li>
4383<li>Intl:
4384<ul>
4385  <li>Fixed bug <?php githubissuel('php/php-src', 9421); ?> (Incorrect argument number for ValueError in NumberFormatter).</li>
4386</ul></li>
4387<li>Phar:
4388<ul>
4389  <li><?php bugfix(81726); ?>: phar wrapper: DOS when using quine gzip file. (CVE-2022-31628)</li>
4390</ul></li>
4391<li>PDO_PGSQL:
4392<ul>
4393  <li>Fixed bug <?php githubissuel('php/php-src', 9411); ?> (PgSQL large object resource is incorrectly closed).</li>
4394</ul></li>
4395<li>Reflection:
4396<ul>
4397  <li>Fixed bug <?php githubissuel('php/php-src', 8932); ?> (ReflectionFunction provides no way to get the called class of a Closure).</li>
4398  <li>Fixed bug <?php githubissuel('php/php-src', 9409); ?> (Private method is incorrectly dumped as "overwrites").</li>
4399</ul></li>
4400<li>Streams:
4401<ul>
4402  <li>Fixed bug <?php githubissuel('php/php-src', 9316); ?> ($http_response_header is wrong for long status line).</li>
4403</ul></li>
4404</ul>
4405<!-- }}} --></section>
4406
4407
4408
4409<section class="version" id="8.0.23"><!-- {{{ 8.0.23 -->
4410<h3>Version 8.0.23</h3>
4411<b><?php release_date('01-Sep-2022'); ?></b>
4412<ul><li>Core:
4413<ul>
4414  <li>Fixed incorrect double to long casting in latest clang.</li>
4415</ul></li>
4416<li>DBA:
4417<ul>
4418  <li>Fixed LMDB driver memory leak on DB creation failure.</li>
4419  <li>Fixed bug <?php githubissuel('php/php-src', 9155); ?> (dba_open("non-existing", "c-", "flatfile") segfaults).</li>
4420</ul></li>
4421<li>Intl:
4422<ul>
4423  <li>Fixed IntlDateFormatter::formatObject() parameter type.</li>
4424</ul></li>
4425<li>OPcache:
4426<ul>
4427  <li>Fixed bug <?php githubissuel('php/php-src', 9033); ?> (Loading blacklist file can fail due to negative length).</li>
4428</ul></li>
4429<li>PDO_SQLite:
4430<ul>
4431  <li>Fixed bug <?php githubissuel('php/php-src', 9032); ?> (SQLite3 authorizer crashes on NULL values).</li>
4432</ul></li>
4433<li>SQLite3:
4434<ul>
4435  <li>Fixed bug <?php githubissuel('php/php-src', 9032); ?> (SQLite3 authorizer crashes on NULL values).</li>
4436</ul></li>
4437<li>Standard:
4438<ul>
4439  <li>Fixed bug <?php githubissuel('php/php-src', 9017); ?> (php_stream_sock_open_from_socket could return NULL).</li>
4440</ul></li>
4441<li>Streams:
4442<ul>
4443  <li>Fixed bug <?php githubissuel('php/php-src', 8472); ?> (The resource returned by stream_socket_accept may have incorrect metadata).</li>
4444  <li>Fixed bug <?php githubissuel('php/php-src', 8409); ?> (SSL handshake timeout leaves persistent connections hanging).</li>
4445</ul></li>
4446</ul>
4447<!-- }}} --></section>
4448
4449
4450
4451<section class="version" id="8.0.22"><!-- {{{ 8.0.22 -->
4452<h3>Version 8.0.22</h3>
4453<b><?php release_date('04-Aug-2022'); ?></b>
4454<ul><li>CLI:
4455<ul>
4456  <li>Fixed potential overflow for the builtin server via the PHP_CLI_SERVER_WORKERS environment variable.</li>
4457</ul></li>
4458<li>Core:
4459<ul>
4460  <li>Fixed bug <?php githubissuel('php/php-src', 8923); ?> (error_log on Windows can hold the file write lock).</li>
4461  <li>Fixed bug <?php githubissuel('php/php-src', 8995); ?> (WeakMap object reference offset causing TypeError).</li>
4462</ul></li>
4463<li>Date:
4464<ul>
4465  <li><?php bugfix(80047); ?> (DatePeriod doesn't warn with custom DateTimeImmutable).</li>
4466</ul></li>
4467<li>DBA:
4468<ul>
4469  <li>Fixed LMDB driver hanging when attempting to delete a non-existing key.</li>
4470</ul></li>
4471<li>FPM:
4472<ul>
4473  <li>Fixed zlog message prepend, free on incorrect address.</li>
4474  <li>Fixed possible double free on configuration loading failure.</li>
4475</ul></li>
4476<li>GD:
4477<ul>
4478  <li>Fixed bug <?php githubissuel('php/php-src', 8848); ?> (imagecopyresized() error refers to the wrong argument).</li>
4479</ul></li>
4480<li>Intl:
4481<ul>
4482  <li>Fixed build for ICU 69.x and onwards.</li>
4483</ul></li>
4484<li>OPcache:
4485<ul>
4486  <li>Fixed bug <?php githubissuel('php/php-src', 8847); ?> (PHP hanging infinitly at 100% cpu when check php syntaxe of a valid file).</li>
4487</ul></li>
4488<li>Standard:
4489<ul>
4490  <li>Fixed the crypt_sha256/512 api build with clang &gt; 12.</li>
4491  <li>Uses CCRandomGenerateBytes instead of arc4random_buf on macOs.</li>
4492</ul></li>
4493</ul>
4494<!-- }}} --></section>
4495
4496
4497
4498<section class="version" id="8.0.21"><!-- {{{ 8.0.21 -->
4499<h3>Version 8.0.21</h3>
4500<b><?php release_date('07-Jul-2022'); ?></b>
4501<ul><li>Core:
4502<ul>
4503  <li>Fixed potential use after free in php_binary_init().</li>
4504</ul></li>
4505<li>CLI:
4506<ul>
4507  <li>Fixed <?php githubissuel('php/php-src',8827); ?> (Intentionally closing std handles no longer possible).</li>
4508</ul></li>
4509<li>COM:
4510<ul>
4511  <li>Fixed bug <?php githubissuel('php/php-src',8778); ?> (Integer arithmethic with large number variants fails).</li>
4512</ul></li>
4513<li>Curl:
4514<ul>
4515  <li>Fixed CURLOPT_TLSAUTH_TYPE is not treated as a string option.</li>
4516</ul></li>
4517<li>Date:
4518<ul>
4519  <li><?php bugfix(74671); ?> (DST timezone abbreviation has incorrect offset).</li>
4520  <li><?php bugfix(77243); ?> (Weekdays are calculated incorrectly for negative years).</li>
4521  <li><?php bugfix(78139); ?> (timezone_open accepts invalid timezone string argument).</li>
4522</ul></li>
4523<li>FPM:
4524<ul>
4525  <li><?php bugfix(67764); ?> (fpm: syslog.ident don't work).</li>
4526</ul></li>
4527<li>MBString:
4528<ul>
4529  <li>Fixed bug <?php githubissuel('php/php-src',8685); ?> (pcre not ready at mbstring startup).</li>
4530</ul></li>
4531<li>ODBC:
4532<ul>
4533  <li>Fixed handling of single-key connection strings.</li>
4534</ul></li>
4535<li>OpenSSL:
4536<ul>
4537  <li><?php bugfix(50293); ?> (Several openssl functions ignore the VCWD).</li>
4538  <li><?php bugfix(81713); ?> (NULL byte injection in several OpenSSL functions working with certificates).</li>
4539</ul></li>
4540<li>PDO_ODBC:
4541<ul>
4542  <li>Fixed errorInfo() result on successful PDOStatement-&gt;execute().</li>
4543  <li>Fixed handling of single-key connection strings.</li>
4544</ul></li>
4545<li>Zip:
4546<ul>
4547  <li>Fixed bug <?php githubissuel('php/php-src',8781); ?> (ZipArchive::close deletes zip file without updating stat cache).</li>
4548</ul></li>
4549</ul>
4550<!-- }}} --></section>
4551
4552
4553
4554<section class="version" id="8.0.20"><!-- {{{ 8.0.20 -->
4555<h3>Version 8.0.20</h3>
4556<b><?php release_date('09-Jun-2022'); ?></b>
4557<ul><li>CLI:
4558<ul>
4559  <li>Fixed bug <?php githubissuel('php/php-src',8575); ?> (CLI closes standard streams too early).</li>
4560</ul></li>
4561<li>Core:
4562<ul>
4563  <li>Fixed Haiku ZTS builds.</li>
4564</ul></li>
4565<li>Date:
4566<ul>
4567  <li>Fixed bug <?php githubissuel('php/php-src',8471); ?> (Segmentation fault when converting immutable and mutable DateTime instances created using reflection).</li>
4568</ul></li>
4569<li>FPM:
4570<ul>
4571  <li>Fixed ACL build check on MacOS.</li>
4572  <li><?php bugfix(72185); ?>: php-fpm writes empty fcgi record causing nginx 502.</li>
4573</ul></li>
4574<li>Mysqlnd:
4575<ul>
4576  <li><?php bugfix(81719); ?>: mysqlnd/pdo password buffer overflow. (CVE-2022-31626)</li>
4577</ul></li>
4578<li>OPcache:
4579<ul>
4580  <li>Fixed bug <?php githubissuel('php/php-src',8466); ?> (ini_get() is optimized out when the option does not exist).</li>
4581</ul></li>
4582<li>Pcntl:
4583<ul>
4584  <li>Fixed Haiku build.</li>
4585</ul></li>
4586<li>Pgsql:
4587<ul>
4588  <li><?php bugfix(81720); ?>: Uninitialized array in pg_query_params(). (CVE-2022-31625)</li>
4589</ul></li>
4590<li>Soap:
4591<ul>
4592  <li>Fixed bug <?php githubissuel('php/php-src',8578); ?> (Error on wrong parameter on SoapHeader constructor).</li>
4593  <li>Fixed bug <?php githubissuel('php/php-src',8538); ?> (SoapClient may strip parts of nmtokens).</li>
4594</ul></li>
4595<li>SPL:
4596<ul>
4597  <li>Fixed bug <?php githubissuel('php/php-src',8235); ?> (iterator_count() may run indefinitely).</li>
4598</ul></li>
4599<li>Zip:
4600<ul>
4601  <li>Fixed type for index in ZipArchive::replaceFile.</li>
4602</ul></li>
4603</ul>
4604<!-- }}} --></section>
4605
4606
4607
4608<section class="version" id="8.0.19"><!-- {{{ 8.0.19 -->
4609<h3>Version 8.0.19</h3>
4610<b><?php release_date('12-May-2022'); ?></b>
4611<ul><li>Core:
4612<ul>
4613  <li>Fixed bug <?php githubissuel('php/php-src',8289); ?> (Exceptions thrown within a yielded from iterator are not rethrown into the generator).</li>
4614</ul></li>
4615<li>Date:
4616<ul>
4617  <li>Fixed bug <?php githubissuel('php/php-src',7979); ?> (DatePeriod iterator advances when checking if valid).</li>
4618</ul></li>
4619<li>FFI:
4620<ul>
4621  <li>Fixed bug <?php githubissuel('php/php-src',8433); ?> (Assigning function pointers to structs in FFI leaks).</li>
4622</ul></li>
4623<li>FPM:
4624<ul>
4625  <li><?php bugfix(76003); ?> (FPM /status reports wrong number of active processe).</li>
4626  <li><?php bugfix(77023); ?> (FPM cannot shutdown processes).</li>
4627  <li>Fixed comment in kqueue remove callback log message.</li>
4628</ul></li>
4629<li>Iconv:
4630<ul>
4631  <li>Fixed bug <?php githubissuel('php/php-src',8218); ?> (ob_end_clean does not reset Content-Encoding header).</li>
4632</ul></li>
4633<li>Intl:
4634<ul>
4635  <li>Fixed bug <?php githubissuel('php/php-src',8364); ?> (msgfmt_format $values may not support references).</li>
4636</ul></li>
4637<li>MySQLi:
4638<ul>
4639  <li>Fixed bug <?php githubissuel('php/php-src',8267); ?> (MySQLi uses unsupported format specifier on Windows).</li>
4640</ul></li>
4641<li>SPL:
4642<ul>
4643  <li>Fixed bug <?php githubissuel('php/php-src',8366); ?> (ArrayIterator may leak when calling __construct()).</li>
4644  <li>Fixed bug <?php githubissuel('php/php-src',8273); ?> (SplFileObject: key() returns wrong value).</li>
4645</ul></li>
4646<li>Streams:
4647<ul>
4648  <li>Fixed php://temp does not preserve file-position when switched to temporary file.</li>
4649</ul></li>
4650<li>zlib:
4651<ul>
4652  <li>Fixed bug <?php githubissuel('php/php-src',8218); ?> (ob_end_clean does not reset Content-Encoding header).</li>
4653</ul></li>
4654</ul>
4655<!-- }}} --></section>
4656
4657
4658
4659<section class="version" id="8.0.18"><!-- {{{ 8.0.18 -->
4660<h3>Version 8.0.18</h3>
4661<b><?php release_date('14-Apr-2022'); ?></b>
4662<ul><li>Core:
4663<ul>
4664  <li>Fixed freeing of internal attribute arguments.</li>
4665  <li>Fixed bug <?php githubissuel('php/php-src',8070); ?> (memory leak of internal function attribute hash).</li>
4666  <li>Fixed bug <?php githubissuel('php/php-src',8160); ?> (ZTS support on Alpine is broken).</li>
4667</ul></li>
4668<li>Filter:
4669<ul>
4670  <li>Fixed signedness confusion in php_filter_validate_domain().</li>
4671</ul></li>
4672<li>Intl:
4673<ul>
4674  <li>Fixed bug <?php githubissuel('php/php-src',8142); ?> (Compilation error on cygwin).</li>
4675</ul></li>
4676<li>MBString:
4677<ul>
4678  <li>Fixed bug <?php githubissuel('php/php-src',8208); ?> (mb_encode_mimeheader: $indent functionality broken).</li>
4679</ul></li>
4680<li>MySQLi:
4681<ul>
4682  <li>Fixed bug <?php githubissuel('php/php-src',8068); ?> (mysqli_fetch_object creates inaccessible properties).</li>
4683</ul></li>
4684<li>Pcntl:
4685<ul>
4686  <li>Fixed bug <?php githubissuel('php/php-src',8142); ?> (Compilation error on cygwin).</li>
4687</ul></li>
4688<li>PgSQL:
4689<ul>
4690  <li>Fixed result_type related stack corruption on LLP64 architectures.</li>
4691  <li>Fixed bug <?php githubissuel('php/php-src',8253); ?> (pg_insert() fails for references).</li>
4692</ul></li>
4693<li>Sockets:
4694<ul>
4695  <li>Fixed Solaris builds.</li>
4696</ul></li>
4697<li>SPL:
4698<ul>
4699  <li>Fixed bug <?php githubissuel('php/php-src',8121); ?> (SplFileObject - seek and key with csv file inconsistent).</li>
4700</ul></li>
4701<li>Standard:
4702<ul>
4703  <li>Fixed bug <?php githubissuel('php/php-src',8048); ?> (Force macOS to use statfs).</li>
4704</ul></li>
4705</ul>
4706<!-- }}} --></section>
4707
4708
4709
4710<section class="version" id="8.0.17"><!-- {{{ 8.0.17 -->
4711<h3>Version 8.0.17</h3>
4712<b><?php release_date('17-Mar-2022'); ?></b>
4713<ul><li>Core:
4714<ul>
4715  <li>Fixed Haiku ZTS build.</li>
4716</ul></li>
4717<li>GD:
4718<ul>
4719  <li>Fixed libpng warning when loading interlaced images.</li>
4720</ul></li>
4721<li>FPM:
4722<ul>
4723  <li><?php bugfix(76109); ?> (Unsafe access to fpm scoreboard).</li>
4724</ul></li>
4725<li>Iconv:
4726<ul>
4727  <li>Fixed bug <?php githubissuel('php/php-src',7953); ?> (ob_clean() only does not set Content-Encoding).</li>
4728  <li>Fixed bug <?php githubissuel('php/php-src',7980); ?> (Unexpected result for iconv_mime_decode).</li>
4729</ul></li>
4730<li>MySQLnd:
4731<ul>
4732  <li>Fixed bug <?php githubissuel('php/php-src',8058); ?> (NULL pointer dereference in mysqlnd package).</li>
4733</ul></li>
4734<li>OPcache:
4735<ul>
4736  <li>Fixed bug <?php githubissuel('php/php-src',8074); ?> (Wrong type inference of range() result).</li>
4737</ul></li>
4738<li>Reflection:
4739<ul>
4740  <li>Fixed bug <?php githubissuel('php/php-src',8080); ?> (ReflectionClass::getConstants() depends on def. order).</li>
4741</ul></li>
4742<li>Zlib:
4743<ul>
4744  <li>Fixed bug <?php githubissuel('php/php-src',7953); ?> (ob_clean() only does not set Content-Encoding).</li>
4745</ul></li>
4746</ul>
4747<!-- }}} --></section>
4748
4749
4750
4751<section class="version" id="8.0.16"><!-- {{{ 8.0.16 -->
4752<h3>Version 8.0.16</h3>
4753<b><?php release_date('17-Feb-2022'); ?></b>
4754<ul><li>Core:
4755<ul>
4756  <li><?php bugfix(81430); ?> (Attribute instantiation leaves dangling pointer).</li>
4757  <li>Fixed bug <?php githubissuel('php/php-src',7896); ?> (Environment vars may be mangled on Windows).</li>
4758</ul></li>
4759<li>FFI:
4760<ul>
4761  <li>Fixed bug <?php githubissuel('php/php-src',7867); ?> (FFI::cast() from pointer to array is broken).</li>
4762</ul></li>
4763<li>Filter:
4764<ul>
4765  <li>Fix #81708: UAF due to php_filter_float() failing for ints.</li>
4766</ul></li>
4767<li>FPM:
4768<ul>
4769  <li>Fixed memory leak on invalid port.</li>
4770</ul></li>
4771<li>MBString:
4772<ul>
4773  <li>Fixed bug <?php githubissuel('php/php-src',7902); ?> (mb_send_mail may delimit headers with LF only).</li>
4774</ul></li>
4775<li>MySQLnd:
4776<ul>
4777  <li>Fixed bug <?php githubissuel('php/php-src',7972); ?> (MariaDB version prefix 5.5.5- is not stripped).</li>
4778</ul></li>
4779<li>Sockets:
4780<ul>
4781  <li>Fixed ext/sockets build on Haiku.</li>
4782  <li>Fixed bug <?php githubissuel('php/php-src',7978); ?> (sockets extension compilation errors).</li>
4783</ul></li>
4784<li>Standard:
4785<ul>
4786  <li>Fixed bug <?php githubissuel('php/php-src',7875); ?> (mails are sent even if failure to log throws exception).</li>
4787</ul></li>
4788</ul>
4789<!-- }}} --></section>
4790
4791
4792
4793<section class="version" id="8.0.15"><!-- {{{ 8.0.15 -->
4794<h3>Version 8.0.15</h3>
4795<b><?php release_date('20-Jan-2022'); ?></b>
4796<ul><li>Core:
4797<ul>
4798  <li><?php bugfix(81656); ?> (GCC-11 silently ignores -R).</li>
4799  <li><?php bugfix(81585); ?> (cached_chunks are not counted to real_size on shutdown).</li>
4800</ul></li>
4801<li>Filter:
4802<ul>
4803  <li>Fixed FILTER_FLAG_NO_RES_RANGE flag.</li>
4804</ul></li>
4805<li>Hash:
4806<ul>
4807  <li>Fixed bug <?php githubissuel('php/php-src',7759); ?> (Incorrect return types for hash() and hash_hmac()).</li>
4808  <li>Fixed bug <?php githubissuel('php/php-src',7826); ?> (Inconsistent argument name in hash_hmac_file and hash_file).</li>
4809</ul></li>
4810<li>MySQLnd:
4811<ul>
4812  <li>Fixed bug where large bigints may be truncated.</li>
4813</ul></li>
4814<li>OCI8:
4815<ul>
4816  <li>Fixed bug <?php githubissuel('php/php-src',7765); ?> (php_oci_cleanup_global_handles segfaults at second call).</li>
4817</ul></li>
4818<li>OPcache:
4819<ul>
4820  <li><?php bugfix(81679); ?> (Tracing JIT crashes on reattaching).</li>
4821</ul></li>
4822<li>PDO_PGSQL:
4823<ul>
4824  <li>Fixed error message allocation of PDO PgSQL.</li>
4825</ul></li>
4826<li>Sockets:
4827<ul>
4828  <li>Avoid void* arithmetic in sockets/multicast.c on NetBSD.</li>
4829</ul></li>
4830<li>Spl:
4831<ul>
4832  <li><?php bugfix(75917); ?> (SplFileObject::seek broken with CSV flags).</li>
4833</ul></li>
4834</ul>
4835<!-- }}} --></section>
4836
4837
4838
4839<section class="version" id="8.0.14"><!-- {{{ 8.0.14 -->
4840<h3>Version 8.0.14</h3>
4841<b><?php release_date('16-Dec-2021'); ?></b>
4842<ul><li>Core:
4843<ul>
4844  <li><?php bugfix(81582); ?> (Stringable not implicitly declared if __toString() came from a trait).</li>
4845  <li><?php bugfix(81591); ?> (Fatal Error not properly logged in particular cases).</li>
4846  <li><?php bugfix(81626); ?> (Error on use static:: in __сallStatic() wrapped to Closure::fromCallable()).</li>
4847  <li><?php bugfix(81631); ?> (::class with dynamic class name may yield wrong line number).</li>
4848</ul></li>
4849<li>FPM:
4850<ul>
4851  <li><?php bugfix(81513); ?> (Future possibility for heap overflow in FPM zlog).</li>
4852</ul></li>
4853<li>GD:
4854<ul>
4855  <li><?php bugfix(71316); ?> (libpng warning from imagecreatefromstring).</li>
4856</ul></li>
4857<li>IMAP:
4858<ul>
4859  <li><?php bugfix(81649); ?> (imap_(un)delete accept sequences, not single numbers).</li>
4860</ul></li>
4861<li>OpenSSL:
4862<ul>
4863  <li><?php bugfix(75725); ?> (./configure: detecting RAND_egd).</li>
4864</ul></li>
4865<li>PCRE:
4866<ul>
4867  <li><?php bugfix(74604); ?> (Out of bounds in php_pcre_replace_impl).</li>
4868</ul></li>
4869<li>SPL:
4870<ul>
4871  <li><?php bugfix(81587); ?> (MultipleIterator Segmentation fault w/ SimpleXMLElement attached).</li>
4872</ul></li>
4873<li>Standard:
4874<ul>
4875  <li><?php bugfix(81618); ?> (dns_get_record fails on FreeBSD for missing type).</li>
4876  <li><?php bugfix(81659); ?> (stream_get_contents() may unnecessarily overallocate).</li>
4877</ul></li>
4878</ul>
4879<!-- }}} --></section>
4880
4881
4882
4883<section class="version" id="8.0.13"><!-- {{{ 8.0.13 -->
4884<h3>Version 8.0.13</h3>
4885<b><?php release_date('18-Nov-2021'); ?></b>
4886<ul><li>Core:
4887<ul>
4888  <li><?php bugfix(81518); ?> (Header injection via default_mimetype / default_charset).</li>
4889</ul></li>
4890<li>Date:
4891<ul>
4892  <li><?php bugfix(81500); ?> (Interval serialization regression since 7.3.14 / 7.4.2).</li>
4893</ul></li>
4894<li>DBA:
4895<ul>
4896  <li><?php bugfix(81588); ?> (TokyoCabinet driver leaks memory).</li>
4897</ul></li>
4898<li>MBString:
4899<ul>
4900  <li><?php bugfix(76167); ?> (mbstring may use pointer from some previous request).</li>
4901</ul></li>
4902<li>Opcache:
4903<ul>
4904  <li><?php bugfix(81512); ?> (Unexpected behavior with arrays and JIT).</li>
4905</ul></li>
4906<li>PCRE:
4907<ul>
4908  <li><?php bugfix(81424); ?> (PCRE2 10.35 JIT performance regression).</li>
4909</ul></li>
4910<li>XML:
4911<ul>
4912  <li><?php bugfix(79971); ?> (special character is breaking the path in xml function). (CVE-2021-21707)</li>
4913</ul></li>
4914<li>XMLReader:
4915<ul>
4916  <li><?php bugfix(81521); ?> (XMLReader::getParserProperty may throw with a valid property).</li>
4917</ul></li>
4918</ul>
4919<!-- }}} --></section>
4920
4921
4922
4923<section class="version" id="8.0.12"><!-- {{{ 8.0.12 -->
4924<h3>Version 8.0.12</h3>
4925<b><?php release_date('21-Oct-2021'); ?></b>
4926<ul><li>CLI:
4927<ul>
4928  <li><?php bugfix(81496); ?> (Server logs incorrect request method).</li>
4929</ul></li>
4930<li>Core:
4931<ul>
4932  <li><?php bugfix(81435); ?> (Observer current_observed_frame may point to an old (overwritten) frame).</li>
4933  <li><?php bugfix(81380); ?> (Observer may not be initialized properly).</li>
4934</ul></li>
4935<li>DOM:
4936<ul>
4937  <li><?php bugfix(81433); ?> (DOMElement::setIdAttribute() called twice may remove ID).</li>
4938</ul></li>
4939<li>FFI:
4940<ul>
4941  <li><?php bugfix(79576); ?> ("TYPE *" shows unhelpful message when type is not defined).</li>
4942</ul></li>
4943<li>FPM:
4944<ul>
4945  <li><?php bugfix(81026); ?> (PHP-FPM oob R/W in root process leading to privilege escalation) (CVE-2021-21703).</li>
4946</ul></li>
4947<li>Fileinfo:
4948<ul>
4949  <li><?php bugfix(78987); ?> (High memory usage during encoding detection).</li>
4950</ul></li>
4951<li>Filter:
4952<ul>
4953  <li><?php bugfix(61700); ?> (FILTER_FLAG_IPV6/FILTER_FLAG_NO_PRIV|RES_RANGE failing).</li>
4954</ul></li>
4955<li>Opcache:
4956<ul>
4957  <li><?php bugfix(81472); ?> (Cannot support large linux major/minor device number when read /proc/self/maps).</li>
4958</ul></li>
4959<li>Reflection:
4960<ul>
4961  <li>ReflectionAttribute is no longer final.</li>
4962</ul></li>
4963<li>SPL:
4964<ul>
4965  <li><?php bugfix(80663); ?> (Recursive SplFixedArray::setSize() may cause double-free).</li>
4966  <li><?php bugfix(81477); ?> (LimitIterator + SplFileObject regression in 8.0.1).</li>
4967</ul></li>
4968<li>Standard:
4969<ul>
4970  <li><?php bugfix(69751); ?> (Change Error message of sprintf/printf for missing/typo position specifier).</li>
4971</ul></li>
4972<li>Streams:
4973<ul>
4974  <li><?php bugfix(81475); ?> (stream_isatty emits warning with attached stream wrapper).</li>
4975</ul></li>
4976<li>XML:
4977<ul>
4978  <li><?php bugfix(70962); ?> (XML_OPTION_SKIP_WHITE strips embedded whitespace).</li>
4979</ul></li>
4980<li>Zip:
4981<ul>
4982  <li><?php bugfix(81490); ?> (ZipArchive::extractTo() may leak memory).</li>
4983  <li><?php bugfix(77978); ?> (Dirname ending in colon unzips to wrong dir).</li>
4984</ul></li>
4985</ul>
4986<!-- }}} --></section>
4987
4988
4989
4990<section class="version" id="8.0.11"><!-- {{{ 8.0.11 -->
4991<h3>Version 8.0.11</h3>
4992<b><?php release_date('23-Sep-2021'); ?></b>
4993<ul><li>Core:
4994<ul>
4995  <li><?php bugfix(81302); ?> (Stream position after stream filter removed).</li>
4996  <li><?php bugfix(81346); ?> (Non-seekable streams don't update position after write).</li>
4997  <li><?php bugfix(73122); ?> (Integer Overflow when concatenating strings).</li>
4998</ul></li>
4999<li>GD:
5000<ul>
5001  <li><?php bugfix(53580); ?> (During resize gdImageCopyResampled cause colors change).</li>
5002</ul></li>
5003<li>Opcache:
5004<ul>
5005  <li><?php bugfix(81353); ?> (segfault with preloading and statically bound closure).</li>
5006</ul></li>
5007<li>Shmop:
5008<ul>
5009  <li><?php bugfix(81407); ?> (shmop_open won't attach and causes php to crash).</li>
5010</ul></li>
5011<li>Standard:
5012<ul>
5013  <li><?php bugfix(71542); ?> (disk_total_space does not work with relative paths).</li>
5014  <li><?php bugfix(81400); ?> (Unterminated string in dns_get_record() results).</li>
5015</ul></li>
5016<li>SysVMsg:
5017<ul>
5018  <li><?php bugfix(78819); ?> (Heap Overflow in msg_send).</li>
5019</ul></li>
5020<li>XML:
5021<ul>
5022  <li><?php bugfix(81351); ?> (xml_parse may fail, but has no error code).</li>
5023</ul></li>
5024<li>Zip:
5025<ul>
5026  <li><?php bugfix(80833); ?> (ZipArchive::getStream doesn't use setPassword).</li>
5027  <li><?php bugfix(81420); ?> (ZipArchive::extractTo extracts outside of destination).</li>
5028</ul></li>
5029</ul>
5030<!-- }}} --></section>
5031
5032
5033
5034<section class="version" id="8.0.10"><!-- {{{ 8.0.10 -->
5035<h3>Version 8.0.10</h3>
5036<b><?php release_date('26-Aug-2021'); ?></b>
5037<ul><li>Core:
5038<ul>
5039  <li><?php bugfix(72595); ?> (php_output_handler_append illegal write access).</li>
5040  <li><?php bugfix(66719); ?> (Weird behaviour when using get_called_class() with call_user_func()).</li>
5041  <li><?php bugfix(81305); ?> (Built-in Webserver Drops Requests With "Upgrade" Header).</li>
5042</ul></li>
5043<li>BCMath:
5044<ul>
5045  <li><?php bugfix(78238); ?> (BCMath returns "-0").</li>
5046</ul></li>
5047<li>CGI:
5048<ul>
5049  <li><?php bugfix(80849); ?> (HTTP Status header truncation).</li>
5050</ul></li>
5051<li>Date:
5052<ul>
5053  <li><?php bugfix(64975); ?> (Error parsing when AM/PM not at the end).</li>
5054  <li><?php bugfix(78984); ?> (DateTimeZone accepting invalid UTC timezones).</li>
5055  <li><?php bugfix(79580); ?> (date_create_from_format misses leap year).</li>
5056  <li><?php bugfix(80409); ?> (DateTime::modify() loses time with 'weekday' parameter).</li>
5057</ul></li>
5058<li>GD:
5059<ul>
5060  <li><?php bugfix(51498); ?> (imagefilledellipse does not work for large circles).</li>
5061</ul></li>
5062<li>MySQLi:
5063<ul>
5064  <li><?php bugfix(74544); ?> (Integer overflow in mysqli_real_escape_string()).</li>
5065</ul></li>
5066<li>Opcache:
5067<ul>
5068  <li><?php bugfix(81225); ?> (Wrong result with pow operator with JIT enabled).</li>
5069  <li><?php bugfix(81249); ?> (Intermittent property assignment failure with JIT enabled).</li>
5070  <li><?php bugfix(81206); ?> (Multiple PHP processes crash with JIT enabled).</li>
5071  <li><?php bugfix(81272); ?> (Segfault in var[] after array_slice with JIT).</li>
5072  <li><?php bugfix(81255); ?> (Memory leak in PHPUnit with functional JIT).</li>
5073  <li><?php bugfix(80959); ?> (Infinite loop in building cfg during JIT compilation) (Nikita, Dmitry)</li>
5074  <li><?php bugfix(81226); ?> (Integer overflow behavior is different with JIT enabled).</li>
5075</ul></li>
5076<li>OpenSSL:
5077<ul>
5078  <li><?php bugfix(81327); ?> (Error build openssl extension on php 7.4.22).</li>
5079</ul></li>
5080<li>PDO_ODBC:
5081<ul>
5082  <li><?php bugfix(81252); ?> (PDO_ODBC doesn't account for SQL_NO_TOTAL).</li>
5083</ul></li>
5084<li>Phar:
5085<ul>
5086  <li><?php bugfix(81211); ?>: Symlinks are followed when creating PHAR archive</li>
5087</ul></li>
5088<li>Shmop:
5089<ul>
5090  <li><?php bugfix(81283); ?> (shmop can't read beyond 2147483647 bytes).</li>
5091</ul></li>
5092<li>SimpleXML:
5093<ul>
5094  <li><?php bugfix(81325); ?> (Segfault in zif_simplexml_import_dom).</li>
5095</ul></li>
5096<li>Standard:
5097<ul>
5098  <li><?php bugfix(72146); ?> (Integer overflow on substr_replace).</li>
5099  <li><?php bugfix(81265); ?> (getimagesize returns 0 for 256px ICO images).</li>
5100  <li><?php bugfix(74960); ?> (Heap buffer overflow via str_repeat).</li>
5101</ul></li>
5102<li>Streams:
5103<ul>
5104  <li><?php bugfix(81294); ?> (Segfault when removing a filter).</li>
5105</ul></li>
5106</ul>
5107<!-- }}} --></section>
5108
5109
5110
5111<section class="version" id="8.0.9"><!-- {{{ 8.0.9 -->
5112<h3>Version 8.0.9</h3>
5113<b><?php release_date('29-Jul-2021'); ?></b>
5114<ul><li>Core:
5115<ul>
5116  <li><?php bugfix(81145); ?> (copy() and stream_copy_to_stream() fail for +4GB files).</li>
5117  <li><?php bugfix(81163); ?> (incorrect handling of indirect vars in __sleep).</li>
5118  <li><?php bugfix(81159); ?> (Object to int warning when using an object as a string offset).</li>
5119  <li><?php bugfix(80728); ?> (PHP built-in web server resets timeout when it can kill the process).</li>
5120  <li><?php bugfix(73630); ?> (Built-in Webserver - overwrite $_SERVER['request_uri']).</li>
5121  <li><?php bugfix(80173); ?> (Using return value of zend_assign_to_variable() is not safe).</li>
5122  <li><?php bugfix(73226); ?> (--r[fcez] always return zero exit code).</li>
5123</ul></li>
5124<li>Intl:
5125<ul>
5126  <li><?php bugfix(72809); ?> (Locale::lookup() wrong result with canonicalize option).</li>
5127  <li><?php bugfix(68471); ?> (IntlDateFormatter fails for "GMT+00:00" timezone).</li>
5128  <li><?php bugfix(74264); ?> (grapheme_strrpos() broken for negative offsets).</li>
5129</ul></li>
5130<li>OpenSSL:
5131<ul>
5132  <li><?php bugfix(52093); ?> (openssl_csr_sign truncates $serial).</li>
5133</ul></li>
5134<li>PCRE:
5135<ul>
5136  <li><?php bugfix(81101); ?> (PCRE2 10.37 shows unexpected result).</li>
5137  <li><?php bugfix(81243); ?> (Too much memory is allocated for preg_replace()).</li>
5138</ul></li>
5139<li>Reflection:
5140<ul>
5141  <li><?php bugfix(81208); ?> (Segmentation fault while create newInstance from attribute).</li>
5142</ul></li>
5143<li>Standard:
5144<ul>
5145  <li><?php bugfix(81223); ?> (flock() only locks first byte of file).</li>
5146</ul></li>
5147</ul>
5148<!-- }}} --></section>
5149
5150
5151
5152<section class="version" id="8.0.8"><!-- {{{ 8.0.8 -->
5153<h3>Version 8.0.8</h3>
5154<b><?php release_date('01-Jul-2021'); ?></b>
5155<ul><li>Core:
5156<ul>
5157  <li><?php bugfix(81076); ?> (incorrect debug info on Closures with implicit binds).</li>
5158  <li><?php bugfix(81068); ?> (Double free in realpath_cache_clean()).</li>
5159  <li><?php bugfix(76359); ?> (open_basedir bypass through adding "..").</li>
5160  <li><?php bugfix(81090); ?> (Typed property performance degradation with .= operator).</li>
5161  <li><?php bugfix(81070); ?> (Integer underflow in memory limit comparison).</li>
5162  <li><?php bugfix(81122); ?> (SSRF bypass in FILTER_VALIDATE_URL). (CVE-2021-21705)</li>
5163</ul></li>
5164<li>Bzip2:
5165<ul>
5166  <li><?php bugfix(81092); ?> (fflush before stream_filter_remove corrupts stream).</li>
5167</ul></li>
5168<li>Fileinfo:
5169<ul>
5170  <li><?php bugfix(80197); ?> (implicit declaration of function 'magic_stream' is invalid).</li>
5171</ul></li>
5172<li>GMP:
5173<ul>
5174  <li><?php bugfix(81119); ?> (GMP operators throw errors with wrong parameter names).</li>
5175</ul></li>
5176<li>OCI8:
5177<ul>
5178  <li><?php bugfix(81088); ?> (error in regression test for oci_fetch_object() and oci_fetch_array()).</li>
5179</ul></li>
5180<li>Opcache:
5181<ul>
5182  <li><?php bugfix(81051); ?> (Broken property type handling after incrementing reference).</li>
5183  <li><?php bugfix(80968); ?> (JIT segfault with return from required file).</li>
5184</ul></li>
5185<li>OpenSSL:
5186<ul>
5187  <li><?php bugfix(76694); ?> (native Windows cert verification uses CN as server name).</li>
5188</ul></li>
5189<li>MySQLnd:
5190<ul>
5191  <li><?php bugfix(80761); ?> (PDO uses too much memory).</li>
5192</ul></li>
5193<li>PDO_Firebird:
5194<ul>
5195  <li><?php bugfix(76448); ?> (Stack buffer overflow in firebird_info_cb). (CVE-2021-21704)</li>
5196  <li><?php bugfix(76449); ?> (SIGSEGV in firebird_handle_doer). (CVE-2021-21704)</li>
5197  <li><?php bugfix(76450); ?> (SIGSEGV in firebird_stmt_execute). (CVE-2021-21704)</li>
5198  <li><?php bugfix(76452); ?> (Crash while parsing blob data in firebird_fetch_blob). (CVE-2021-21704)</li>
5199</ul></li>
5200<li>readline:
5201<ul>
5202  <li><?php bugfix(72998); ?> (invalid read in readline completion).</li>
5203</ul></li>
5204<li>Standard:
5205<ul>
5206  <li><?php bugfix(81048); ?> (phpinfo(INFO_VARIABLES) "Array to string conversion").</li>
5207  <li><?php bugfix(77627); ?> (method_exists on Closure::__invoke inconsistency).</li>
5208</ul></li>
5209<li>Windows:
5210<ul>
5211  <li><?php bugfix(81120); ?> (PGO data for main PHP DLL are not used).</li>
5212</ul></li>
5213</ul>
5214<!-- }}} --></section>
5215
5216
5217
5218<section class="version" id="8.0.7"><!-- {{{ 8.0.7 -->
5219<h3>Version 8.0.7</h3>
5220<b><?php release_date('03-Jun-2021'); ?></b>
5221<ul><li>Core:
5222<ul>
5223  <li><?php bugfix(80960); ?> (opendir() warning wrong info when failed on Windows).</li>
5224  <li><?php bugfix(67792); ?> (HTTP Authorization schemes are treated as case-sensitive).</li>
5225  <li><?php bugfix(80972); ?> (Memory exhaustion on invalid string offset).</li>
5226</ul></li>
5227<li>FPM:
5228<ul>
5229  <li><?php bugfix(65800); ?> (Events port mechanism).</li>
5230</ul></li>
5231<li>FTP:
5232<ul>
5233  <li><?php bugfix(80901); ?> (Info leak in ftp extension).</li>
5234  <li><?php bugfix(79100); ?> (Wrong FTP error messages).</li>
5235</ul></li>
5236<li>GD:
5237<ul>
5238  <li><?php bugfix(81032); ?> (GD install is affected by external libgd installation).</li>
5239</ul></li>
5240<li>Intl:
5241<ul>
5242  <li><?php bugfix(81019); ?> (Unable to clone NumberFormatter after failed parse()).</li>
5243</ul></li>
5244<li>MBString:
5245<ul>
5246  <li><?php bugfix(81011); ?> (mb_convert_encoding removes references from arrays).</li>
5247</ul></li>
5248<li>ODBC:
5249<ul>
5250  <li><?php bugfix(80460); ?> (ODBC doesn't account for SQL_NO_TOTAL indicator).</li>
5251</ul></li>
5252<li>Opcache:
5253<ul>
5254  <li><?php bugfix(81007); ?> (JIT "not supported" on 32-bit x86 -- build problem?).</li>
5255  <li><?php bugfix(81015); ?> (Opcache optimization assumes wrong part of ternary operator in if-condition).</li>
5256  <li><?php bugfix(81046); ?> (Literal compaction merges non-equal related literals).</li>
5257</ul></li>
5258<li>PDO_MySQL:
5259<ul>
5260  <li><?php bugfix(81037); ?> (PDO discards error message text from prepared statement).</li>
5261</ul></li>
5262<li>PDO_ODBC:
5263<ul>
5264  <li><?php bugfix(44643); ?> (bound parameters ignore explicit type definitions).</li>
5265</ul></li>
5266<li>pgsql:
5267<ul>
5268  <li>Fixed php_pgsql_fd_cast() wrt. php_stream_can_cast().</li>
5269</ul></li>
5270<li>SPL:
5271<ul>
5272  <li><?php bugfix(80933); ?> (SplFileObject::DROP_NEW_LINE is broken for NUL and CR).</li>
5273</ul></li>
5274<li>XMLReader:
5275<ul>
5276  <li><?php bugfix(73246); ?> (XMLReader: encoding length not checked).</li>
5277</ul></li>
5278<li>Zip:
5279<ul>
5280  <li><?php bugfix(80863); ?> (ZipArchive::extractTo() ignores references).</li>
5281</ul></li>
5282</ul>
5283<!-- }}} --></section>
5284
5285
5286
5287<section class="version" id="8.0.6"><!-- {{{ 8.0.6 -->
5288<h3>Version 8.0.6</h3>
5289<b><?php release_date('06-May-2021'); ?></b>
5290<ul><li>PDO_pgsql:
5291<ul>
5292  <li>Revert "<?php bugfix(80892); ?> (PDO::PARAM_INT is treated the same as PDO::PARAM_STR)"</li>
5293</ul></li>
5294</ul>
5295<!-- }}} --></section>
5296
5297
5298
5299<section class="version" id="8.0.5"><!-- {{{ 8.0.5 -->
5300<h3>Version 8.0.5</h3>
5301<b><?php release_date('29-Apr-2021'); ?></b>
5302<ul><li>Core:
5303<ul>
5304  <li><?php bugfix(75776); ?> (Flushing streams with compression filter is broken).</li>
5305  <li><?php bugfix(80811); ?> (Function exec without $output but with $restult_code parameter crashes).</li>
5306  <li><?php bugfix(80814); ?> (threaded mod_php won't load on FreeBSD: No space available for static Thread Local Storage).</li>
5307  <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>
5308</ul></li>
5309<li>Dba:
5310<ul>
5311  <li><?php bugfix(80817); ?> (dba_popen() may cause segfault during RSHUTDOWN).</li>
5312</ul></li>
5313<li>DOM:
5314<ul>
5315  <li><?php bugfix(66783); ?> (UAF when appending DOMDocument to element).</li>
5316</ul></li>
5317<li>FFI:
5318<ul>
5319  <li><?php bugfix(80847); ?> (CData structs with fields of type struct can't be passed as C function argument).</li>
5320</ul></li>
5321<li>FPM:
5322<ul>
5323  <li><?php bugfix(80024); ?> (Duplication of info about inherited socket after pool removing).</li>
5324</ul></li>
5325<li>FTP:
5326<ul>
5327  <li><?php bugfix(80880); ?> (SSL_read on shutdown, ftp/proc_open).</li>
5328</ul></li>
5329<li>IMAP:
5330<ul>
5331  <li><?php bugfix(80800); ?> (imap_open() fails when the flags parameter includes CL_EXPUNGE).</li>
5332  <li><?php bugfix(80710); ?> (imap_mail_compose() header injection).</li>
5333</ul></li>
5334<li>Intl:
5335<ul>
5336  <li><?php bugfix(80763); ?> (msgfmt_format() does not accept DateTime references).</li>
5337</ul></li>
5338<li>LibXML:
5339<ul>
5340  <li><?php bugfix(73533); ?> (Invalid memory access in php_libxml_xmlCheckUTF8).</li>
5341  <li><?php bugfix(51903); ?> (simplexml_load_file() doesn't use HTTP headers).</li>
5342</ul></li>
5343<li>MySQLnd:
5344<ul>
5345  <li><?php bugfix(80837); ?> (Calling stmt_store_result after fetch doesn't throw an error).</li>
5346</ul></li>
5347<li>Opcache:
5348<ul>
5349  <li><?php bugfix(80839); ?> (PHP problem with JIT).</li>
5350  <li><?php bugfix(80861); ?> (erronous array key overflow in 2D array with JIT).</li>
5351  <li><?php bugfix(80786); ?> (PHP crash using JIT).</li>
5352  <li><?php bugfix(80782); ?> (DASM_S_RANGE_VREG on PHP_INT_MIN-1).</li>
5353</ul></li>
5354<li>Pcntl:
5355<ul>
5356  <li><?php bugfix(79812); ?> (Potential integer overflow in pcntl_exec()).</li>
5357</ul></li>
5358<li>PCRE:
5359<ul>
5360  <li><?php bugfix(80866); ?> (preg_split ignores limit flag when pattern with \K has 0-width fullstring match).</li>
5361</ul></li>
5362<li>PDO_ODBC:
5363<ul>
5364  <li><?php bugfix(80783); ?> (PDO ODBC truncates BLOB records at every 256th byte).</li>
5365</ul></li>
5366<li>PDO_pgsql:
5367<ul>
5368  <li><?php bugfix(80892); ?> (PDO::PARAM_INT is treated the same as PDO::PARAM_STR).</li>
5369</ul></li>
5370<li>Session:
5371<ul>
5372  <li><?php bugfix(80889); ?> (Cannot set save handler when save_handler is invalid).</li>
5373  <li><?php bugfix(80774); ?> (session_name() problem with backslash).</li>
5374</ul></li>
5375<li>SOAP:
5376<ul>
5377  <li><?php bugfix(69668); ?> (SOAP special XML characters in namespace URIs not encoded).</li>
5378</ul></li>
5379<li>Standard:
5380<ul>
5381  <li><?php bugfix(80915); ?> (Taking a reference to $_SERVER hides its values from phpinfo()).</li>
5382  <li><?php bugfix(80914); ?> ('getdir' accidentally defined as an alias of 'dir').</li>
5383  <li><?php bugfix(80771); ?> (phpinfo(INFO_CREDITS) displays nothing in CLI).</li>
5384  <li><?php bugfix(78719); ?> (http wrapper silently ignores long Location headers).</li>
5385  <li><?php bugfix(80838); ?> (HTTP wrapper waits for HTTP 1 response after HTTP 101).</li>
5386</ul></li>
5387<li>Zip:
5388<ul>
5389  <li><?php bugfix(80825); ?> (ZipArchive::isCompressionMethodSupported does not exist).</li>
5390</ul></li>
5391</ul>
5392<!-- }}} --></section>
5393
5394
5395
5396<section class="version" id="8.0.3"><!-- {{{ 8.0.3 -->
5397<h3>Version 8.0.3</h3>
5398<b><?php release_date('04-Mar-2021'); ?></b>
5399<ul><li>Core:
5400<ul>
5401  <li><?php bugfix(80706); ?> (mail(): Headers after Bcc headers may be ignored).</li>
5402</ul></li>
5403<li>DOM:
5404<ul>
5405  <li><?php bugfix(80600); ?> (DOMChildNode::remove() doesn't work on CharacterData nodes).</li>
5406</ul></li>
5407<li>Gettext:
5408<ul>
5409  <li><?php bugfix(53251); ?> (bindtextdomain with null dir doesn't return old value).</li>
5410</ul></li>
5411<li>MySQLnd:
5412<ul>
5413  <li><?php bugfix(78680); ?> (mysqlnd's mysql_clear_password does not transmit null-terminated password).</li>
5414  <li><?php bugfix(80713); ?> (SegFault when disabling ATTR_EMULATE_PREPARES and MySQL 8.0).</li>
5415</ul></li>
5416<li>MySQLi:
5417<ul>
5418  <li><?php bugfix(74779); ?> (x() and y() truncating floats to integers).</li>
5419</ul></li>
5420<li>Opcache:
5421<ul>
5422  <li><?php bugfix(80634); ?> (write_property handler of internal classes is skipped on preloaded JITted code).</li>
5423  <li><?php bugfix(80682); ?> (opcache doesn't honour pcre.jit option).</li>
5424  <li><?php bugfix(80742); ?> (Opcache JIT makes some boolean logic unexpectedly be true).</li>
5425  <li><?php bugfix(80745); ?> (JIT produces Assert failure and UNKNOWN:0 var_dumps in code involving bitshifts).</li>
5426</ul></li>
5427<li>OpenSSL:
5428<ul>
5429  <li><?php bugfix(80747); ?> (Providing RSA key size &lt; 512 generates key that crash PHP).</li>
5430</ul></li>
5431<li>Phar:
5432<ul>
5433  <li><?php bugfix(75850); ?> (Unclear error message wrt. __halt_compiler() w/o semicolon)</li>
5434  <li><?php bugfix(70091); ?> (Phar does not mark UTF-8 filenames in ZIP archives).</li>
5435  <li><?php bugfix(53467); ?> (Phar cannot compress large archives).</li>
5436</ul></li>
5437<li>Socket:
5438<ul>
5439  <li><?php bugfix(80723); ?> (Different sockets compare as equal (regression in 8.0)).</li>
5440</ul></li>
5441<li>SPL:
5442<ul>
5443  <li><?php bugfix(80719); ?> (Iterating after failed ArrayObject::setIteratorClass() causes Segmentation fault).</li>
5444</ul></li>
5445<li>Standard:
5446<ul>
5447  <li><?php bugfix(80654); ?> (file_get_contents() maxlen fails above (2**31)-1 bytes).</li>
5448  <li><?php bugfix(80718); ?> (ext/standard/dl.c fallback code path with syntax error).</li>
5449</ul></li>
5450</ul>
5451<!-- }}} --></section>
5452
5453
5454
5455<section class="version" id="8.0.2"><!-- {{{ 8.0.2 -->
5456<h3>Version 8.0.2</h3>
5457<b><?php release_date('04-Feb-2021'); ?></b>
5458<ul><li>Core:
5459<ul>
5460  <li><?php bugfix(80523); ?> (bogus parse error on &gt;4GB source code).</li>
5461  <li><?php bugfix(80384); ?> (filter buffers entire read until file closed).</li>
5462  <li><?php bugfix(80596); ?> (Invalid union type TypeError in anonymous classes).</li>
5463  <li><?php bugfix(80617); ?> (GCC throws warning about type narrowing in ZEND_TYPE_INIT_CODE).</li>
5464</ul></li>
5465<li>BCMath:
5466<ul>
5467  <li><?php bugfix(80545); ?> (bcadd('a', 'a') doesn't throw an exception).</li>
5468</ul></li>
5469<li>Curl:
5470<ul>
5471  <li><?php bugfix(80595); ?> (Resetting POSTFIELDS to empty array breaks request).</li>
5472</ul></li>
5473<li>Date:
5474<ul>
5475  <li><?php bugfix(80376); ?> (last day of the month causes runway cpu usage).</li>
5476</ul></li>
5477<li>DOM:
5478<ul>
5479  <li><?php bugfix(80537); ?> (Wrong parameter type in DOMElement::removeAttributeNode stub).</li>
5480</ul></li>
5481<li>Filter:
5482<ul>
5483  <li><?php bugfix(80584); ?> (0x and 0X are considered valid hex numbers by filter_var()).</li>
5484</ul></li>
5485<li>GMP:
5486<ul>
5487  <li><?php bugfix(80560); ?> (Strings containing only a base prefix return 0 object).</li>
5488</ul></li>
5489<li>Intl:
5490<ul>
5491  <li><?php bugfix(80644); ?> (Missing resource causes subsequent get() calls to fail).</li>
5492</ul></li>
5493<li>MySQLi:
5494<ul>
5495  <li><?php bugfix(67983); ?> (mysqlnd with MYSQLI_OPT_INT_AND_FLOAT_NATIVE fails to interpret bit columns).</li>
5496  <li><?php bugfix(64638); ?> (Fetching resultsets from stored procedure with cursor fails).</li>
5497  <li><?php bugfix(72862); ?> (segfault using prepared statements on stored procedures that use a cursor).</li>
5498  <li><?php bugfix(77935); ?> (Crash in mysqlnd_fetch_stmt_row_cursor when calling an SP with a cursor).</li>
5499</ul></li>
5500<li>ODBC:
5501<ul>
5502  <li><?php bugfix(80592); ?> (all floats are the same in ODBC parameters).</li>
5503</ul></li>
5504<li>Opcache:
5505<ul>
5506  <li><?php bugfix(80422); ?> (php_opcache.dll crashes when using Apache 2.4 with JIT).</li>
5507</ul></li>
5508<li>PDO_Firebird:
5509<ul>
5510  <li><?php bugfix(80521); ?> (Parameters with underscores no longer recognized).</li>
5511</ul></li>
5512<li>Phar:
5513<ul>
5514  <li><?php bugfix(76929); ?> (zip-based phar does not respect phar.require_hash).</li>
5515  <li><?php bugfix(77565); ?> (Incorrect locator detection in ZIP-based phars).</li>
5516  <li><?php bugfix(69279); ?> (Compressed ZIP Phar extractTo() creates garbage files).</li>
5517</ul></li>
5518<li>Phpdbg:
5519<ul>
5520  <li>Reverted fix for bug <?php bugl(76813); ?> (Access violation near NULL on source operand).</li>
5521</ul></li>
5522<li>SOAP:
5523<ul>
5524  <li><?php bugfix(80672); ?> (Null Dereference in SoapClient). (CVE-2021-21702)</li>
5525</ul></li>
5526</ul>
5527<!-- }}} --></section>
5528
5529
5530
5531<section class="version" id="8.0.1"><!-- {{{ 8.0.1 -->
5532<h3>Version 8.0.1</h3>
5533<b><?php release_date('07-Jan-2021'); ?></b>
5534<ul><li>Core:
5535<ul>
5536  <li><?php bugfix(80345); ?> (PHPIZE configuration has outdated PHP_RELEASE_VERSION).</li>
5537  <li><?php bugfix(72964); ?> (White space not unfolded for CC/Bcc headers).</li>
5538  <li><?php bugfix(80391); ?> (Iterable not covariant to mixed).</li>
5539  <li><?php bugfix(80393); ?> (Build of PHP extension fails due to configuration gap with libtool).</li>
5540  <li><?php bugfix(77069); ?> (stream filter loses final block of data).</li>
5541</ul></li>
5542<li>Fileinfo:
5543<ul>
5544  <li><?php bugfix(77961); ?> (finfo_open crafted magic parsing SIGABRT).</li>
5545</ul></li>
5546<li>FPM:
5547<ul>
5548  <li><?php bugfix(69625); ?> (FPM returns 200 status on request without SCRIPT_FILENAME env).</li>
5549</ul></li>
5550<li>IMAP:
5551<ul>
5552  <li><?php bugfix(80438); ?> (imap_msgno() incorrectly warns and return false on valid UIDs in PHP 8).</li>
5553  <li>Fix a regression with valid UIDs in imap_savebody().</li>
5554  <li>Make warnings for invalid message numbers/UIDs between functions consistent.</li>
5555</ul></li>
5556<li>Intl:
5557<ul>
5558  <li><?php bugfix(80425); ?> (MessageFormatAdapter::getArgTypeList redefined).</li>
5559</ul></li>
5560<li>Opcache:
5561<ul>
5562  <li><?php bugfix(80404); ?> (Incorrect range inference result when division results in float).</li>
5563  <li><?php bugfix(80377); ?> (Opcache misses executor_globals).</li>
5564  <li><?php bugfix(80433); ?> (Unable to disable the use of the AVX command when using JIT).</li>
5565  <li><?php bugfix(80447); ?> (Strange out of memory error when running with JIT).</li>
5566  <li><?php bugfix(80480); ?> (Segmentation fault with JIT enabled).</li>
5567  <li><?php bugfix(80506); ?> (Immediate SIGSEGV upon ini_set("opcache.jit_debug", 1)).</li>
5568</ul></li>
5569<li>OpenSSL:
5570<ul>
5571  <li><?php bugfix(80368); ?> (OpenSSL extension fails to build against LibreSSL due to lack of OCB support).</li>
5572</ul></li>
5573<li>PDO MySQL:
5574<ul>
5575  <li><?php bugfix(80458); ?> (PDOStatement::fetchAll() throws for upsert queries).</li>
5576  <li><?php bugfix(63185); ?> (nextRowset() ignores MySQL errors with native prepared statements).</li>
5577  <li><?php bugfix(78152); ?> (PDO::exec() - Bad error handling with multiple commands).</li>
5578  <li><?php bugfix(66878); ?> (Multiple rowsets not returned unless PDO statement object is unset()).</li>
5579  <li><?php bugfix(70066); ?> (Unexpected "Cannot execute queries while other unbuffered queries").</li>
5580  <li><?php bugfix(71145); ?> (Multiple statements in init command triggers unbuffered query error).</li>
5581  <li><?php bugfix(76815); ?> (PDOStatement cannot be GCed/closeCursor-ed when a PROCEDURE resultset SIGNAL).</li>
5582  <li><?php bugfix(79872); ?> (Can't execute query with pending result sets).</li>
5583  <li><?php bugfix(79131); ?> (PDO does not throw an exception when parameter values are missing).</li>
5584  <li><?php bugfix(72368); ?> (PdoStatement-&gt;execute() fails but does not throw an exception).</li>
5585  <li><?php bugfix(62889); ?> (LOAD DATA INFILE broken).</li>
5586  <li><?php bugfix(67004); ?> (Executing PDOStatement::fetch() more than once prevents releasing resultset).</li>
5587  <li><?php bugfix(79132); ?> (PDO re-uses parameter values from earlier calls to execute()).</li>
5588</ul></li>
5589<li>Phar:
5590<ul>
5591  <li><?php bugfix(73809); ?> (Phar Zip parse crash - mmap fail).</li>
5592  <li><?php bugfix(75102); ?> (`PharData` says invalid checksum for valid tar).</li>
5593  <li><?php bugfix(77322); ?> (PharData::addEmptyDir('/') Possible integer overflow).</li>
5594</ul></li>
5595<li>Phpdbg:
5596<ul>
5597  <li><?php bugfix(76813); ?> (Access violation near NULL on source operand).</li>
5598</ul></li>
5599<li>SPL:
5600<ul>
5601  <li><?php bugfix(62004); ?> (SplFileObject: fgets after seek returns wrong line).</li>
5602</ul></li>
5603<li>Standard:
5604<ul>
5605  <li><?php bugfix(80366); ?> (Return Value of zend_fstat() not Checked).</li>
5606  <li><?php bugfix(77423); ?> (FILTER_VALIDATE_URL accepts URLs with invalid userinfo). (CVE-2020-7071)</li>
5607</ul></li>
5608<li>Tidy:
5609<ul>
5610  <li><?php bugfix(77594); ?> (ob_tidyhandler is never reset).</li>
5611</ul></li>
5612<li>Tokenizer:
5613<ul>
5614  <li><?php bugfix(80462); ?> (Nullsafe operator tokenize with TOKEN_PARSE flag fails).</li>
5615</ul></li>
5616<li>XML:
5617<ul>
5618  <li>XmlParser opaque object renamed to XMLParser for consistency with other XML objects.</li>
5619</ul></li>
5620<li>Zlib:
5621<ul>
5622  <li><?php bugfix(48725); ?> (Support for flushing in zlib stream).</li>
5623</ul></li>
5624</ul>
5625<!-- }}} --></section>
5626
5627
5628
5629<section class="version" id="8.0.0"><!-- {{{ 8.0.0 -->
5630<h3>Version 8.0.0</h3>
5631<b><?php release_date('26-Nov-2020'); ?></b>
5632<ul><li>BZ2:
5633<ul>
5634  <li><?php bugfix(71263); ?> (fread() does not report bzip2.decompress errors).</li>
5635</ul></li>
5636<li>CLI:
5637<ul>
5638  <li>Allow debug server binding to an ephemeral port via `-S localhost:0`.</li>
5639</ul></li>
5640<li>COM:
5641<ul>
5642  <li><?php bugfix(55847); ?> (DOTNET .NET 4.0 GAC new location).</li>
5643  <li><?php bugfix(62474); ?> (com_event_sink crashes on certain arguments).</li>
5644</ul></li>
5645<li>Calendar:
5646<ul>
5647  <li><?php bugfix(80007); ?> (Potential type confusion in unixtojd() parameter parsing).</li>
5648</ul></li>
5649<li>Core:
5650<ul>
5651  <li><?php bugfix(36365); ?> (scandir duplicates file name at every 65535th file).</li>
5652  <li><?php bugfix(49555); ?> (Fatal error "Function must be a string" message should be renamed).</li>
5653  <li><?php bugfix(62294); ?> (register_shutdown_function() does not correctly handle exit code).</li>
5654  <li><?php bugfix(62609); ?> (Allow implementing Traversable on abstract classes).</li>
5655  <li><?php bugfix(65274); ?> (Enhance undefined class constant error with class name).</li>
5656  <li><?php bugfix(65275); ?> (Calling exit() in a shutdown function does not change the exit value in CLI).</li>
5657  <li><?php bugfix(69084); ?> (Unclear error message when not implementing a renamed abstract trait function).</li>
5658  <li><?php bugfix(70839); ?> (Converting optional argument to variadic forbidden by LSP checks).</li>
5659  <li><?php bugfix(74558); ?> (Can't rebind closure returned by Closure::fromCallable()).</li>
5660  <li><?php bugfix(77561); ?> (Shebang line not stripped for non-primary script).</li>
5661  <li><?php bugfix(77619); ?> (Wrong reflection on MultipleIterator::__construct).</li>
5662  <li><?php bugfix(77966); ?> (Cannot alias a method named "namespace").</li>
5663  <li><?php bugfix(78236); ?> (convert error on receiving variables when duplicate [).</li>
5664  <li><?php bugfix(78770); ?> (Incorrect callability check inside internal methods).</li>
5665  <li><?php bugfix(79108); ?> (Referencing argument in a function makes it a reference in the stack trace).</li>
5666  <li><?php bugfix(79368); ?> ("Unexpected end of file" is not an acceptable error message).</li>
5667  <li><?php bugfix(79462); ?> (method_exists and property_exists incoherent behavior).</li>
5668  <li><?php bugfix(79467); ?> (data:// wrappers are writable).</li>
5669  <li><?php bugfix(79521); ?> (Check __set_state structure).</li>
5670  <li><?php bugfix(79790); ?> ("Illegal offset type" exception during AST evaluation not handled properly).</li>
5671  <li><?php bugfix(79791); ?> (Assertion failure when unsetting variable during binary op).</li>
5672  <li><?php bugfix(79828); ?> (Segfault when trying to access non-existing variable).</li>
5673  <li><?php bugfix(79841); ?> (Syntax error in configure / unescaped "[]" in php.m4).</li>
5674  <li><?php bugfix(79852); ?> (count(DOMNodeList) doesn't match count(IteratorIterator(DOMNodeList))).</li>
5675  <li><?php bugfix(79867); ?> (Promoted untyped properties should get null default value).</li>
5676  <li><?php bugfix(79897); ?> (Promoted constructor params with attribs cause crash).</li>
5677  <li><?php bugfix(79927); ?> (Generator doesn't throw exception after multiple yield from iterable).</li>
5678  <li><?php bugfix(79946); ?> (Build fails due to undeclared UINT32_C).</li>
5679  <li><?php bugfix(79948); ?> (Exit in auto-prepended file does not abort PHP execution).</li>
5680  <li><?php bugfix(80045); ?> (memleak after two set_exception_handler calls with __call).</li>
5681  <li><?php bugfix(80096); ?> (Segmentation fault with named arguments in nested call).</li>
5682  <li><?php bugfix(80109); ?> (Cannot skip arguments when extended debug is enabled).</li>
5683  <li><?php bugfix(80225); ?> (broken namespace usage in eval code).</li>
5684  <li><?php bugfix(80258); ?> (Windows Deduplication Enabled, randon permission errors).</li>
5685  <li><?php bugfix(80280); ?> (ADD_EXTENSION_DEP() fails for ext/standard and ext/date).</li>
5686  <li><?php bugfix(80334); ?> (assert() vs named parameters - confusing error).</li>
5687  <li><?php bugfix(80055); ?> (Abstract trait methods returning "self" cannot be fulfilled by traits).</li>
5688  <li>Fixed faulty generator cleanup with yield from.</li>
5689  <li>Implement #[Attr] Attribute syntax as per final vote in RFC https://wiki.php.net/rfc/shorter_attribute_syntax_change</li>
5690  <li><?php implemented(47074); ?> (phpinfo() reports "On" as 1 for the some extensions).</li>
5691  <li><?php implemented(72089); ?> (require() throws fatal error instead of exception).</li>
5692  <li>Removed the pdo_odbc.db2_instance_name php.ini directive.</li>
5693  <li>Use SSE2 instructions do locale independent strtolower.</li>
5694</ul></li>
5695<li>Curl:
5696<ul>
5697  <li>Bumped required libcurl version to 7.29.0.</li>
5698  <li><?php bugfix(80121); ?> (Null pointer deref if CurlHandle directly instantiated).</li>
5699</ul></li>
5700<li>DOM:
5701<ul>
5702  <li>Add property DOMXPath::$registerNodeNamespaces and constructor argument that allow global flag to configure query() or evaluate() calls.</li>
5703  <li><?php bugfix(79968); ?> (DOMChildNode API crash on unattached nodes).</li>
5704  <li><?php bugfix(80268); ?> (loadHTML() truncates at NUL bytes).</li>
5705</ul></li>
5706<li>Date:
5707<ul>
5708  <li><?php bugfix(60302); ?> (DateTime::createFromFormat should new static(), not new self()).</li>
5709  <li><?php bugfix(65547); ?> (Default value for sunrise/sunset zenith still wrong).</li>
5710  <li><?php bugfix(69044); ?> (discrepancy between time and microtime).</li>
5711  <li><?php bugfix(80057); ?> (DateTimeImmutable::createFromFormat() does not populate time).</li>
5712  <li><?php implemented(79903); ?> (datetime: new format "p", same as "P" but returning "Z" for UTC).</li>
5713</ul></li>
5714<li>Enchant:
5715<ul>
5716  <li>Add LIBENCHANT_VERSION macro.</li>
5717  <li>Add enchant_dict_add and enchant_dict_is_added functions.</li>
5718  <li>Deprecate enchant_broker_set_dict_path, enchant_broker_get_dict_path, enchant_dict_add_to_personal and enchant_dict_is_in_session.</li>
5719  <li>Use libenchant-2 when available.</li>
5720</ul></li>
5721<li>FFI:
5722<ul>
5723  <li>Added FFI\CType::getName() method.</li>
5724  <li><?php bugfix(79177); ?> (FFI doesn't handle well PHP exceptions within callback).</li>
5725  <li><?php bugfix(79749); ?> (Converting FFI instances to bool fails).</li>
5726</ul></li>
5727<li>FPM:
5728<ul>
5729  <li>Add pm.status_listen option.</li>
5730</ul></li>
5731<li>Fileinfo:
5732<ul>
5733  <li>Upgrade to libmagic 5.39.</li>
5734</ul></li>
5735<li>GD:
5736<ul>
5737  <li>Added imagegetinterpolation().</li>
5738  <li><?php bugfix(55005); ?> (imagepolygon num_points requirement).</li>
5739  <li>Made the $num_points parameter of php_imagepolygon optional.</li>
5740  <li>Removed deprecated image2wbmp().</li>
5741  <li>Removed deprecated png2wbmp() and jpeg2wbmp().</li>
5742  <li>Replaced gd resources with objects.</li>
5743</ul></li>
5744<li>IMAP:
5745<ul>
5746  <li><?php bugfix(64076); ?> (imap_sort() does not return FALSE on failure).</li>
5747  <li><?php bugfix(76618); ?> (segfault on imap_reopen).</li>
5748  <li><?php bugfix(80213); ?> (imap_mail_compose() segfaults on certain $bodies).</li>
5749  <li><?php bugfix(80215); ?> (imap_mail_compose() may modify by-val parameters).</li>
5750  <li><?php bugfix(80216); ?> (imap_mail_compose() does not validate types/encodings).</li>
5751  <li><?php bugfix(80220); ?> (imap_mail_compose() may leak memory).</li>
5752  <li><?php bugfix(80223); ?> (imap_mail_compose() leaks envelope on malformed bodies).</li>
5753  <li><?php bugfix(80226); ?> (imap_sort() leaks sortpgm memory).</li>
5754  <li><?php bugfix(80239); ?> (imap_rfc822_write_address() leaks memory).</li>
5755  <li><?php bugfix(80242); ?> (imap_mail_compose() segfaults for multipart with rfc822).</li>
5756  <li>Fixed minor regression caused by fixing bug <?php bugl(80220); ?>.</li>
5757</ul></li>
5758<li>Iconv:
5759<ul>
5760  <li>Dropped support for iconv without proper errno setting.</li>
5761</ul></li>
5762<li>Intl:
5763<ul>
5764  <li>Removed deprecated INTL_IDNA_VARIANT_2003.</li>
5765</ul></li>
5766<li>JIT:
5767<ul>
5768  <li><?php bugfix(77857); ?> (Wrong result if executed with JIT).</li>
5769  <li><?php bugfix(79255); ?> (PHP cannot be compiled with enable JIT).</li>
5770  <li><?php bugfix(79582); ?> (Crash seen when opcache.jit=1235 and opcache.jit_debug=2).</li>
5771  <li><?php bugfix(79743); ?> (Fatal error when assigning to array property with JIT enabled).</li>
5772  <li><?php bugfix(79864); ?> (JIT segfault in Symfony OptionsResolver).</li>
5773  <li><?php bugfix(79888); ?> (Incorrect execution with JIT enabled).</li>
5774</ul></li>
5775<li>JSON:
5776<ul>
5777  <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>
5778</ul></li>
5779<li>LDAP:
5780<ul>
5781  <li>Fixed memory leaks.</li>
5782  <li>Removed deprecated ldap_sort.</li>
5783</ul></li>
5784<li>MBString:
5785<ul>
5786  <li><?php bugfix(76999); ?> (mb_regex_set_options() return current options).</li>
5787  <li>Removed the unused $is_hex parameter from mb_decode_numericentity().</li>
5788</ul></li>
5789<li>MySQLi:
5790<ul>
5791  <li><?php bugfix(76809); ?> (SSL settings aren't respected when persistent connections are used).</li>
5792</ul></li>
5793<li>Mysqlnd:
5794<ul>
5795  <li><?php bugfix(60594); ?> (mysqlnd exposes 160 lines of stats in phpinfo).</li>
5796</ul></li>
5797<li>OCI8:
5798<ul>
5799  <li>Deprecated old OCI8 function aliases.</li>
5800  <li>Modernized oci_register_taf_callback() callable argument parsing implementation.</li>
5801  <li>Removed obsolete no-op function oci_internal_debug().</li>
5802</ul></li>
5803<li>ODBC:
5804<ul>
5805  <li><?php bugfix(22986); ?> (odbc_connect() may reuse persistent connection).</li>
5806  <li><?php bugfix(44618); ?> (Fetching may rely on uninitialized data).</li>
5807</ul></li>
5808<li>Opcache:
5809<ul>
5810  <li><?php bugfix(76535); ?> (Opcache does not replay compile-time warnings).</li>
5811  <li><?php bugfix(78654); ?> (Incorrectly computed opcache checksum on files with non-ascii characters).</li>
5812  <li><?php bugfix(79665); ?> (ini_get() and opcache_get_configuration() inconsistency).</li>
5813  <li><?php bugfix(80030); ?> (Optimizer segfault with isset on static property with undef dynamic class name).</li>
5814  <li><?php bugfix(80175); ?> (PHP8 RC1 - JIT Buffer not working).</li>
5815  <li><?php bugfix(80184); ?> (Complex expression in while / if statements resolves to false incorrectly).</li>
5816  <li><?php bugfix(80255); ?> (Opcache bug (bad condition result) in 8.0.0rc1).</li>
5817  <li>Fixed run-time binding of preloaded dynamically declared function.</li>
5818</ul></li>
5819<li>OpenSSL:
5820<ul>
5821  <li>Added Cryptographic Message Syntax (CMS) support.</li>
5822</ul></li>
5823<li>PCRE:
5824<ul>
5825  <li>Don't ignore invalid escape sequences.</li>
5826  <li>Updated to PCRE2 10.35.</li>
5827</ul></li>
5828<li>PDO:
5829<ul>
5830  <li>Changed default PDO error mode to exceptions.</li>
5831  <li><?php bugfix(77849); ?> (Disable cloning of PDO handle/connection objects).</li>
5832</ul></li>
5833<li>PDO_Firebird:
5834<ul>
5835  <li><?php bugfix(64937); ?> (Firebird PDO preprocessing sql).</li>
5836</ul></li>
5837<li>PDO_OCI:
5838<ul>
5839  <li>Added support for setting and getting the oracle OCI 18c call timeout.</li>
5840</ul></li>
5841<li>PDO_PGSQL:
5842<ul>
5843  <li>Bumped required libpq version to 9.1.</li>
5844</ul></li>
5845<li>PGSQL:
5846<ul>
5847  <li>Bumped required libpq version to 9.1.</li>
5848</ul></li>
5849<li>Phpdbg:
5850<ul>
5851  <li><?php bugfix(76596); ?> (phpdbg support for display_errors=stderr).</li>
5852  <li><?php bugfix(76801); ?> (too many open files).</li>
5853  <li><?php bugfix(77800); ?> (phpdbg segfaults on listing some conditional breakpoints).</li>
5854  <li><?php bugfix(77805); ?> (phpdbg build fails when readline is shared).</li>
5855</ul></li>
5856<li>Reflection:
5857<ul>
5858  <li><?php bugfix(64592); ?> (ReflectionClass::getMethods() returns methods out of scope).</li>
5859  <li><?php bugfix(69180); ?> (Reflection does not honor trait conflict resolution / method aliasing).</li>
5860  <li><?php bugfix(74939); ?> (Nested traits' aliased methods are lowercased).</li>
5861  <li><?php bugfix(77325); ?> (ReflectionClassConstant::$class returns wrong class when extending).</li>
5862  <li><?php bugfix(78697); ?> (ReflectionClass::implementsInterface - inaccurate error message with traits).</li>
5863  <li><?php bugfix(80190); ?> (ReflectionMethod::getReturnType() does not handle static as part of union type).</li>
5864  <li><?php bugfix(80299); ?> (ReflectionFunction-&gt;invokeArgs confused in arguments).</li>
5865  <li><?php bugfix(80370); ?> (getAttributes segfault on dynamic properties).</li>
5866  <li><?php implemented(79628); ?> (Add $filter parameter for ReflectionClass::getConstants and ReflectionClass::getReflectionConstants) (carusogabriel)</li>
5867  <li>Implement ReflectionProperty::hasDefaultValue and Reflection::getDefaultValue (beberlei)</li>
5868</ul></li>
5869<li>SNMP:
5870<ul>
5871  <li><?php bugfix(70461); ?> (disable md5 code when it is not supported in net-snmp).</li>
5872</ul></li>
5873<li>SPL:
5874<ul>
5875  <li><?php bugfix(65006); ?> (spl_autoload_register fails with multiple callables using self, same method).</li>
5876  <li><?php bugfix(65387); ?> (Circular references in SPL iterators are not garbage collected).</li>
5877  <li><?php bugfix(71236); ?> (Second call of spl_autoload_register() does nothing if it has no arguments).</li>
5878  <li><?php bugfix(79987); ?> (Memory leak in SplFileInfo because of missing zend_restore_error_handling()).</li>
5879  <li>SplFixedArray is now IteratorAggregate rather than Iterator.</li>
5880</ul></li>
5881<li>SQLite3:
5882<ul>
5883  <li>Added SQLite3::setAuthorizer() and respective class constants.</li>
5884</ul></li>
5885<li>Session:
5886<ul>
5887  <li><?php bugfix(73529); ?> (session_decode() silently fails on wrong input).</li>
5888  <li><?php bugfix(78624); ?> (session_gc return value for user defined session handlers).</li>
5889</ul></li>
5890<li>Shmop:
5891<ul>
5892  <li>Converted shmop resources to objects.</li>
5893</ul></li>
5894<li>SimpleXML:
5895<ul>
5896  <li><?php bugfix(63575); ?> (Root elements are not properly cloned).</li>
5897  <li><?php bugfix(75245); ?> (Don't set content of elements with only whitespaces).</li>
5898</ul></li>
5899<li>Sodium:
5900<ul>
5901  <li><?php bugfix(77646); ?> (sign_detached() strings not terminated).</li>
5902</ul></li>
5903<li>Standard:
5904<ul>
5905  <li>Don't force rebuild of symbol table, when populating $http_response_header variable by the HTTP stream wrapper.</li>
5906  <li><?php bugfix(47983); ?> (mixed LF and CRLF line endings in mail()).</li>
5907  <li><?php bugfix(64060); ?> (lstat_stat_variation7.phpt fails on certain file systems).</li>
5908  <li><?php bugfix(75902); ?> (str_replace should warn when misused with nested arrays).</li>
5909  <li><?php bugfix(76859); ?> (stream_get_line skips data if used with data-generating filter).</li>
5910  <li><?php bugfix(77204); ?> (getimagesize(): Read error! should mention file path).</li>
5911  <li><?php bugfix(78385); ?> (parse_url() does not include 'query' when question mark is the last char).</li>
5912  <li><?php bugfix(79868); ?> (Sorting with array_unique gives unwanted result).</li>
5913  <li><?php bugfix(80256); ?> (file_get_contents strip first line with chunked encoding redirect).</li>
5914  <li><?php bugfix(80266); ?> (parse_url silently drops port number 0).</li>
5915  <li><?php bugfix(80290); ?> (Double free when ASSERT_CALLBACK is used with a dynamic message).</li>
5916  <li><?php implemented(78638); ?> (__PHP_Incomplete_Class should be final).</li>
5917  <li>Made quoting of cmd execution functions consistent.</li>
5918</ul></li>
5919<li>Tidy:
5920<ul>
5921  <li>Removed the unused $use_include_path parameter from tidy_repair_string().</li>
5922</ul></li>
5923<li>Tokenizer:
5924<ul>
5925  <li><?php bugfix(80328); ?> (PhpToken::getAll() confusing name).</li>
5926</ul></li>
5927<li>XML:
5928<ul>
5929  <li><?php bugfix(76874); ?> (xml_parser_free() should never leak memory).</li>
5930</ul></li>
5931<li>XMLWriter:
5932<ul>
5933  <li>Changed functions to accept/return XMLWriter objects instead of resources.</li>
5934  <li><?php implemented(79344); ?> (xmlwriter_write_attribute_ns: $prefix should be nullable).</li>
5935  <li>Removed return types from XMLWriter stubs.</li>
5936</ul></li>
5937<li>Zip:
5938<ul>
5939  <li>Add "flags" options to ZipArchive::addGlob and addPattern methods keeping previous behavior having FL_OVERWRITE by default.</li>
5940  <li>Add ZipArchive::EM_UNKNOWN and ZipArchive::EM_TRAD_PKWARE constants.</li>
5941  <li>Add ZipArchive::isCompressionMethodSupported() and ZipArchive::isEncryptionMethodSupported() method (libzip 1.7.0).</li>
5942  <li>Add ZipArchive::replaceFile() method.</li>
5943  <li>Add ZipArchive::setCancelCallback method (since libzip 1.6.0).</li>
5944  <li>Add ZipArchive::setMtimeName and ZipArchive::setMtimeIndex methods.</li>
5945  <li>Add ZipArchive::setProgressCallback method (since libzip 1.3.0).</li>
5946  <li>Add lastId property to ZipArchive.</li>
5947  <li>Add optional "flags" parameter to ZipArchive::addEmptyDir, addFile and addFromString methods.</li>
5948  <li><?php bugfix(50678); ?> (files extracted by ZipArchive class lost their original modified time).</li>
5949  <li><?php bugfix(72374); ?> (remove_path strips first char of filename).</li>
5950  <li><?php implemented(77960); ?> (add compression / encryption options for ZipArchive::addGlob and ZipArchive::addPattern).</li>
5951  <li>ZipArchive::status and ZipArchive::statusSys properties and ZipArchive::getStatusString() method stay valid after the archive is closed.</li>
5952</ul></li>
5953<li>Zlib:
5954<ul>
5955  <li><?php bugfix(71417); ?> (fread() does not report zlib.inflate errors).</li>
5956  <li><?php bugfix(78792); ?> (zlib.output_compression disabled by Content-Type: image/).</li>
5957</ul></li>
5958</ul>
5959<!-- }}} --></section>
5960
5961<?php
5962changelog_footer(8, $MINOR_VERSIONS);
5963