xref: /web-php/ChangeLog-8.php (revision 631c8ca9)
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.4', '8.3', '8.2', '8.1', '8.0'];
7changelog_header(8, $MINOR_VERSIONS);
8?>
9
10<a id="PHP_8_4"></a>
11
12<section class="version" id="8.4.1"><!-- {{{ 8.4.1 -->
13<h3>Version 8.4.1</h3>
14<b><?php release_date('21-Nov-2024'); ?></b>
15<ul><li>BcMath:
16<ul>
17  <li>[RFC] Add bcfloor, bcceil and bcround to BCMath.</li>
18  <li>Improve performance.</li>
19  <li>Adjust bcround()'s $mode parameter to only accept the RoundingMode enum.</li>
20  <li>Fixed LONG_MAX in BCMath ext.</li>
21  <li>Fixed bcdiv() div by one.</li>
22  <li>[RFC] Support object types in BCMath.</li>
23  <li>bcpow() performance improvement.</li>
24  <li>ext/bcmath: Check for scale overflow.</li>
25  <li>[RFC] ext/bcmath: Added bcdivmod.</li>
26  <li>Fix <?php githubissuel('php/php-src', 15968); ?> (Avoid converting objects to strings in operator calculations).</li>
27  <li>Fixed bug <?php githubissuel('php/php-src', 16265); ?> (Added early return case when result is 0) (Saki Takamachi).</li>
28  <li>Fixed bug <?php githubissuel('php/php-src', 16262); ?> (Fixed a bug where size_t underflows) (Saki Takamachi).</li>
29  <li>Fixed <?php githubissuel('php/php-src', 16236); ?> (Fixed a bug in BcMath\Number::pow() and bcpow() when raising negative powers of 0) (Saki Takamachi).</li>
30</ul></li>
31<li>Core:
32<ul>
33  <li>Added zend_call_stack_get implementation for NetBSD, DragonFlyBSD, Solaris and Haiku.</li>
34  <li>Enabled ifunc checks on FreeBSD from the 12.x releases.</li>
35  <li>Changed the type of PHP_DEBUG and PHP_ZTS constants to bool.</li>
36  <li>Fixed bug <?php githubissuel('php/php-src', 13142); ?> (Undefined variable name is shortened when contains \0).</li>
37  <li>Fixed bug <?php githubissuel('php/php-src', 13178); ?> (Iterator positions incorrect when converting packed array to hashed).</li>
38  <li>Fixed zend fiber build for solaris default mode (32 bits).</li>
39  <li>Fixed zend call stack size for macOs/arm64.</li>
40  <li>Added support for Zend Max Execution Timers on FreeBSD.</li>
41  <li>Ensure fiber stack is not backed by THP.</li>
42  <li>Implement <?php githubissuel('php/php-src', 13609); ?> (Dump wrapped object in WeakReference class).</li>
43  <li>Added sparc64 arch assembly support for zend fiber.</li>
44  <li>Fixed <?php githubissuel('php/php-src', 13581); ?> no space available for TLS on NetBSD.</li>
45  <li>Added fiber Sys-V loongarch64 support.</li>
46  <li>Adjusted closure names to include the parent function's name.</li>
47  <li>Improve randomness of uploaded file names and files created by tempnam().</li>
48  <li>Added gc and shutdown callbacks to zend_mm custom handlers.</li>
49  <li>Fixed bug <?php githubissuel('php/php-src', 14650); ?> (Compute the size of pages before allocating memory).</li>
50  <li>Fixed bug <?php githubissuel('php/php-src', 11928); ?> (The --enable-re2c-cgoto doesn't add the -g flag).</li>
51  <li>Added the #[\Deprecated] attribute.</li>
52  <li>Fixed <?php githubissuel('php/php-src', 11389); ?> (Allow suspending fibers in destructors).</li>
53  <li>Fixed bug <?php githubissuel('php/php-src', 14801); ?> (Fix build for armv7).</li>
54  <li>Implemented property hooks RFC.</li>
55  <li>Fix <?php githubissuel('php/php-src', 14978); ?> (The xmlreader extension phpize build).</li>
56  <li>Throw Error exception when encountering recursion during comparison, rather than fatal error.</li>
57  <li>Added missing cstddef include for C++ builds.</li>
58  <li>Updated build system scripts config.guess to 2024-07-27 and config.sub to 2024-05-27.</li>
59  <li>Fixed bug <?php githubissuel('php/php-src', 15240); ?> (Infinite recursion in trait hook).</li>
60  <li>Fixed bug <?php githubissuel('php/php-src', 15140); ?> (Missing variance check for abstract set with asymmetric type).</li>
61  <li>Fixed bug <?php githubissuel('php/php-src', 15181); ?> (Disabled output handler is flushed again).</li>
62  <li>Passing E_USER_ERROR to trigger_error() is now deprecated.</li>
63  <li>Fixed bug <?php githubissuel('php/php-src', 15292); ?> (Dynamic AVX detection is broken for MSVC).</li>
64  <li>Using "_" as a class name is now deprecated.</li>
65  <li>Exiting a namespace now clears seen symbols.</li>
66  <li>The exit (and die) language constructs now behave more like a function. They can be passed liked callables, are affected by the strict_types declare statement, and now perform the usual type coercions instead of casting any non-integer value to a string. As such, passing invalid types to exit/die may now result in a TypeError being thrown.</li>
67  <li>Fixed bug <?php githubissuel('php/php-src', 15438); ?> (Hooks on constructor promoted properties without visibility are ignored).</li>
68  <li>Fixed bug <?php githubissuel('php/php-src', 15419); ?> (Missing readonly+hook incompatibility check for readonly classes).</li>
69  <li>Fixed bug <?php githubissuel('php/php-src', 15187); ?> (Various hooked object iterator issues).</li>
70  <li>Fixed bug <?php githubissuel('php/php-src', 15456); ?> (Crash in get_class_vars() on virtual properties).</li>
71  <li>Fixed bug <?php githubissuel('php/php-src', 15501); ?> (Windows HAVE_&lt;header&gt;_H macros defined to 1 or undefined).</li>
72  <li>Implemented asymmetric visibility for properties.</li>
73  <li>Fixed bug <?php githubissuel('php/php-src', 15644); ?> (Asymmetric visibility doesn't work with hooks).</li>
74  <li>Implemented lazy objects RFC.</li>
75  <li>Fixed bug <?php githubissuel('php/php-src', 15686); ?> (Building shared iconv with external iconv library).</li>
76  <li>Fixed missing error when adding asymmetric visibility to unilateral virtual property.</li>
77  <li>Fixed bug <?php githubissuel('php/php-src', 15693); ?> (Unnecessary include in main.c bloats binary).</li>
78  <li>Fixed bug <?php githubissuel('php/php-src', 15731); ?> (AllowDynamicProperties validation should error on enums).</li>
79  <li>Fixed bug <?php githubissuel('php/php-src', 16040); ?> (Use-after-free of object released in hook).</li>
80  <li>Fixed bug <?php githubissuel('php/php-src', 16026); ?> (Reuse of dtor fiber during shutdown).</li>
81  <li>Fixed bug <?php githubissuel('php/php-src', 15999); ?> (zend_std_write_property() assertion failure with lazy objects).</li>
82  <li>Fixed bug <?php githubissuel('php/php-src', 15960); ?> (Foreach edge cases with lazy objects).</li>
83  <li>Fixed bug <?php githubissuel('php/php-src', 16185); ?> (Various hooked object iterator issues).</li>
84  <li>Fixed bug OSS-Fuzz #371445205 (Heap-use-after-free in attr_free).</li>
85  <li>Fixed missing error when adding asymmetric visibility to static properties.</li>
86  <li>Fixed bug OSS-Fuzz #71407 (Null-dereference WRITE in zend_lazy_object_clone).</li>
87  <li>Fixed bug <?php githubissuel('php/php-src', 16574); ?> (Incorrect error "undefined method" messages).</li>
88  <li>Fixed bug <?php githubissuel('php/php-src', 16577); ?> (EG(strtod_state).freelist leaks with opcache.preload).</li>
89  <li>Fixed bug <?php githubissuel('php/php-src', 16615); ?> (Assertion failure in zend_std_read_property).</li>
90  <li>Fixed bug <?php githubissuel('php/php-src', 16342); ?> (Added ReflectionProperty::isLazy()).</li>
91  <li>Fixed bug <?php githubissuel('php/php-src', 16725); ?> (Incorrect access check for non-hooked props in hooked object iterator).</li>
92</ul></li>
93<li>Curl:
94<ul>
95  <li>Deprecated the CURLOPT_BINARYTRANSFER constant.</li>
96  <li>Bumped required libcurl version to 7.61.0.</li>
97  <li>Added feature_list key to the curl_version() return value.</li>
98  <li>Added constants CURL_HTTP_VERSION_3 (libcurl 7.66) and CURL_HTTP_VERSION_3ONLY (libcurl 7.88) as options for CURLOPT_HTTP_VERSION (Ayesh Karunaratne)</li>
99  <li>Added CURLOPT_TCP_KEEPCNT to set the number of probes to send before dropping the connection.</li>
100  <li>Added CURLOPT_PREREQFUNCTION Curl option to set a custom callback after the connection is established, but before the request is performed.</li>
101  <li>Added CURLOPT_SERVER_RESPONSE_TIMEOUT, which was formerly known as CURLOPT_FTP_RESPONSE_TIMEOUT.</li>
102  <li>The CURLOPT_DNS_USE_GLOBAL_CACHE option is now silently ignored.</li>
103  <li>Added CURLOPT_DEBUGFUNCTION as a Curl option.</li>
104  <li>Fixed bug <?php githubissuel('php/php-src', 16359); ?> (crash with curl_setopt* CURLOPT_WRITEFUNCTION without null callback).</li>
105  <li>Fixed bug <?php githubissuel('php/php-src', 16723); ?> (CURLMOPT_PUSHFUNCTION issues).</li>
106</ul></li>
107<li>Date:
108<ul>
109  <li>Added DateTime[Immutable]::createFromTimestamp.</li>
110  <li>Added DateTime[Immutable]::[get|set]Microsecond.</li>
111  <li>Constants SUNFUNCS_RET_TIMESTAMP, SUNFUNCS_RET_STRING, and SUNFUNCS_RET_DOUBLE are now deprecated.</li>
112  <li>Fixed bug <?php githubissuel('php/php-src', 13773); ?> (DatePeriod not taking into account microseconds for end date).</li>
113</ul></li>
114<li>DBA:
115<ul>
116  <li>Passing null or false to dba_key_split() is deprecated.</li>
117</ul></li>
118<li>Debugging:
119<ul>
120  <li>Fixed bug <?php githubissuel('php/php-src', 15923); ?> (GDB: Python Exception &lt;class 'TypeError'&gt;: exceptions must derive from BaseException).</li>
121</ul></li>
122<li>DOM:
123<ul>
124  <li>Added DOMNode::compareDocumentPosition().</li>
125  <li>Implement #53655 (Improve speed of DOMNode::C14N() on large XML documents).</li>
126  <li>Fix cloning attribute with namespace disappearing namespace.</li>
127  <li>Implement DOM HTML5 parsing and serialization RFC.</li>
128  <li>Fix DOMElement-&gt;prefix with empty string creates bogus prefix.</li>
129  <li>Handle OOM more consistently.</li>
130  <li>Implemented "Improve callbacks in ext/dom and ext/xsl" RFC.</li>
131  <li>Added DOMXPath::quote() static method.</li>
132  <li>Implemented opt-in ext/dom spec compliance RFC.</li>
133  <li><?php bugfix(79701); ?> (getElementById does not correctly work with duplicate definitions).</li>
134  <li>Implemented "New ext-dom features in PHP 8.4" RFC.</li>
135  <li>Fixed <?php githubissuel('php/php-src', 14698); ?> (segfault on DOM node dereference).</li>
136  <li>Improve support for template elements.</li>
137  <li>Fix trampoline leak in xpath callables.</li>
138  <li>Throw instead of silently failing when creating a too long text node in (DOM)ParentNode and (DOM)ChildNode.</li>
139  <li>Fixed bug <?php githubissuel('php/php-src', 15192); ?> (Segmentation fault in dom extension (html5_serializer)).</li>
140  <li>Deprecated DOM_PHP_ERR constant.</li>
141  <li>Removed DOMImplementation::getFeature().</li>
142  <li>Fixed bug <?php githubissuel('php/php-src', 15331); ?> (Element::$substitutedNodeValue test failed).</li>
143  <li>Fixed bug <?php githubissuel('php/php-src', 15570); ?> (Segmentation fault (access null pointer) in ext/dom/html5_serializer.c).</li>
144  <li>Fixed bug <?php githubissuel('php/php-src', 13988); ?> (Storing DOMElement consume 4 times more memory in PHP 8.1 than in PHP 8.0).</li>
145  <li>Fix XML serializer errata: xmlns="" serialization should be allowed.</li>
146  <li>Fixed bug <?php githubissuel('php/php-src', 15910); ?> (Assertion failure in ext/dom/element.c).</li>
147  <li>Fix unsetting DOM properties.</li>
148  <li>Fixed bug <?php githubissuel('php/php-src', 16190); ?> (Using reflection to call Dom\Node::__construct causes assertion failure).</li>
149  <li>Fix edge-case in DOM parsing decoding.</li>
150  <li>Fixed bug <?php githubissuel('php/php-src', 16465); ?> (Heap buffer overflow in DOMNode-&gt;getElementByTagName).</li>
151  <li>Fixed bug <?php githubissuel('php/php-src', 16594); ?> (Assertion failure in DOM -&gt; before).</li>
152</ul></li>
153<li>Fileinfo:
154<ul>
155  <li>Update to libmagic 5.45.</li>
156  <li><?php bugfix(65106); ?> (PHP fails to compile ext/fileinfo).</li>
157</ul></li>
158<li>FPM:
159<ul>
160  <li>Implement <?php githubissuel('php/php-src', 12385); ?> (flush headers without body when calling flush()).</li>
161  <li>Added DragonFlyBSD system to the list which set FPM_BACKLOG_DEFAULT to SOMAXCONN.</li>
162  <li>/dev/poll events.mechanism for Solaris/Illumos setting had been retired.</li>
163  <li>Added memory peak to the scoreboard / status page.</li>
164</ul></li>
165<li>FTP:
166<ul>
167  <li>Removed the deprecated inet_ntoa call support.</li>
168  <li><?php bugfix(63937); ?> (Upload speed 10 times slower with PHP).</li>
169</ul></li>
170<li>GD:
171<ul>
172  <li>Fix parameter numbers and missing alpha check for imagecolorset().</li>
173  <li>imagepng/imagejpeg/imagewep/imageavif now throw an exception on invalid quality parameter.</li>
174  <li>Check overflow/underflow for imagescale/imagefilter.</li>
175  <li>Added gdImageClone to bundled libgd.</li>
176</ul></li>
177<li>Gettext:
178<ul>
179  <li>bind_textdomain_codeset, textdomain and d(*)gettext functions now throw an exception on empty domain.</li>
180</ul></li>
181<li>GMP:
182<ul>
183  <li>The GMP class is now final and cannot be extended anymore.</li>
184  <li>RFC: Change GMP bool cast behavior.</li>
185</ul></li>
186<li>Hash:
187<ul>
188  <li>Changed return type of hash_update() to true.</li>
189  <li>Added HashContext::__debugInfo().</li>
190  <li>Deprecated passing incorrect data types for options to ext/hash functions.</li>
191  <li>Added SSE2 and SHA-NI implementation of SHA-256.</li>
192  <li>Fix <?php githubissuel('php/php-src', 15384); ?> (Build fails on Alpine / Musl for amd64).</li>
193  <li>Fixed bug <?php githubissuel('php/php-src', 15742); ?> (php_hash_sha.h incompatible with C++).</li>
194</ul></li>
195<li>IMAP:
196<ul>
197  <li>Moved to PECL.</li>
198</ul></li>
199<li>Intl:
200<ul>
201  <li>Added IntlDateFormatter::PATTERN constant.</li>
202  <li>Fixed Numberformatter::__construct when the locale is invalid, now throws an exception.</li>
203  <li>Added NumberFormatter::ROUND_TOWARD_ZERO and ::ROUND_AWAY_FROM_ZERO as aliases for ::ROUND_DOWN and ::ROUND_UP.</li>
204  <li>Added NumberFormatter::ROUND_HALFODD.</li>
205  <li>Added PROPERTY_IDS_UNARY_OPERATOR, PROPERTY_ID_COMPAT_MATH_START and PROPERTY_ID_COMPAT_MATH_CONTINUE constants.</li>
206  <li>Added IntlDateFormatter::getIanaID/intltz_get_iana_id method/function.</li>
207  <li>Set to C++17 standard for icu 74 and onwards.</li>
208  <li>resourcebundle_get(), ResourceBundle::get(), and accessing offsets on a ResourceBundle object now throw: - TypeError for invalid offset types - ValueError for an empty string - ValueError if the integer index does not fit in a signed 32 bit integer</li>
209  <li>ResourceBundle::get() now has a tentative return type of: ResourceBundle|array|string|int|null</li>
210  <li>Added the new Grapheme function grapheme_str_split.</li>
211  <li>Added IntlDateFormatter::parseToCalendar.</li>
212  <li>Added SpoofChecker::setAllowedChars to set unicode chars ranges.</li>
213</ul></li>
214<li>LDAP:
215<ul>
216  <li>Added LDAP_OPT_X_TLS_PROTOCOL_MAX/LDAP_OPT_X_TLS_PROTOCOL_TLS1_3 constants.</li>
217</ul></li>
218<li>LibXML:
219<ul>
220  <li>Added LIBXML_RECOVER constant.</li>
221  <li>libxml_set_streams_context() now throws immediately on an invalid context instead of at the use-site.</li>
222  <li>Added LIBXML_NO_XXE constant.</li>
223</ul></li>
224<li>MBString:
225<ul>
226  <li>Added mb_trim, mb_ltrim and mb_rtrim.</li>
227  <li>Added mb_ucfirst and mb_lcfirst.</li>
228  <li>Updated Unicode data tables to Unicode 15.1.</li>
229  <li>Fixed bug <?php githubissuel('php/php-src', 15824); ?> (mb_detect_encoding(): Argument $encodings contains invalid encoding "UTF8").</li>
230  <li>Updated Unicode data tables to Unicode 16.0.</li>
231</ul></li>
232<li>Mysqli:
233<ul>
234  <li>The mysqli_ping() function and mysqli::ping() method are now deprecated, as the reconnect feature was removed in PHP 8.2.</li>
235  <li>The mysqli_kill() function and mysqli::kill() method are now deprecated. If this functionality is needed a SQL "KILL" command can be used instead.</li>
236  <li>The mysqli_refresh() function and mysqli::refresh() method are now deprecated. If this functionality is needed a SQL "FLUSH" command can be used instead.</li>
237  <li>Passing explicitly the $mode parameter to mysqli_store_result() has been deprecated. As the MYSQLI_STORE_RESULT_COPY_DATA constant was only used in conjunction with this function it has also been deprecated.</li>
238</ul></li>
239<li>MySQLnd:
240<ul>
241  <li>Fixed bug <?php githubissuel('php/php-src', 13440); ?> (PDO quote bottleneck).</li>
242  <li>Fixed bug <?php githubissuel('php/php-src', 10599); ?> (Apache crash on Windows when using a self-referencing anonymous function inside a class with an active mysqli connection).</li>
243</ul></li>
244<li>Opcache:
245<ul>
246  <li>Added large shared segments support for FreeBSD.</li>
247  <li>If JIT is enabled, PHP will now exit with a fatal error on startup in case of JIT startup initialization issues.</li>
248  <li>Increased the maximum value of opcache.interned_strings_buffer to 32767 on 64bit archs.</li>
249  <li>Fixed bug <?php githubissuel('php/php-src', 13834); ?> (Applying non-zero offset 36 to null pointer in zend_jit.c).</li>
250  <li>Fixed bug <?php githubissuel('php/php-src', 14361); ?> (Deep recursion in zend_cfg.c causes segfault).</li>
251  <li>Fixed bug <?php githubissuel('php/php-src', 14873); ?> (PHP 8.4 min function fails on typed integer).</li>
252  <li>Fixed bug <?php githubissuel('php/php-src', 15490); ?> (Building of callgraph modifies preloaded symbols).</li>
253  <li>Fixed bug <?php githubissuel('php/php-src', 15178); ?> (Assertion in tracing JIT on hooks).</li>
254  <li>Fixed bug <?php githubissuel('php/php-src', 15657); ?> (Segmentation fault in dasm_x86.h).</li>
255  <li>Added opcache_jit_blacklist() function.</li>
256  <li>Fixed bug <?php githubissuel('php/php-src', 16009); ?> (Segmentation fault with frameless functions and undefined CVs).</li>
257  <li>Fixed bug <?php githubissuel('php/php-src', 16186); ?> (Assertion failure in Zend/zend_operators.c).</li>
258  <li>Fixed bug <?php githubissuel('php/php-src', 16572); ?> (Incorrect result with reflection in low-trigger JIT).</li>
259  <li>Fixed <?php githubissuel('php/php-src', 16839); ?> (Error on building Opcache JIT for Windows ARM64).</li>
260</ul></li>
261<li>OpenSSL:
262<ul>
263  <li><?php bugfix(80269); ?> (OpenSSL sets Subject wrong with extraattribs parameter).</li>
264  <li>Implement request #48520 (openssl_csr_new - allow multiple values in DN).</li>
265  <li>Introduced new serial_hex parameter to openssl_csr_sign.</li>
266  <li>Added X509_PURPOSE_OCSP_HELPER and X509_PURPOSE_TIMESTAMP_SIGN constants.</li>
267  <li>Bumped minimum required OpenSSL version to 1.1.1.</li>
268  <li>Added compile-time option --with-openssl-legacy-provider to enable legacy provider.</li>
269  <li>Added support for Curve25519 + Curve448 based keys.</li>
270  <li>Fixed bug <?php githubissuel('php/php-src', 13343); ?> (openssl_x509_parse should not allow omitted seconds in UTCTimes).</li>
271  <li>Bumped minimum required OpenSSL version to 1.1.0.</li>
272  <li>Implement <?php githubissuel('php/php-src', 13514); ?> PASSWORD_ARGON2 from OpenSSL 3.2.</li>
273</ul></li>
274<li>Output:
275<ul>
276  <li>Clear output handler status flags during handler initialization.</li>
277  <li>Fixed bug with url_rewriter.hosts not used by output_add_rewrite_var().</li>
278</ul></li>
279<li>PCNTL:
280<ul>
281  <li>Added pcntl_setns for Linux.</li>
282  <li>Added pcntl_getcpuaffinity/pcntl_setcpuaffinity.</li>
283  <li>Updated pcntl_get_signal_handler signal id upper limit to be more in line with platforms limits.</li>
284  <li>Added pcntl_getcpu for Linux/FreeBSD/Solaris/Illumos.</li>
285  <li>Added pcntl_getqos_class/pcntl_setqos_class for macOs.</li>
286  <li>Added SIGCKPT/SIGCKPTEXIT constants for DragonFlyBSD.</li>
287  <li>Added FreeBSD's SIGTRAP handling to pcntl_siginfo_to_zval.</li>
288  <li>Added POSIX pcntl_waitid.</li>
289  <li>Fixed bug <?php githubissuel('php/php-src', 16769); ?>: (pcntl_sigwaitinfo aborts on signal value as reference).</li>
290</ul></li>
291<li>PCRE:
292<ul>
293  <li>Upgrade bundled pcre2lib to version 10.43.</li>
294  <li>Add "/r" modifier.</li>
295  <li>Upgrade bundled pcre2lib to version 10.44.</li>
296  <li>Fixed <?php githubissuel('php/php-src', 16189); ?> (underflow on offset argument).</li>
297  <li>Fix UAF issues with PCRE after request shutdown.</li>
298</ul></li>
299<li>PDO:
300<ul>
301  <li>Fixed setAttribute and getAttribute.</li>
302  <li>Implemented PDO driver-specific subclasses RFC.</li>
303  <li>Added support for PDO driver-specific SQL parsers.</li>
304  <li>Fixed bug <?php githubissuel('php/php-src', 14792); ?> (Compilation failure on pdo_* extensions).</li>
305  <li>mysqlnd: support ER_CLIENT_INTERACTION_TIMEOUT.</li>
306  <li>The internal header php_pdo_int.h is no longer installed; it is not supposed to be used by PDO drivers.</li>
307  <li>Fixed bug <?php githubissuel('php/php-src', 16167); ?> (Prevent mixing PDO sub-classes with different DSN).</li>
308  <li>Fixed bug <?php githubissuel('php/php-src', 16314); ?> ("Pdo\Mysql object is uninitialized" when opening a persistent connection).</li>
309</ul></li>
310<li>PDO_DBLIB:
311<ul>
312  <li>Fixed setAttribute and getAttribute.</li>
313  <li>Added class Pdo\DbLib.</li>
314</ul></li>
315<li>PDO_Firebird:
316<ul>
317  <li>Fixed setAttribute and getAttribute.</li>
318  <li>Feature: Add transaction isolation level and mode settings to pdo_firebird.</li>
319  <li>Added class Pdo\Firebird.</li>
320  <li>Added Pdo\Firebird::ATTR_API_VERSION.</li>
321  <li>Added getApiVersion() and removed from getAttribute().</li>
322  <li>Supported Firebird 4.0 datatypes.</li>
323  <li>Support proper formatting of time zone types.</li>
324  <li>Fixed <?php githubissuel('php/php-src', 15604); ?> (Always make input parameters nullable).</li>
325</ul></li>
326<li>PDO_MYSQL:
327<ul>
328  <li>Fixed setAttribute and getAttribute.</li>
329  <li>Added class Pdo\Mysql.</li>
330  <li>Added custom SQL parser.</li>
331  <li>Fixed <?php githubissuel('php/php-src', 15949); ?> (PDO_MySQL not properly quoting PDO_PARAM_LOB binary data).</li>
332</ul></li>
333<li>PDO_ODBC:
334<ul>
335  <li>Added class Pdo\Odbc.</li>
336</ul></li>
337<li>PDO_PGSQL:
338<ul>
339  <li>Fixed <?php githubissuel('php/php-src', 12423); ?>, DSN credentials being prioritized over the user/password PDO constructor arguments.</li>
340  <li>Fixed native float support with pdo_pgsql query results.</li>
341  <li>Added class Pdo\Pgsql.</li>
342  <li>Retrieve the memory usage of the query result resource.</li>
343  <li>Added Pdo\Pgsql::setNoticeCallBack method to receive DB notices.</li>
344  <li>Added custom SQL parser.</li>
345  <li>Fixed <?php githubissuel('php/php-src', 15986); ?> (Double-free due to Pdo\Pgsql::setNoticeCallback()).</li>
346  <li>Fixed <?php githubissuel('php/php-src', 12940); ?> (Using PQclosePrepared when available instead of the DEALLOCATE command to free statements resources).</li>
347  <li>Remove PGSQL_ATTR_RESULT_MEMORY_SIZE constant as it is provided by the new PDO Subclass as Pdo\Pgsql::ATTR_RESULT_MEMORY_SIZE.</li>
348</ul></li>
349<li>PDO_SQLITE:
350<ul>
351  <li>Added class Pdo\Sqlite.</li>
352  <li><?php bugfix(81227); ?> (PDO::inTransaction reports false when in transaction).</li>
353  <li>Added custom SQL parser.</li>
354</ul></li>
355<li>PHPDBG:
356<ul>
357  <li>array out of bounds, stack overflow handled for segfault handler on windows.</li>
358  <li>Fixed bug <?php githubissuel('php/php-src', 16041); ?> (Support stack limit in phpdbg).</li>
359</ul></li>
360<li>PGSQL:
361<ul>
362  <li>Added the possibility to have no conditions for pg_select.</li>
363  <li>Persistent connections support the PGSQL_CONNECT_FORCE_RENEW flag.</li>
364  <li>Added pg_result_memory_size to get the query result memory usage.</li>
365  <li>Added pg_change_password to alter an user's password.</li>
366  <li>Added pg_put_copy_data/pg_put_copy_end to send COPY commands and signal the end of the COPY.</li>
367  <li>Added pg_socket_poll to poll on the connection.</li>
368  <li>Added pg_jit to get infos on server JIT support.</li>
369  <li>Added pg_set_chunked_rows_size to fetch results per chunk.</li>
370  <li>pg_convert/pg_insert/pg_update/pg_delete ; regexes are now cached.</li>
371</ul></li>
372<li>Phar:
373<ul>
374  <li>Fixed bug <?php githubissuel('php/php-src', 12532); ?> (PharData created from zip has incorrect timestamp).</li>
375</ul></li>
376<li>POSIX:
377<ul>
378  <li>Added POSIX_SC_CHILD_MAX and POSIX_SC_CLK_TCK constants.</li>
379  <li>Updated posix_isatty to set the error number on file descriptors.</li>
380</ul></li>
381<li>PSpell:
382<ul>
383  <li>Moved to PECL.</li>
384</ul></li>
385<li>Random:
386<ul>
387  <li>Fixed bug <?php githubissuel('php/php-src', 15094); ?> (php_random_default_engine() is not C++ conforming).</li>
388  <li>lcg_value() is now deprecated.</li>
389</ul></li>
390<li>Readline:
391<ul>
392  <li>Fixed readline_info, rl_line_buffer_length/rl_len globals on update.</li>
393  <li><?php bugfix(51558); ?> (Shared readline build fails).</li>
394  <li>Fixed UAF with readline_info().</li>
395</ul></li>
396<li>Reflection:
397<ul>
398  <li>Implement <?php githubissuel('php/php-src', 12908); ?> (Show attribute name/class in ReflectionAttribute dump).</li>
399  <li>Make ReflectionGenerator::getFunction() legal after generator termination.</li>
400  <li>Added ReflectionGenerator::isClosed().</li>
401  <li>Fixed bug <?php githubissuel('php/php-src', 15718); ?> (Segfault on ReflectionProperty::get{Hook,Hooks}() on dynamic properties).</li>
402  <li>Fixed bug <?php githubissuel('php/php-src', 15694); ?> (ReflectionProperty::isInitialized() is incorrect for hooked properties).</li>
403  <li>Add missing ReflectionProperty::hasHook[s]() methods.</li>
404  <li>Add missing ReflectionProperty::isFinal() method.</li>
405  <li>Fixed bug <?php githubissuel('php/php-src', 16122); ?> (The return value of ReflectionFunction::getNamespaceName() and ReflectionFunction::inNamespace() for closures is incorrect).</li>
406  <li>Fixed bug <?php githubissuel('php/php-src', 16162); ?> (No ReflectionProperty::IS_VIRTUAL) (DanielEScherzer)</li>
407  <li>Fixed the name of the second parameter of ReflectionClass::resetAsLazyGhost().</li>
408</ul></li>
409<li>Session:
410<ul>
411  <li>INI settings session.sid_length and session.sid_bits_per_character are now deprecated.</li>
412  <li>Emit warnings for non-positive values of session.gc_divisor and negative values of session.gc_probability.</li>
413  <li>Fixed bug <?php githubissuel('php/php-src', 16590); ?> (UAF in session_encode()).</li>
414</ul></li>
415<li>SimpleXML:
416<ul>
417  <li>Fix signature of simplexml_import_dom().</li>
418</ul></li>
419<li>SNMP:
420<ul>
421  <li>Removed the deprecated inet_ntoa call support.</li>
422</ul></li>
423<li>SOAP:
424<ul>
425  <li>Add support for clark notation for namespaces in class map.</li>
426  <li>Mitigate #51561 (SoapServer with a extented class and using sessions, lost the setPersistence()).</li>
427  <li><?php bugfix(49278); ?> (SoapClient::__getLastResponseHeaders returns NULL if wsdl operation !has output).</li>
428  <li><?php bugfix(44383); ?> (PHP DateTime not converted to xsd:datetime).</li>
429  <li>Fixed bug <?php githubissuel('php/php-src', 11941); ?> (soap with session persistence will silently fail when "session" built as a shared object).</li>
430  <li>Passing an int to SoapServer::addFunction() is now deprecated. If all PHP functions need to be provided flatten the array returned by get_defined_functions().</li>
431  <li>The SOAP_FUNCTIONS_ALL constant is now deprecated.</li>
432  <li><?php bugfix(61525); ?> (SOAP functions require at least one space after HTTP header colon).</li>
433  <li>Implement request #47317 (SoapServer::__getLastResponse()).</li>
434</ul></li>
435<li>Sockets:
436<ul>
437  <li>Removed the deprecated inet_ntoa call support.</li>
438  <li>Added the SO_EXECLUSIVEADDRUSE windows constant.</li>
439  <li>Added the SOCK_CONN_DGRAM/SOCK_DCCP netbsd constants.</li>
440  <li>Added multicast group support for ipv4 on FreeBSD.</li>
441  <li>Added the TCP_SYNCNT constant for Linux to set number of attempts to send SYN packets from the client.</li>
442  <li>Added the SO_EXCLBIND constant for exclusive socket binding on illumos/solaris.</li>
443  <li>Updated the socket_create_listen backlog argument default value to SOMAXCONN.</li>
444  <li>Added the SO_NOSIGPIPE constant to control the generation of SIGPIPE for macOs and FreeBSD.</li>
445  <li>Added SO_LINGER_SEC for macOs, true equivalent of SO_LINGER in other platforms.</li>
446  <li>Add close-on-exec on socket created with socket_accept on unixes.</li>
447  <li>Added IP_PORTRANGE* constants for BSD systems to control ephemeral port ranges.</li>
448  <li>Added SOCK_NONBLOCK/SOCK_CLOEXEC constants for socket_create and socket_create_pair to apply O_NONBLOCK/O_CLOEXEC flags to the newly created sockets.</li>
449  <li>Added SO_BINDTOIFINDEX to bind a socket to an interface index.</li>
450</ul></li>
451<li>Sodium:
452<ul>
453  <li>Add support for AEGIS-128L and AEGIS-256.</li>
454  <li>Enable AES-GCM on aarch64 with the ARM crypto extensions.</li>
455</ul></li>
456<li>SPL:
457<ul>
458  <li>Implement SeekableIterator for SplObjectStorage.</li>
459  <li>The SplFixedArray::__wakeup() method has been deprecated as it implements __serialize() and __unserialize() which need to be overwritten instead.</li>
460  <li>Passing a non-empty string for the $escape parameter of: - SplFileObject::setCsvControl() - SplFileObject::fputcsv() - SplFileObject::fgetcsv() is now deprecated.</li>
461</ul></li>
462<li>Standard:
463<ul>
464  <li>Implement <?php githubissuel('php/php-src', 12188); ?> (Indication for the int size in phpinfo()).</li>
465  <li>Partly fix <?php githubissuel('php/php-src', 12143); ?> (Incorrect round() result for 0.49999999999999994).</li>
466  <li>Fix <?php githubissuel('php/php-src', 12252); ?> (round(): Validate the rounding mode).</li>
467  <li>Increase the default BCrypt cost to 12.</li>
468  <li>Fixed bug <?php githubissuel('php/php-src', 12592); ?> (strcspn() odd behaviour with NUL bytes and empty mask).</li>
469  <li>Removed the deprecated inet_ntoa call support.</li>
470  <li>Cast large floats that are within int range to int in number_format so the precision is not lost.</li>
471  <li>Add support for 4 new rounding modes to the round() function.</li>
472  <li>debug_zval_dump() now indicates whether an array is packed.</li>
473  <li>Fix <?php githubissuel('php/php-src', 12143); ?> (Optimize round).</li>
474  <li>Changed return type of long2ip to string from string|false.</li>
475  <li>Fix <?php githubissuel('php/php-src', 12143); ?> (Extend the maximum precision round can handle by one digit).</li>
476  <li>Added the http_get_last_response_headers() and http_clear_last_response_headers() that allows retrieving the same content as the magic $http_response_header variable.</li>
477  <li>Add php_base64_encode_ex() API.</li>
478  <li>Implemented "Raising zero to the power of negative number" RFC.</li>
479  <li>Added array_find(), array_find_key(), array_all(), and array_any().</li>
480  <li>Change highlight_string() and print_r() return type to string|true.</li>
481  <li>Fix references in request_parse_body() options array.</li>
482  <li>Add RoundingMode enum.</li>
483  <li>Unserializing the uppercase 'S' tag is now deprecated.</li>
484  <li>Enables crc32 auxiliary detection on OpenBSD.</li>
485  <li>Passing a non-empty string for the $escape parameter of: - fputcsv() - fgetcsv() - str_getcsv() is now deprecated.</li>
486  <li>The str_getcsv() function now throws ValueErrors when the $separator and $enclosure arguments are not one byte long, or if the $escape is not one byte long or the empty string. This aligns the behaviour to be identical to that of fputcsv() and fgetcsv().</li>
487  <li>php_uname() now throws ValueErrors on invalid inputs.</li>
488  <li>The "allowed_classes" option for unserialize() now throws TypeErrors and ValueErrors	if it is not an	array of class names.</li>
489  <li>Implemented <?php githubissuel('php/php-src', 15685); ?> (improve proc_open error reporting on Windows).</li>
490  <li>Add support for backed enums in http_build_query().</li>
491  <li>Fixed bug <?php githubissuel('php/php-src', 15982); ?> (Assertion failure with array_find when references are involved).</li>
492  <li>Fixed parameter names of fpow() to be identical to pow().</li>
493</ul></li>
494<li>Streams:
495<ul>
496  <li>Implemented <?php githubissuel('php/php-src', 15155); ?> (Stream context is lost when custom stream wrapper is being filtered).</li>
497</ul></li>
498<li>Tidy:
499<ul>
500  <li>Failures in the constructor now throw exceptions rather than emitting warnings and having a broken object.</li>
501  <li>Add tidyNode::getNextSibling() and tidyNode::getPreviousSibling().</li>
502</ul></li>
503<li>Windows:
504<ul>
505  <li>Update the icon of the Windows executables, e.g. php.exe.</li>
506  <li>Fixed bug <?php githubissuel('php/php-src', 16199); ?> (GREP_HEADER() is broken).</li>
507</ul></li>
508<li>XML:
509<ul>
510  <li>Added XML_OPTION_PARSE_HUGE parser option.</li>
511  <li><?php bugfix(81481); ?> (xml_get_current_byte_index limited to 32-bit numbers on 64-bit builds).</li>
512  <li>The xml_set_object() function has been deprecated.</li>
513  <li>Passing non-callable strings to the xml_set_*_handler() functions is now deprecated.</li>
514</ul></li>
515<li>XMLReader:
516<ul>
517  <li>Declares class constant types.</li>
518  <li>Add XMLReader::fromStream(), XMLReader::fromUri(), XMLReader::fromString().</li>
519  <li>Fixed bug <?php githubissuel('php/php-src', 15123); ?> (var_dump doesn't actually work on XMLReader).</li>
520</ul></li>
521<li>XMLWriter:
522<ul>
523  <li>Add XMLWriter::toStream(), XMLWriter::toUri(), XMLWriter::toMemory().</li>
524</ul></li>
525<li>XSL:
526<ul>
527  <li>Implement request #64137 (XSLTProcessor::setParameter() should allow both quotes to be used).</li>
528  <li>Implemented "Improve callbacks in ext/dom and ext/xsl" RFC.</li>
529  <li>Added XSLTProcessor::$maxTemplateDepth and XSLTProcessor::$maxTemplateVars.</li>
530  <li>Fix trampoline leak in xpath callables.</li>
531</ul></li>
532<li>Zip:
533<ul>
534  <li>Added ZipArchive::ER_TRUNCATED_ZIP added in libzip 1.11.</li>
535</ul></li>
536</ul>
537<!-- }}} --></section>
538
539
540
541<a id="PHP_8_3"></a>
542
543<section class="version" id="8.3.14"><!-- {{{ 8.3.14 -->
544<h3>Version 8.3.14</h3>
545<b><?php release_date('21-Nov-2024'); ?></b>
546<ul><li>CLI:
547<ul>
548  <li>Fixed bug <?php githubissuel('php/php-src', 16373); ?> (Shebang is not skipped for router script in cli-server started through shebang).</li>
549  <li>Fixed bug <?php githubsecurityl('php/php-src', '4w77-75f9-2c8w'); ?> (Heap-Use-After-Free in sapi_read_post_data Processing in CLI SAPI Interface).</li>
550</ul></li>
551<li>COM:
552<ul>
553  <li>Fixed out of bound writes to SafeArray data.</li>
554</ul></li>
555<li>Core:
556<ul>
557  <li>Fixed bug <?php githubissuel('php/php-src', 16168); ?> (php 8.1 and earlier crash immediately when compiled with Xcode 16 clang on macOS 15).</li>
558  <li>Fixed bug <?php githubissuel('php/php-src', 16371); ?> (Assertion failure in Zend/zend_weakrefs.c:646).</li>
559  <li>Fixed bug <?php githubissuel('php/php-src', 16515); ?> (Incorrect propagation of ZEND_ACC_RETURN_REFERENCE for call trampoline).</li>
560  <li>Fixed bug <?php githubissuel('php/php-src', 16509); ?> (Incorrect line number in function redeclaration error).</li>
561  <li>Fixed bug <?php githubissuel('php/php-src', 16508); ?> (Incorrect line number in inheritance errors of delayed early bound classes).</li>
562  <li>Fixed bug <?php githubissuel('php/php-src', 16648); ?> (Use-after-free during array sorting).</li>
563</ul></li>
564<li>Curl:
565<ul>
566  <li>Fixed bug <?php githubissuel('php/php-src', 16302); ?> (CurlMultiHandle holds a reference to CurlHandle if curl_multi_add_handle fails).</li>
567</ul></li>
568<li>Date:
569<ul>
570  <li>Fixed bug <?php githubissuel('php/php-src', 16454); ?> (Unhandled INF in date_sunset() with tiny $utcOffset).</li>
571  <li>Fixed bug <?php githubissuel('php/php-src', 14732); ?> (date_sun_info() fails for non-finite values).</li>
572</ul></li>
573<li>DBA:
574<ul>
575  <li>Fixed bug <?php githubissuel('php/php-src', 16390); ?> (dba_open() can segfault for "pathless" streams).</li>
576</ul></li>
577<li>DOM:
578<ul>
579  <li>Fixed bug <?php githubissuel('php/php-src', 16316); ?> (DOMXPath breaks when not initialized properly).</li>
580  <li>Add missing hierarchy checks to replaceChild.</li>
581  <li>Fixed bug <?php githubissuel('php/php-src', 16336); ?> (Attribute intern document mismanagement).</li>
582  <li>Fixed bug <?php githubissuel('php/php-src', 16338); ?> (Null-dereference in ext/dom/node.c).</li>
583  <li>Fixed bug <?php githubissuel('php/php-src', 16473); ?> (dom_import_simplexml stub is wrong).</li>
584  <li>Fixed bug <?php githubissuel('php/php-src', 16533); ?> (Segfault when adding attribute to parent that is not an element).</li>
585  <li>Fixed bug <?php githubissuel('php/php-src', 16535); ?> (UAF when using document as a child).</li>
586  <li>Fixed bug <?php githubissuel('php/php-src', 16593); ?> (Assertion failure in DOM-&gt;replaceChild).</li>
587  <li>Fixed bug <?php githubissuel('php/php-src', 16595); ?> (Another UAF in DOM -&gt; cloneNode).</li>
588</ul></li>
589<li>EXIF:
590<ul>
591  <li>Fixed bug <?php githubissuel('php/php-src', 16409); ?> (Segfault in exif_thumbnail when not dealing with a real file).</li>
592</ul></li>
593<li>FFI:
594<ul>
595  <li>Fixed bug <?php githubissuel('php/php-src', 16397); ?> (Segmentation fault when comparing FFI object).</li>
596</ul></li>
597<li>Filter:
598<ul>
599  <li>Fixed bug <?php githubissuel('php/php-src', 16523); ?> (FILTER_FLAG_HOSTNAME accepts ending hyphen).</li>
600</ul></li>
601<li>FPM:
602<ul>
603  <li>Fixed bug <?php githubissuel('php/php-src', 16628); ?> (FPM logs are getting corrupted with this log statement).</li>
604</ul></li>
605<li>GD:
606<ul>
607  <li>Fixed bug <?php githubissuel('php/php-src', 16334); ?> (imageaffine overflow on matrix elements).</li>
608  <li>Fixed bug <?php githubissuel('php/php-src', 16427); ?> (Unchecked libavif return values).</li>
609  <li>Fixed bug <?php githubissuel('php/php-src', 16559); ?> (UBSan abort in ext/gd/libgd/gd_interpolation.c:1007).</li>
610</ul></li>
611<li>GMP:
612<ul>
613  <li>Fixed floating point exception bug with gmp_pow when using large exposant values. (David Carlier).</li>
614  <li>Fixed bug <?php githubissuel('php/php-src', 16411); ?> (gmp_export() can cause overflow).</li>
615  <li>Fixed bug <?php githubissuel('php/php-src', 16501); ?> (gmp_random_bits() can cause overflow).</li>
616  <li>Fixed gmp_pow() overflow bug with large base/exponents.</li>
617  <li>Fixed segfaults and other issues related to operator overloading with GMP objects.</li>
618</ul></li>
619<li>LDAP:
620<ul>
621  <li>Fixed bug <?php githubsecurityl('php/php-src', 'g665-fm4p-vhff'); ?> (OOB access in ldap_escape). (CVE-2024-8932)</li>
622</ul></li>
623<li>MBstring:
624<ul>
625  <li>Fixed bug <?php githubissuel('php/php-src', 16361); ?> (mb_substr overflow on start/length arguments).</li>
626</ul></li>
627<li>MySQLnd:
628<ul>
629  <li>Fixed bug <?php githubsecurityl('php/php-src', 'h35g-vwh6-m678'); ?> (Leak partial content of the heap through heap buffer over-read). (CVE-2024-8929)</li>
630</ul></li>
631<li>Opcache:
632<ul>
633  <li>Fixed bug <?php githubissuel('php/php-src', 16408); ?> (Array to string conversion warning emitted in optimizer).</li>
634</ul></li>
635<li>OpenSSL:
636<ul>
637  <li>Fixed bug <?php githubissuel('php/php-src', 16357); ?> (openssl may modify member types of certificate arrays).</li>
638  <li>Fixed bug <?php githubissuel('php/php-src', 16433); ?> (Large values for openssl_csr_sign() $days overflow).</li>
639  <li>Fix various memory leaks on error conditions in openssl_x509_parse().</li>
640</ul></li>
641<li>PDO DBLIB:
642<ul>
643  <li>Fixed bug <?php githubsecurityl('php/php-src', '5hqh-c84r-qjcv'); ?> (Integer overflow in the dblib quoter causing OOB writes). (CVE-2024-11236)</li>
644</ul></li>
645<li>PDO Firebird:
646<ul>
647  <li>Fixed bug <?php githubsecurityl('php/php-src', '5hqh-c84r-qjcv'); ?> (Integer overflow in the firebird quoter causing OOB writes). (CVE-2024-11236)</li>
648</ul></li>
649<li>PDO ODBC:
650<ul>
651  <li>Fixed bug <?php githubissuel('php/php-src', 16450); ?> (PDO_ODBC can inject garbage into field values).</li>
652</ul></li>
653<li>Phar:
654<ul>
655  <li>Fixed bug <?php githubissuel('php/php-src', 16406); ?> (Assertion failure in ext/phar/phar.c:2808).</li>
656</ul></li>
657<li>PHPDBG:
658<ul>
659  <li>Fixed bug <?php githubissuel('php/php-src', 16174); ?> (Empty string is an invalid expression for ev).</li>
660</ul></li>
661<li>Reflection:
662<ul>
663  <li>Fixed bug <?php githubissuel('php/php-src', 16601); ?> (Memory leak in Reflection constructors).</li>
664</ul></li>
665<li>Session:
666<ul>
667  <li>Fixed bug <?php githubissuel('php/php-src', 16385); ?> (Unexpected null returned by session_set_cookie_params).</li>
668  <li>Fixed bug <?php githubissuel('php/php-src', 16290); ?> (overflow on cookie_lifetime ini value).</li>
669</ul></li>
670<li>SOAP:
671<ul>
672  <li>Fixed bug <?php githubissuel('php/php-src', 16318); ?> (Recursive array segfaults soap encoding).</li>
673  <li>Fixed bug <?php githubissuel('php/php-src', 16429); ?> (Segmentation fault access null pointer in SoapClient).</li>
674</ul></li>
675<li>Sockets:
676<ul>
677  <li>Fixed bug with overflow socket_recvfrom $length argument.</li>
678</ul></li>
679<li>SPL:
680<ul>
681  <li>Fixed bug <?php githubissuel('php/php-src', 16337); ?> (Use-after-free in SplHeap).</li>
682  <li>Fixed bug <?php githubissuel('php/php-src', 16464); ?> (Use-after-free in SplDoublyLinkedList::offsetSet()).</li>
683  <li>Fixed bug <?php githubissuel('php/php-src', 16479); ?> (Use-after-free in SplObjectStorage::setInfo()).</li>
684  <li>Fixed bug <?php githubissuel('php/php-src', 16478); ?> (Use-after-free in SplFixedArray::unset()).</li>
685  <li>Fixed bug <?php githubissuel('php/php-src', 16588); ?> (UAF in Observer-&gt;serialize).</li>
686  <li>Fix <?php githubissuel('php/php-src', 16477); ?> (Segmentation fault when calling __debugInfo() after failed SplFileObject::__constructor).</li>
687  <li>Fixed bug <?php githubissuel('php/php-src', 16589); ?> (UAF in SplDoublyLinked-&gt;serialize()).</li>
688  <li>Fixed bug <?php githubissuel('php/php-src', 14687); ?> (segfault on SplObjectIterator instance).</li>
689  <li>Fixed bug <?php githubissuel('php/php-src', 16604); ?> (Memory leaks in SPL constructors).</li>
690  <li>Fixed bug <?php githubissuel('php/php-src', 16646); ?> (UAF in ArrayObject::unset() and ArrayObject::exchangeArray()).</li>
691</ul></li>
692<li>Standard:
693<ul>
694  <li>Fixed bug <?php githubissuel('php/php-src', 16293); ?> (Failed assertion when throwing in assert() callback with bail enabled).</li>
695</ul></li>
696<li>Streams:
697<ul>
698  <li>Fixed bug <?php githubsecurityl('php/php-src', 'c5f2-jwm7-mmq2'); ?> (Configuring a proxy in a stream context might allow for CRLF injection in URIs). (CVE-2024-11234)</li>
699  <li>Fixed bug <?php githubsecurityl('php/php-src', 'r977-prxv-hc43'); ?> (Single byte overread with convert.quoted-printable-decode filter). (CVE-2024-11233)</li>
700</ul></li>
701<li>SysVMsg:
702<ul>
703  <li>Fixed bug <?php githubissuel('php/php-src', 16592); ?> (msg_send() crashes when a type does not properly serialized).</li>
704</ul></li>
705<li>SysVShm:
706<ul>
707  <li>Fixed bug <?php githubissuel('php/php-src', 16591); ?> (Assertion error in shm_put_var).</li>
708</ul></li>
709<li>XMLReader:
710<ul>
711  <li>Fixed bug <?php githubissuel('php/php-src', 16292); ?> (Segmentation fault in ext/xmlreader/php_xmlreader.c).</li>
712</ul></li>
713<li>Zlib:
714<ul>
715  <li>Fixed bug <?php githubissuel('php/php-src', 16326); ?> (Memory management is broken for bad dictionaries.) (cmb)</li>
716</ul></li>
717</ul>
718<!-- }}} --></section>
719
720
721
722<section class="version" id="8.3.13"><!-- {{{ 8.3.13 -->
723<h3>Version 8.3.13</h3>
724<b><?php release_date('24-Oct-2024'); ?></b>
725<ul><li>Calendar:
726<ul>
727  <li>Fixed <?php githubissuel('php/php-src', 16240); ?>: jdtounix overflow on argument value.</li>
728  <li>Fixed <?php githubissuel('php/php-src', 16241); ?>: easter_days/easter_date overflow on year argument.</li>
729  <li>Fixed <?php githubissuel('php/php-src', 16263); ?>: jddayofweek overflow.</li>
730  <li>Fixed <?php githubissuel('php/php-src', 16234); ?>: jewishtojd overflow.</li>
731</ul></li>
732<li>CLI:
733<ul>
734  <li>Fixed bug <?php githubissuel('php/php-src', 16137); ?>: duplicate http headers when set several times by the client.</li>
735</ul></li>
736<li>Core:
737<ul>
738  <li>Fixed bug <?php githubissuel('php/php-src', 16054); ?> (Segmentation fault when resizing hash table iterator list while adding).</li>
739  <li>Fixed bug <?php githubissuel('php/php-src', 15905); ?> (Assertion failure for TRACK_VARS_SERVER).</li>
740  <li>Fixed bug <?php githubissuel('php/php-src', 15907); ?> (Failed assertion when promoting Serialize deprecation to exception).</li>
741  <li>Fixed bug <?php githubissuel('php/php-src', 15851); ?> (Segfault when printing backtrace during cleanup of nested generator frame).</li>
742  <li>Fixed bug <?php githubissuel('php/php-src', 15866); ?> (Core dumped in Zend/zend_generators.c).</li>
743  <li>Fixed bug <?php githubissuel('php/php-src', 16188); ?> (Assertion failure in Zend/zend_exceptions.c).</li>
744  <li>Fixed bug <?php githubissuel('php/php-src', 16233); ?> (Observer segfault when calling user function in internal function via trampoline).</li>
745</ul></li>
746<li>DOM:
747<ul>
748  <li>Fixed bug <?php githubissuel('php/php-src', 16039); ?> (Segmentation fault (access null pointer) in ext/dom/parentnode/tree.c).</li>
749  <li>Fixed bug <?php githubissuel('php/php-src', 16149); ?> (Null pointer dereference in DOMElement-&gt;getAttributeNames()).</li>
750  <li>Fixed bug <?php githubissuel('php/php-src', 16151); ?> (Assertion failure in ext/dom/parentnode/tree.c).</li>
751  <li>Fixed bug <?php githubissuel('php/php-src', 16150); ?> (Use after free in php_dom.c).</li>
752  <li>Fixed bug <?php githubissuel('php/php-src', 16152); ?> (Memory leak in DOMProcessingInstruction/DOMDocument).</li>
753</ul></li>
754<li>JSON:
755<ul>
756  <li>Fixed bug <?php githubissuel('php/php-src', 15168); ?> (stack overflow in json_encode()).</li>
757</ul></li>
758<li>GD:
759<ul>
760  <li>Fixed bug <?php githubissuel('php/php-src', 16232); ?> (bitshift overflow on wbmp file content reading / fix backport from upstream).</li>
761  <li>Fixed bug <?php githubissuel('php/php-src', 12264); ?> (overflow/underflow on imagerotate degrees value) (David Carlier)</li>
762  <li>Fixed bug <?php githubissuel('php/php-src', 16274); ?> (imagescale underflow on RBG channels / fix backport from upstream).</li>
763</ul></li>
764<li>LDAP:
765<ul>
766  <li>Fixed bug <?php githubissuel('php/php-src', 16032); ?> (Various NULL pointer dereferencements in ldap_modify_batch()).</li>
767  <li>Fixed bug <?php githubissuel('php/php-src', 16101); ?> (Segfault in ldap_list(), ldap_read(), and ldap_search() when LDAPs array is not a list).</li>
768  <li>Fix <?php githubissuel('php/php-src', 16132); ?> (php_ldap_do_modify() attempts to free pointer not allocated by ZMM.).</li>
769  <li>Fix <?php githubissuel('php/php-src', 16136); ?> (Memory leak in php_ldap_do_modify() when entry is not a proper dictionary).</li>
770</ul></li>
771<li>MBString:
772<ul>
773  <li>Fixed bug <?php githubissuel('php/php-src', 16261); ?> (Reference invariant broken in mb_convert_variables()).</li>
774</ul></li>
775<li>OpenSSL:
776<ul>
777  <li>Fixed stub for openssl_csr_new.</li>
778</ul></li>
779<li>PCRE:
780<ul>
781  <li>Fixed bug <?php githubissuel('php/php-src', 16189); ?> (underflow on offset argument).</li>
782  <li>Fixed bug <?php githubissuel('php/php-src', 16184); ?> (UBSan address overflowed in ext/pcre/php_pcre.c).</li>
783</ul></li>
784<li>PHPDBG:
785<ul>
786  <li>Fixed bug <?php githubissuel('php/php-src', 15901); ?> (phpdbg: Assertion failure on i funcs).</li>
787  <li>Fixed bug <?php githubissuel('php/php-src', 16181); ?> (phpdbg: exit in exception handler reports fatal error).</li>
788</ul></li>
789<li>Reflection:
790<ul>
791  <li>Fixed bug <?php githubissuel('php/php-src', 16187); ?> (Assertion failure in ext/reflection/php_reflection.c).</li>
792</ul></li>
793<li>SAPI:
794<ul>
795  <li>Fixed bug <?php githubissuel('php/php-src', 15395); ?> (php-fpm: zend_mm_heap corrupted with cgi-fcgi request).</li>
796</ul></li>
797<li>SimpleXML:
798<ul>
799  <li>Fixed bug <?php githubissuel('php/php-src', 15837); ?> (Segmentation fault in ext/simplexml/simplexml.c).</li>
800</ul></li>
801<li>Sockets:
802<ul>
803  <li>Fixed bug <?php githubissuel('php/php-src', 16267); ?> (socket_strerror overflow on errno argument).</li>
804</ul></li>
805<li>SOAP:
806<ul>
807  <li><?php bugfix(73182); ?> (PHP SOAPClient does not support stream context HTTP headers in array form).</li>
808  <li><?php bugfix(62900); ?> (Wrong namespace on xsd import error message).</li>
809  <li>Fixed bug <?php githubissuel('php/php-src', 15711); ?> (SoapClient can't convert BackedEnum to scalar value).</li>
810  <li>Fixed bug <?php githubissuel('php/php-src', 16237); ?> (Segmentation fault when cloning SoapServer).</li>
811  <li>Fix Soap leaking http_msg on error.</li>
812  <li>Fixed bug <?php githubissuel('php/php-src', 16256); ?> (Assertion failure in ext/soap/php_encoding.c:460).</li>
813  <li>Fixed bug <?php githubissuel('php/php-src', 16259); ?> (Soap segfault when classmap instantiation fails).</li>
814</ul></li>
815<li>SPL:
816<ul>
817  <li>Fixed bug <?php githubissuel('php/php-src', 15918); ?> (Assertion failure in ext/spl/spl_fixedarray.c).</li>
818</ul></li>
819<li>Standard:
820<ul>
821  <li>Fixed bug <?php githubissuel('php/php-src', 16053); ?> (Assertion failure in Zend/zend_hash.c).</li>
822  <li>Fixed bug <?php githubissuel('php/php-src', 15169); ?> (stack overflow when var serialization in ext/standard/var).</li>
823</ul></li>
824<li>Streams:
825<ul>
826  <li>Fixed bugs <?php githubissuel('php/php-src', 15908); ?> and <?php githubissuel('php/php-src', 15026); ?> (leak / assertion failure in streams.c).</li>
827  <li>Fixed bug <?php githubissuel('php/php-src', 15980); ?> (Signed integer overflow in main/streams/streams.c).</li>
828</ul></li>
829<li>TSRM:
830<ul>
831  <li>Prevent closing of unrelated handles.</li>
832</ul></li>
833<li>Windows:
834<ul>
835  <li>Fixed minimal Windows version.</li>
836</ul></li>
837</ul>
838<!-- }}} --></section>
839
840
841
842<section class="version" id="8.3.12"><!-- {{{ 8.3.12 -->
843<h3>Version 8.3.12</h3>
844<b><?php release_date('26-Sep-2024'); ?></b>
845<ul><li>CGI:
846<ul>
847  <li>Fixed bug <?php githubsecurityl('php/php-src', 'p99j-rfp4-xqvq'); ?> (Bypass of CVE-2024-4577, Parameter Injection Vulnerability). (CVE-2024-8926)</li>
848  <li>Fixed bug <?php githubsecurityl('php/php-src', '94p6-54jq-9mwp'); ?> (cgi.force_redirect configuration is bypassable due to the environment variable collision). (CVE-2024-8927)</li>
849</ul></li>
850<li>Core:
851<ul>
852  <li>Fixed bug <?php githubissuel('php/php-src', 15408); ?> (MSan false-positve on zend_max_execution_timer).</li>
853  <li>Fixed bug <?php githubissuel('php/php-src', 15515); ?> (Configure error grep illegal option q).</li>
854  <li>Fixed bug <?php githubissuel('php/php-src', 15514); ?> (Configure error: genif.sh: syntax error).</li>
855  <li>Fixed bug <?php githubissuel('php/php-src', 15565); ?> (--disable-ipv6 during compilation produces error EAI_SYSTEM not found).</li>
856  <li>Fixed bug <?php githubissuel('php/php-src', 15587); ?> (CRC32 API build error on arm 32-bit).</li>
857  <li>Fixed bug <?php githubissuel('php/php-src', 15330); ?> (Do not scan generator frames more than once).</li>
858  <li>Fixed uninitialized lineno in constant AST of internal enums.</li>
859</ul></li>
860<li>Curl:
861<ul>
862  <li>FIxed bug <?php githubissuel('php/php-src', 15547); ?> (curl_multi_select overflow on timeout argument).</li>
863</ul></li>
864<li>DOM:
865<ul>
866  <li>Fixed bug <?php githubissuel('php/php-src', 15551); ?> (Segmentation fault (access null pointer) in ext/dom/xml_common.h).</li>
867  <li>Fixed bug <?php githubissuel('php/php-src', 15654); ?> (Signed integer overflow in ext/dom/nodelist.c).</li>
868</ul></li>
869<li>Fileinfo:
870<ul>
871  <li>Fixed bug <?php githubissuel('php/php-src', 15752); ?> (Incorrect error message for finfo_file with an empty filename argument).</li>
872</ul></li>
873<li>FPM:
874<ul>
875  <li>Fixed bug <?php githubsecurityl('php/php-src', '865w-9rf3-2wh5'); ?> (Logs from childrens may be altered). (CVE-2024-9026)</li>
876</ul></li>
877<li>MySQLnd:
878<ul>
879  <li>Fixed bug <?php githubissuel('php/php-src', 15432); ?> (Heap corruption when querying a vector).</li>
880</ul></li>
881<li>Opcache:
882<ul>
883  <li>Fixed bug <?php githubissuel('php/php-src', 15661); ?> (Access null pointer in Zend/Optimizer/zend_inference.c).</li>
884  <li>Fixed bug <?php githubissuel('php/php-src', 15658); ?> (Segmentation fault in Zend/zend_vm_execute.h).</li>
885</ul></li>
886<li>SAPI:
887<ul>
888  <li>Fixed bug <?php githubsecurityl('php/php-src', '9pqp-7h25-4f32'); ?> (Erroneous parsing of multipart form data). (CVE-2024-8925)</li>
889</ul></li>
890<li>Standard:
891<ul>
892  <li>Fixed bug <?php githubissuel('php/php-src', 15552); ?> (Signed integer overflow in ext/standard/scanf.c).</li>
893</ul></li>
894<li>Streams:
895<ul>
896  <li>Fixed bug <?php githubissuel('php/php-src', 15628); ?> (php_stream_memory_get_buffer() not zero-terminated).</li>
897</ul></li>
898</ul>
899<!-- }}} --></section>
900
901
902
903<section class="version" id="8.3.11"><!-- {{{ 8.3.11 -->
904<h3>Version 8.3.11</h3>
905<b><?php release_date('29-Aug-2024'); ?></b>
906<ul><li>Core:
907<ul>
908  <li>Fixed bug <?php githubissuel('php/php-src', 15020); ?> (Memory leak in Zend/Optimizer/escape_analysis.c).</li>
909  <li>Fixed bug <?php githubissuel('php/php-src', 15023); ?> (Memory leak in Zend/zend_ini.c).</li>
910  <li>Fixed bug <?php githubissuel('php/php-src', 13330); ?> (Append -Wno-implicit-fallthrough flag conditionally).</li>
911  <li>Fix uninitialized memory in network.c.</li>
912  <li>Fixed bug <?php githubissuel('php/php-src', 15108); ?> (Segfault when destroying generator during shutdown).</li>
913  <li>Fixed bug <?php githubissuel('php/php-src', 15275); ?> (Crash during GC of suspended generator delegate).</li>
914</ul></li>
915<li>Curl:
916<ul>
917  <li>Fixed case when curl_error returns an empty string.</li>
918</ul></li>
919<li>DOM:
920<ul>
921  <li>Fix UAF when removing doctype and using foreach iteration.</li>
922</ul></li>
923<li>FFI:
924<ul>
925  <li>Fixed bug <?php githubissuel('php/php-src', 14286); ?> (ffi enum type (when enum has no name) make memory leak).</li>
926</ul></li>
927<li>Hash:
928<ul>
929  <li>Fix crash when converting array data for array in shm in xxh3.</li>
930</ul></li>
931<li>Intl:
932<ul>
933  <li>Fixed bug <?php githubissuel('php/php-src', 15087); ?> (IntlChar::foldCase()'s $option is not optional).</li>
934</ul></li>
935<li>Opcache:
936<ul>
937  <li>Fixed bug <?php githubissuel('php/php-src', 13817); ?> (Segmentation fault for enabled observers after pass 4).</li>
938  <li>Fixed bug <?php githubissuel('php/php-src', 13775); ?> (Memory leak possibly related to opcache SHM placement).</li>
939</ul></li>
940<li>Output:
941<ul>
942  <li>Fixed bug <?php githubissuel('php/php-src', 15179); ?> (Segmentation fault (null pointer dereference) in ext/standard/url_scanner_ex.re).</li>
943</ul></li>
944<li>PDO_Firebird:
945<ul>
946  <li>Fix bogus fallthrough path in firebird_handle_get_attribute().</li>
947</ul></li>
948<li>PHPDBG:
949<ul>
950  <li>Fixed bug <?php githubissuel('php/php-src', 13199); ?> (EOF emits redundant prompt in phpdbg local console mode with libedit/readline).</li>
951  <li>Fixed bug <?php githubissuel('php/php-src', 15268); ?> (heap buffer overflow in phpdbg (zend_hash_num_elements() Zend/zend_hash.h)).</li>
952  <li>Fixed bug <?php githubissuel('php/php-src', 15210); ?> use-after-free on watchpoint allocations.</li>
953</ul></li>
954<li>Soap:
955<ul>
956  <li><?php bugfix(55639); ?> (Digest autentication dont work).</li>
957  <li>Fix SoapFault property destruction.</li>
958  <li>Fixed bug <?php githubissuel('php/php-src', 15252); ?> (SOAP XML broken since PHP 8.3.9 when using classmap constructor option).</li>
959</ul></li>
960<li>Standard:
961<ul>
962  <li>Fix passing non-finite timeout values in stream functions.</li>
963  <li>Fixed <?php githubissuel('php/php-src', 14780); ?> p(f)sockopen timeout overflow.</li>
964</ul></li>
965<li>Streams:
966<ul>
967  <li>Fixed bug <?php githubissuel('php/php-src', 15028); ?> (Memory leak in ext/phar/stream.c).</li>
968  <li>Fixed bug <?php githubissuel('php/php-src', 15034); ?> (Integer overflow on stream_notification_callback byte_max parameter with files bigger than 2GB).</li>
969  <li>Reverted fix for <?php githubissuel('php/php-src', 14930); ?> (Custom stream wrapper dir_readdir output truncated to 255 characters).</li>
970</ul></li>
971<li>Tidy:
972<ul>
973  <li>Fix memory leaks in ext/tidy basedir restriction code.</li>
974</ul></li>
975</ul>
976<!-- }}} --></section>
977
978
979
980<section class="version" id="8.3.10"><!-- {{{ 8.3.10 -->
981<h3>Version 8.3.10</h3>
982<b><?php release_date('01-Aug-2024'); ?></b>
983<ul><li>Core:
984<ul>
985  <li>Fixed bug <?php githubissuel('php/php-src', 13922); ?> (Fixed support for systems with sysconf(_SC_GETPW_R_SIZE_MAX) == -1).</li>
986  <li>Fixed bug <?php githubissuel('php/php-src', 14626); ?> (Fix is_zend_ptr() for huge blocks).</li>
987  <li>Fixed bug <?php githubissuel('php/php-src', 14590); ?> (Memory leak in FPM test gh13563-conf-bool-env.phpt.</li>
988  <li>Fixed OSS-Fuzz #69765.</li>
989  <li>Fixed bug <?php githubissuel('php/php-src', 14741); ?> (Segmentation fault in Zend/zend_types.h).</li>
990  <li>Fixed bug <?php githubissuel('php/php-src', 14969); ?> (Use-after-free in property coercion with __toString()).</li>
991</ul></li>
992<li>Dom:
993<ul>
994  <li>Fixed bug <?php githubissuel('php/php-src', 14702); ?> (DOMDocument::xinclude() crash).</li>
995</ul></li>
996<li>Fileinfo:
997<ul>
998  <li>Fixed bug <?php githubissuel('php/php-src', 14888); ?> (README.REDIST.BINS refers to non-existing LICENSE).</li>
999</ul></li>
1000<li>Gd:
1001<ul>
1002  <li>ext/gd/tests/gh10614.phpt: skip if no PNG support.</li>
1003  <li>restored warning instead of fata error.</li>
1004</ul></li>
1005<li>LibXML:
1006<ul>
1007  <li>Fixed bug <?php githubissuel('php/php-src', 14563); ?> (Build failure with libxml2 v2.13.0).</li>
1008</ul></li>
1009<li>Opcache:
1010<ul>
1011  <li>Fixed bug <?php githubissuel('php/php-src', 14550); ?> (No warning message when Zend DTrace is enabled that opcache.jit is implictly disabled).</li>
1012</ul></li>
1013<li>Output:
1014<ul>
1015  <li>Fixed bug <?php githubissuel('php/php-src', 14808); ?> (Unexpected null pointer in Zend/zend_string.h with empty output buffer).</li>
1016</ul></li>
1017<li>PDO:
1018<ul>
1019  <li>Fixed bug <?php githubissuel('php/php-src', 14712); ?> (Crash with PDORow access to null property).</li>
1020</ul></li>
1021<li>Phar:
1022<ul>
1023  <li>Fixed bug <?php githubissuel('php/php-src', 14603); ?> (null string from zip entry).</li>
1024</ul></li>
1025<li>PHPDBG:
1026<ul>
1027  <li>Fixed bug <?php githubissuel('php/php-src', 14596); ?> (crashes with ASAN and ZEND_RC_DEBUG=1).</li>
1028  <li>Fixed bug <?php githubissuel('php/php-src', 14553); ?> (echo output trimmed at NULL byte).</li>
1029</ul></li>
1030<li>Shmop:
1031<ul>
1032  <li>Fixed bug <?php githubissuel('php/php-src', 14537); ?> (shmop Windows 11 crashes the process).</li>
1033</ul></li>
1034<li>SPL:
1035<ul>
1036  <li>Fixed bug <?php githubissuel('php/php-src', 14639); ?> (Member access within null pointer in ext/spl/spl_observer.c).</li>
1037</ul></li>
1038<li>Standard:
1039<ul>
1040  <li>Fixed bug <?php githubissuel('php/php-src', 14775); ?> (range function overflow with negative step argument).</li>
1041  <li>Fix 32-bit wordwrap test failures.</li>
1042  <li>Fixed bug <?php githubissuel('php/php-src', 14774); ?> (time_sleep_until overflow).</li>
1043</ul></li>
1044<li>Streams:
1045<ul>
1046  <li>Fixed bug <?php githubissuel('php/php-src', 14930); ?> (Custom stream wrapper dir_readdir output truncated to 255 characters in PHP 8.3).</li>
1047</ul></li>
1048<li>Tidy:
1049<ul>
1050  <li>Fix memory leak in tidy_repair_file().</li>
1051</ul></li>
1052<li>Treewide:
1053<ul>
1054  <li>Fix compatibility with libxml2 2.13.2.</li>
1055</ul></li>
1056<li>XML:
1057<ul>
1058  <li>Move away from to-be-deprecated libxml fields.</li>
1059  <li>Fixed bug <?php githubissuel('php/php-src', 14834); ?> (Error installing PHP when --with-pear is used).</li>
1060</ul></li>
1061</ul>
1062<!-- }}} --></section>
1063
1064
1065
1066<section class="version" id="8.3.9"><!-- {{{ 8.3.9 -->
1067<h3>Version 8.3.9</h3>
1068<b><?php release_date('04-Jul-2024'); ?></b>
1069<ul><li>Core:
1070<ul>
1071  <li>Fixed bug <?php githubissuel('php/php-src', 14315); ?> (Incompatible pointer type warnings).</li>
1072  <li>Fixed bug <?php githubissuel('php/php-src', 12814); ?> (max_execution_time reached too early on MacOS 14 when running on Apple Silicon).</li>
1073  <li>Fixed bug <?php githubissuel('php/php-src', 14387); ?> (Crash when stack walking in destructor of yielded from values during Generator-&gt;throw()).</li>
1074  <li>Fixed bug <?php githubissuel('php/php-src', 14456); ?> (Attempting to initialize class with private constructor calls destructor).</li>
1075  <li>Fixed bug <?php githubissuel('php/php-src', 14510); ?> (memleak due to missing pthread_attr_destroy()-call).</li>
1076  <li>Fixed bug <?php githubissuel('php/php-src', 14549); ?> (Incompatible function pointer type for fclose).</li>
1077</ul></li>
1078<li>BCMatch:
1079<ul>
1080  <li>Fixed bug (bcpowmod() with mod = -1 returns 1 when it must be 0).</li>
1081</ul></li>
1082<li>Curl:
1083<ul>
1084  <li>Fixed bug <?php githubissuel('php/php-src', 14307); ?> (Test curl_basic_024 fails with curl 8.8.0).</li>
1085</ul></li>
1086<li>DOM:
1087<ul>
1088  <li>Fixed bug <?php githubissuel('php/php-src', 14343); ?> (Memory leak in xml and dom).</li>
1089</ul></li>
1090<li>FPM:
1091<ul>
1092  <li>Fixed bug <?php githubissuel('php/php-src', 14037); ?> (PHP-FPM ping.path and ping.response config vars are ignored in status pool).</li>
1093</ul></li>
1094<li>GD:
1095<ul>
1096  <li>Fix parameter numbers for imagecolorset().</li>
1097</ul></li>
1098<li>Intl:
1099<ul>
1100  <li>Fix reference handling in SpoofChecker.</li>
1101</ul></li>
1102<li>MySQLnd:
1103<ul>
1104  <li>Partially fix bug <?php githubissuel('php/php-src', 10599); ?> (Apache crash on Windows when using a self-referencing anonymous function inside a class with an active mysqli connection).</li>
1105</ul></li>
1106<li>Opcache:
1107<ul>
1108  <li>Fixed bug <?php githubissuel('php/php-src', 14267); ?> (opcache.jit=off does not allow enabling JIT at runtime).</li>
1109  <li>Fixed TLS access in JIT on FreeBSD/amd64.</li>
1110  <li>Fixed bug <?php githubissuel('php/php-src', 11188); ?> (Error when building TSRM in ARM64).</li>
1111</ul></li>
1112<li>PDO ODBC:
1113<ul>
1114  <li>Fixed bug <?php githubissuel('php/php-src', 14367); ?> (incompatible SDWORD type with iODBC).</li>
1115</ul></li>
1116<li>PHPDBG:
1117<ul>
1118  <li>Fixed bug <?php githubissuel('php/php-src', 13681); ?> (segfault on watchpoint addition failure).</li>
1119</ul></li>
1120<li>Soap:
1121<ul>
1122  <li><?php bugfix(47925); ?> (PHPClient can't decompress response).</li>
1123  <li>Fix missing error restore code.</li>
1124  <li>Fix memory leak if calling SoapServer::setObject() twice.</li>
1125  <li>Fix memory leak if calling SoapServer::setClass() twice.</li>
1126  <li>Fix reading zlib ini settings in ext-soap.</li>
1127  <li>Fix memory leaks with string function name lookups.</li>
1128  <li><?php bugfix(69280); ?> (SoapClient classmap doesn't support fully qualified class name).</li>
1129  <li><?php bugfix(76232); ?> (SoapClient Cookie Header Semicolon).</li>
1130  <li>Fixed memory leaks when calling SoapFault::__construct() twice.</li>
1131</ul></li>
1132<li>Sodium:
1133<ul>
1134  <li>Fix memory leaks in ext/sodium on failure of some functions.</li>
1135</ul></li>
1136<li>SPL:
1137<ul>
1138  <li>Fixed bug <?php githubissuel('php/php-src', 14290); ?> (Member access within null pointer in extension spl).</li>
1139</ul></li>
1140<li>Standard:
1141<ul>
1142  <li>Fixed bug <?php githubissuel('php/php-src', 14483); ?> (Fixed off-by-one error in checking length of abstract namespace Unix sockets).</li>
1143</ul></li>
1144<li>Streams:
1145<ul>
1146  <li>Fixed bug <?php githubissuel('php/php-src', 11078); ?> (PHP Fatal error triggers pointer being freed was not allocated and malloc: double free for ptr errors).</li>
1147</ul></li>
1148</ul>
1149<!-- }}} --></section>
1150
1151
1152
1153<section class="version" id="8.3.8"><!-- {{{ 8.3.8 -->
1154<h3>Version 8.3.8</h3>
1155<b><?php release_date('06-Jun-2024'); ?></b>
1156<ul><li>CGI:
1157<ul>
1158  <li>Fixed buffer limit on Windows, replacing read call usage by _read.</li>
1159  <li>Fixed bug GHSA-3qgc-jrrr-25jv (Bypass of CVE-2012-1823, Argument Injection in PHP-CGI). (CVE-2024-4577)</li>
1160</ul></li>
1161<li>CLI:
1162<ul>
1163  <li>Fixed bug <?php githubissuel('php/php-src', 14189); ?> (PHP Interactive shell input state incorrectly handles quoted heredoc literals.).</li>
1164</ul></li>
1165<li>Core:
1166<ul>
1167  <li>Fixed bug <?php githubissuel('php/php-src', 13970); ?> (Incorrect validation of #[Attribute] flags type for non-compile-time expressions).</li>
1168</ul></li>
1169<li>DOM:
1170<ul>
1171  <li>Fix crashes when entity declaration is removed while still having entity references.</li>
1172  <li>Fix references not handled correctly in C14N.</li>
1173  <li>Fix crash when calling childNodes next() when iterator is exhausted.</li>
1174  <li>Fix crash in ParentNode::append() when dealing with a fragment containing text nodes.</li>
1175</ul></li>
1176<li>Filter:
1177<ul>
1178  <li>Fixed bug GHSA-w8qr-v226-r27w (Filter bypass in filter_var FILTER_VALIDATE_URL). (CVE-2024-5458)</li>
1179</ul></li>
1180<li>FPM:
1181<ul>
1182  <li>Fix bug <?php githubissuel('php/php-src', 14175); ?> (Show decimal number instead of scientific notation in systemd status).</li>
1183</ul></li>
1184<li>Hash:
1185<ul>
1186  <li>ext/hash: Swap the checking order of `__has_builtin` and `__GNUC__` (Saki Takamachi)</li>
1187</ul></li>
1188<li>Intl:
1189<ul>
1190  <li>Fixed build regression on systems without C++17 compilers.</li>
1191</ul></li>
1192<li>MySQLnd:
1193<ul>
1194  <li>Fix bug <?php githubissuel('php/php-src', 14255); ?> (mysqli_fetch_assoc reports error from nested query).</li>
1195</ul></li>
1196<li>Opcache:
1197<ul>
1198  <li>Fixed bug <?php githubissuel('php/php-src', 14109); ?> (Fix accidental persisting of internal class constant in shm).</li>
1199</ul></li>
1200<li>OpenSSL:
1201<ul>
1202  <li>The openssl_private_decrypt function in PHP, when using PKCS1 padding (OPENSSL_PKCS1_PADDING, which is the default), is vulnerable to the Marvin Attack unless it is used with an OpenSSL version that includes the changes from this pull request: https://github.com/openssl/openssl/pull/13817 (rsa_pkcs1_implicit_rejection). These changes are part of OpenSSL 3.2 and have also been backported to stable versions of various Linux distributions, as well as to the PHP builds provided for Windows since the previous release. All distributors and builders should ensure that this version is used to prevent PHP from being vulnerable.</li>
1203</ul></li>
1204<li>Standard:
1205<ul>
1206  <li>Fixed bug GHSA-9fcc-425m-g385 (Bypass of CVE-2024-1874). (CVE-2024-5585)</li>
1207</ul></li>
1208<li>XML:
1209<ul>
1210  <li>Fixed bug <?php githubissuel('php/php-src', 14124); ?> (Segmentation fault with XML extension under certain memory limit).</li>
1211</ul></li>
1212<li>XMLReader:
1213<ul>
1214  <li>Fixed bug <?php githubissuel('php/php-src', 14183); ?> (XMLReader::open() can't be overridden).</li>
1215</ul></li>
1216</ul>
1217<!-- }}} --></section>
1218
1219
1220
1221<section class="version" id="8.3.7"><!-- {{{ 8.3.7 -->
1222<h3>Version 8.3.7</h3>
1223<b><?php release_date('09-May-2024'); ?></b>
1224<ul><li>Core:
1225<ul>
1226  <li>Fixed zend_call_stack build with Linux/uclibc-ng without thread support.</li>
1227  <li>Fixed bug <?php githubissuel('php/php-src', 13772); ?> (Invalid execute_data-&gt;opline pointers in observer fcall handlers when JIT is enabled).</li>
1228  <li>Fixed bug <?php githubissuel('php/php-src', 13931); ?> (Applying zero offset to null pointer in Zend/zend_opcode.c).</li>
1229  <li>Fixed bug <?php githubissuel('php/php-src', 13942); ?> (Align the behavior of zend-max-execution-timers with other timeout implementations).</li>
1230  <li>Fixed bug <?php githubissuel('php/php-src', 14003); ?> (Broken cleanup of unfinished calls with callable convert parameters).</li>
1231  <li>Fixed bug <?php githubissuel('php/php-src', 14013); ?> (Erroneous dnl appended in configure).</li>
1232  <li>Fixed bug <?php githubissuel('php/php-src', 10232); ?> (If autoloading occurs during constant resolution filename and lineno are identified incorrectly).</li>
1233  <li>Fixed bug <?php githubissuel('php/php-src', 13727); ?> (Missing void keyword).</li>
1234</ul></li>
1235<li>Fibers:
1236<ul>
1237  <li>Fixed bug <?php githubissuel('php/php-src', 13903); ?> (ASAN false positive underflow when executing copy()).</li>
1238</ul></li>
1239<li>Fileinfo:
1240<ul>
1241  <li>Fixed bug <?php githubissuel('php/php-src', 13795); ?> (Test failing in ext/fileinfo/tests/bug78987.phpt on big-endian PPC).</li>
1242</ul></li>
1243<li>FPM:
1244<ul>
1245  <li>Fixed bug <?php githubissuel('php/php-src', 13563); ?> (Setting bool values via env in FPM config fails).</li>
1246</ul></li>
1247<li>Intl:
1248<ul>
1249  <li>Fixed build for icu 74 and onwards.</li>
1250</ul></li>
1251<li>MySQLnd:
1252<ul>
1253  <li>Fix shift out of bounds on 32-bit non-fast-path platforms.</li>
1254</ul></li>
1255<li>Opcache:
1256<ul>
1257  <li>Fixed bug <?php githubissuel('php/php-src', 13433); ?> (Segmentation Fault in zend_class_init_statics when using opcache.preload).</li>
1258  <li>Fixed incorrect assumptions across compilation units for static calls.</li>
1259</ul></li>
1260<li>OpenSSL:
1261<ul>
1262  <li>Fixed bug <?php githubissuel('php/php-src', 10495); ?> (feof on OpenSSL stream hangs indefinitely).</li>
1263</ul></li>
1264<li>PDO SQLite:
1265<ul>
1266  <li>Fix <?php githubissuel('php/php-src', 13984); ?> (Buffer size is now checked before memcmp).</li>
1267  <li>Fix <?php githubissuel('php/php-src', 13998); ?> (Manage refcount of agg_context-&gt;val correctly).</li>
1268</ul></li>
1269<li>Phar:
1270<ul>
1271  <li>Fixed bug <?php githubissuel('php/php-src', 13836); ?> (Renaming a file in a Phar to an already existing filename causes a NULL pointer dereference).</li>
1272  <li>Fixed bug <?php githubissuel('php/php-src', 13833); ?> (Applying zero offset to null pointer in zend_hash.c).</li>
1273  <li>Fix potential NULL pointer dereference before calling EVP_SignInit.</li>
1274</ul></li>
1275<li>PHPDBG:
1276<ul>
1277  <li>Fixed bug <?php githubissuel('php/php-src', 13827); ?> (Null pointer access of type 'zval' in phpdbg_frame).</li>
1278</ul></li>
1279<li>Posix:
1280<ul>
1281  <li>Fix usage of reentrant functions in ext/posix.</li>
1282</ul></li>
1283<li>Session:
1284<ul>
1285  <li>Fixed bug <?php githubissuel('php/php-src', 13856); ?> (Member access within null pointer of type 'ps_files' in ext/session/mod_files.c).</li>
1286  <li>Fixed bug <?php githubissuel('php/php-src', 13891); ?> (memleak and segfault when using ini_set with session.trans_sid_hosts).</li>
1287  <li>Fixed buffer _read/_write size limit on windows for the file mode.</li>
1288</ul></li>
1289<li>Streams:
1290<ul>
1291  <li>Fixed file_get_contents() on Windows fails with "errno=22 Invalid argument".</li>
1292  <li>Fixed bug <?php githubissuel('php/php-src', 13264); ?> (Part 1 - Memory leak on stream filter failure).</li>
1293  <li>Fixed bug <?php githubissuel('php/php-src', 13860); ?> (Incorrect PHP_STREAM_OPTION_CHECK_LIVENESS case in ext/openssl/xp_ssl.c - causing use of dead socket).</li>
1294  <li>Fixed bug <?php githubissuel('php/php-src', 11678); ?> (Build fails on musl 1.2.4 - lfs64).</li>
1295</ul></li>
1296<li>Treewide:
1297<ul>
1298  <li>Fix gcc-14 Wcalloc-transposed-args warnings.</li>
1299</ul></li>
1300</ul>
1301<!-- }}} --></section>
1302
1303
1304
1305<section class="version" id="8.3.6"><!-- {{{ 8.3.6 -->
1306<h3>Version 8.3.6</h3>
1307<b><?php release_date('11-Apr-2024'); ?></b>
1308<ul><li>Core:
1309<ul>
1310  <li>Fixed <?php githubissuel('php/php-src', 13569); ?> (GC buffer unnecessarily grows up to GC_MAX_BUF_SIZE when scanning WeakMaps).</li>
1311  <li>Fixed bug <?php githubissuel('php/php-src', 13612); ?> (Corrupted memory in destructor with weak references).</li>
1312  <li>Fixed bug <?php githubissuel('php/php-src', 13446); ?> (Restore exception handler after it finishes).</li>
1313  <li>Fixed bug <?php githubissuel('php/php-src', 13784); ?> (AX_GCC_FUNC_ATTRIBUTE failure).</li>
1314  <li>Fixed bug <?php githubissuel('php/php-src', 13670); ?> (GC does not scale well with a lot of objects created in destructor).</li>
1315</ul></li>
1316<li>DOM:
1317<ul>
1318  <li>Add some missing ZPP checks.</li>
1319  <li>Fix potential memory leak in XPath evaluation results.</li>
1320</ul></li>
1321<li>FPM:
1322<ul>
1323  <li>Fixed <?php githubissuel('php/php-src', 11086); ?> (FPM: config test runs twice in daemonised mode).</li>
1324  <li>Fix incorrect check in fpm_shm_free().</li>
1325</ul></li>
1326<li>GD:
1327<ul>
1328  <li>Fixed bug <?php githubissuel('php/php-src', 12019); ?> (add GDLIB_CFLAGS in feature tests).</li>
1329</ul></li>
1330<li>Gettext:
1331<ul>
1332  <li>Fixed sigabrt raised with dcgettext/dcngettext calls with gettext 0.22.5 with category set to LC_ALL.</li>
1333</ul></li>
1334<li>MySQLnd:
1335<ul>
1336  <li>Fix <?php githubissuel('php/php-src', 13452); ?> (Fixed handshake response [mysqlnd]).</li>
1337  <li>Fix incorrect charset length in check_mb_eucjpms().</li>
1338</ul></li>
1339<li>Opcache:
1340<ul>
1341  <li>Fixed <?php githubissuel('php/php-src', 13508); ?> (JITed QM_ASSIGN may be optimized out when op1 is null).</li>
1342  <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>
1343</ul></li>
1344<li>Random:
1345<ul>
1346  <li>Fixed bug <?php githubissuel('php/php-src', 13544); ?> (Pre-PHP 8.2 compatibility for mt_srand with unknown modes).</li>
1347  <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>
1348</ul></li>
1349<li>Session:
1350<ul>
1351  <li>Fixed bug <?php githubissuel('php/php-src', 13680); ?> (Segfault with session_decode and compilation error).</li>
1352</ul></li>
1353<li>SPL:
1354<ul>
1355  <li>Fixed bug <?php githubissuel('php/php-src', 13685); ?> (Unexpected null pointer in zend_string.h).</li>
1356</ul></li>
1357<li>Standard:
1358<ul>
1359  <li>Fixed bug <?php githubissuel('php/php-src', 11808); ?> (Live filesystem modified by tests).</li>
1360  <li>Fixed <?php githubissuel('php/php-src', 13402); ?> (Added validation of `\n` in $additional_headers of mail()).</li>
1361  <li>Fixed bug <?php githubissuel('php/php-src', 13203); ?> (file_put_contents fail on strings over 4GB on Windows).</li>
1362  <li>Fixed bug GHSA-pc52-254m-w9w7 (Command injection via array-ish $command parameter of proc_open). (CVE-2024-1874)</li>
1363  <li>Fixed bug GHSA-wpj3-hf5j-x4v4 (__Host-/__Secure- cookie bypass due to partial CVE-2022-31629 fix). (CVE-2024-2756)</li>
1364  <li>Fixed bug GHSA-h746-cjrr-wfmr (password_verify can erroneously return true, opening ATO risk). (CVE-2024-3096)</li>
1365  <li>Fixed bug GHSA-fjp9-9hwx-59fq (mb_encode_mimeheader runs endlessly for some inputs). (CVE-2024-2757)</li>
1366  <li>Fix bug <?php githubissuel('php/php-src', 13932); ?> (Attempt to fix mbstring on windows build) (msvc).</li>
1367</ul></li>
1368</ul>
1369<!-- }}} --></section>
1370
1371
1372
1373<section class="version" id="8.3.4"><!-- {{{ 8.3.4 -->
1374<h3>Version 8.3.4</h3>
1375<b><?php release_date('14-Mar-2024'); ?></b>
1376<ul><li>Core:
1377<ul>
1378  <li>Fix ZTS persistent resource crashes on shutdown.</li>
1379</ul></li>
1380<li>Curl:
1381<ul>
1382  <li>Fix failing tests due to string changes in libcurl 8.6.0.</li>
1383</ul></li>
1384<li>DOM:
1385<ul>
1386  <li>Fix unlikely memory leak in case of namespace removal with extremely deep trees.</li>
1387  <li>Fix reference access in dimensions for DOMNodeList and DOMNodeMap.</li>
1388</ul></li>
1389<li>Fileinfo:
1390<ul>
1391  <li>Fixed bug <?php githubissuel('php/php-src', 13344); ?> (finfo::buffer(): Failed identify data 0:(null), backport).</li>
1392</ul></li>
1393<li>FPM:
1394<ul>
1395  <li><?php bugfix(75712); ?> (getenv in php-fpm should not read $_ENV, $_SERVER).</li>
1396</ul></li>
1397<li>GD:
1398<ul>
1399  <li>Fixed bug <?php githubissuel('php/php-src', 12019); ?> (detection of image formats in system gd library).</li>
1400</ul></li>
1401<li>MySQLnd:
1402<ul>
1403  <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>
1404</ul></li>
1405<li>PDO:
1406<ul>
1407  <li>Fix various PDORow bugs.</li>
1408</ul></li>
1409<li>PGSQL:
1410<ul>
1411  <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>
1412</ul></li>
1413<li>SPL:
1414<ul>
1415  <li>Fixed bug <?php githubissuel('php/php-src', 13531); ?> (Unable to resize SplfixedArray after being unserialized in PHP 8.2.15).</li>
1416</ul></li>
1417<li>Standard:
1418<ul>
1419  <li>Fixed bug <?php githubissuel('php/php-src', 13279); ?> (Instable array during in-place modification in uksort).</li>
1420  <li>Fixed array key as hash to string (case insensitive) comparison typo for the second operand buffer size (albeit unused for now).</li>
1421</ul></li>
1422<li>XML:
1423<ul>
1424  <li>Fixed bug <?php githubissuel('php/php-src', 13517); ?> (Multiple test failures when building with --with-expat).</li>
1425</ul></li>
1426</ul>
1427<!-- }}} --></section>
1428
1429
1430
1431<section class="version" id="8.3.3"><!-- {{{ 8.3.3 -->
1432<h3>Version 8.3.3</h3>
1433<b><?php release_date('15-Feb-2024'); ?></b>
1434<ul><li>Core:
1435<ul>
1436  <li>Fixed timer leak in zend-max-execution-timers builds.</li>
1437  <li>Fixed bug <?php githubissuel('php/php-src', 12349); ?> (linking failure on ARM with mold).</li>
1438  <li>Fixed bug <?php githubissuel('php/php-src', 13097); ?> (Anonymous class reference in trigger_error / thrown Exception).</li>
1439  <li>Fixed bug <?php githubissuel('php/php-src', 13177); ?> (PHP 8.3.2: final private constructor not allowed when used in trait).</li>
1440  <li>Fixed bug <?php githubissuel('php/php-src', 13215); ?> (GCC 14 build failure).</li>
1441</ul></li>
1442<li>Curl:
1443<ul>
1444  <li>Fix missing error check in curl_multi_init().</li>
1445</ul></li>
1446<li>FPM:
1447<ul>
1448  <li>Fixed bug <?php githubissuel('php/php-src', 12996); ?> (Incorrect SCRIPT_NAME with Apache ProxyPassMatch when plus in path).</li>
1449</ul></li>
1450<li>GD:
1451<ul>
1452  <li>Fixed bug <?php githubissuel('php/php-src', 10344); ?> (imagettfbbox(): Could not find/open font UNC path).</li>
1453  <li>Fixed bug <?php githubissuel('php/php-src', 10614); ?> (imagerotate will turn the picture all black, when rotated 90).</li>
1454</ul></li>
1455<li>LibXML:
1456<ul>
1457  <li>Fix crashes with entity references and predefined entities.</li>
1458</ul></li>
1459<li>MySQLnd:
1460<ul>
1461  <li>Fixed bug <?php githubissuel('php/php-src', 12107); ?> (When running a stored procedure (that returns a result set) twice, PHP crashes).</li>
1462</ul></li>
1463<li>Opcache:
1464<ul>
1465  <li>Fixed bug <?php githubissuel('php/php-src', 13145); ?> (strtok() is not comptime).</li>
1466  <li>Fixed type inference of range().</li>
1467  <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>
1468</ul></li>
1469<li>OpenSSL:
1470<ul>
1471  <li>Fixed LibreSSL undefined reference when OPENSSL_NO_ENGINE not set. (David Carlier).</li>
1472</ul></li>
1473<li>PDO_Firebird:
1474<ul>
1475  <li>Fix <?php githubissuel('php/php-src', 13119); ?> (Changed to convert float and double values ​​into strings using `H` format).</li>
1476</ul></li>
1477<li>Phar:
1478<ul>
1479  <li><?php bugfix(71465); ?> (PHAR doesn't know about litespeed).</li>
1480  <li>Fixed bug <?php githubissuel('php/php-src', 13037); ?> (PharData incorrectly extracts zip file).</li>
1481</ul></li>
1482<li>Random:
1483<ul>
1484  <li>Fixed bug <?php githubissuel('php/php-src', 13138); ?> (Randomizer::pickArrayKeys() does not detect broken engines).</li>
1485</ul></li>
1486<li>Session:
1487<ul>
1488  <li>Fixed bug <?php githubissuel('php/php-src', 12504); ?> (Corrupted session written when there's a fatal error in autoloader).</li>
1489</ul></li>
1490<li>Standard:
1491<ul>
1492  <li>Fixed bug <?php githubissuel('php/php-src', 13094); ?> (range(9.9, '0') causes segmentation fault).</li>
1493</ul></li>
1494<li>Streams:
1495<ul>
1496  <li>Fixed bug <?php githubissuel('php/php-src', 13071); ?> (Copying large files using mmap-able source streams may exhaust available memory and fail).</li>
1497</ul></li>
1498</ul>
1499<!-- }}} --></section>
1500
1501
1502
1503<section class="version" id="8.3.2"><!-- {{{ 8.3.2 -->
1504<h3>Version 8.3.2</h3>
1505<b><?php release_date('18-Jan-2024'); ?></b>
1506<ul><li>Core:
1507<ul>
1508  <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>
1509  <li>Fixed bug <?php githubissuel('php/php-src', 12999); ?> (zend_strnlen build when strnlen is unsupported).</li>
1510  <li>Fixed bug <?php githubissuel('php/php-src', 12966); ?> (missing cross-compiling 3rd argument so Autoconf doesn't emit warnings).</li>
1511  <li>Fixed bug <?php githubissuel('php/php-src', 12854); ?> (8.3 - as final trait-used method does not correctly report visibility in Reflection).</li>
1512</ul></li>
1513<li>Cli:
1514<ul>
1515  <li>Fix incorrect timeout in built-in web server when using router script and max_input_time.</li>
1516</ul></li>
1517<li>DOM:
1518<ul>
1519  <li>Fixed bug <?php githubissuel('php/php-src', 12870); ?> (Creating an xmlns attribute results in a DOMException).</li>
1520  <li>Fix crash when toggleAttribute() is used without a document.</li>
1521  <li>Fix crash in adoptNode with attribute references.</li>
1522  <li>Fixed bug <?php githubissuel('php/php-src', 13012); ?> (DOMNode::isEqualNode() is incorrect when attribute order is different).</li>
1523</ul></li>
1524<li>FFI:
1525<ul>
1526  <li>Fixed bug <?php githubissuel('php/php-src', 9698); ?> (stream_wrapper_register crashes with FFI\CData).</li>
1527  <li>Fixed bug <?php githubissuel('php/php-src', 12905); ?> (FFI::new interacts badly with observers).</li>
1528</ul></li>
1529<li>Intl:
1530<ul>
1531  <li>Fixed <?php githubissuel('php/php-src', 12943); ?> (IntlDateFormatter::__construct accepts 'C' as valid locale).</li>
1532</ul></li>
1533<li>Hash:
1534<ul>
1535  <li>Fixed bug <?php githubissuel('php/php-src', 12936); ?> (hash() function hangs endlessly if using sha512 on strings &gt;= 4GiB).</li>
1536</ul></li>
1537<li>ODBC:
1538<ul>
1539  <li>Fix crash on Apache shutdown with persistent connections.</li>
1540</ul></li>
1541<li>Opcache:
1542<ul>
1543  <li>Fixed oss-fuzz #64727 (JIT undefined array key warning may overwrite DIM with NULL when DIM is the same var as result).</li>
1544  <li>Added workaround for SELinux mprotect execheap issue. See https://bugzilla.kernel.org/show_bug.cgi?id=218258.</li>
1545</ul></li>
1546<li>OpenSSL:
1547<ul>
1548  <li>Fixed bug <?php githubissuel('php/php-src', 12987); ?> (openssl_csr_sign might leak new cert on error).</li>
1549</ul></li>
1550<li>PDO:
1551<ul>
1552  <li>Fix <?php githubissuel('php/php-src', 12969); ?> (Fixed PDO::getAttribute() to get PDO::ATTR_STRINGIFY_FETCHES).</li>
1553</ul></li>
1554<li>PDO_ODBC:
1555<ul>
1556  <li>Fixed bug <?php githubissuel('php/php-src', 12767); ?> (Unable to turn on autocommit mode with setAttribute()).</li>
1557</ul></li>
1558<li>PGSQL:
1559<ul>
1560  <li>Fixed auto_reset_persistent handling and allow_persistent type.</li>
1561  <li>Fixed bug <?php githubissuel('php/php-src', 12974); ?> (Apache crashes on shutdown when using pg_pconnect()).</li>
1562</ul></li>
1563<li>Phar:
1564<ul>
1565  <li><?php bugfix(77432); ?> (Segmentation fault on including phar file).</li>
1566</ul></li>
1567<li>PHPDBG:
1568<ul>
1569  <li>Fixed bug <?php githubissuel('php/php-src', 12962); ?> (Double free of init_file in phpdbg_prompt.c).</li>
1570</ul></li>
1571<li>SimpleXML:
1572<ul>
1573  <li>Fix getting the address of an uninitialized property of a SimpleXMLElement resulting in a crash.</li>
1574  <li>Fixed bug <?php githubissuel('php/php-src', 12929); ?> (SimpleXMLElement with stream_wrapper_register can segfault).</li>
1575</ul></li>
1576<li>Tidy:
1577<ul>
1578  <li>Fixed bug <?php githubissuel('php/php-src', 12980); ?> (tidynode.props.attribute is missing "Boolean Attributes" and empty attributes).</li>
1579</ul></li>
1580</ul>
1581<!-- }}} --></section>
1582
1583
1584
1585<section class="version" id="8.3.1"><!-- {{{ 8.3.1 -->
1586<h3>Version 8.3.1</h3>
1587<b><?php release_date('21-Dec-2023'); ?></b>
1588<ul><li>Core:
1589<ul>
1590  <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>
1591  <li>Fix various missing NULL checks.</li>
1592  <li>Fixed bug <?php githubissuel('php/php-src', 12835); ?> (Leak of call-&gt;extra_named_params on internal __call).</li>
1593  <li>Fixed bug <?php githubissuel('php/php-src', 12826); ?> (Weird pointers issue in nested loops).</li>
1594</ul></li>
1595<li>FPM:
1596<ul>
1597  <li>Fixed bug <?php githubissuel('php/php-src', 12705); ?> (Segmentation fault in fpm_status_export_to_zval).</li>
1598</ul></li>
1599<li>FTP:
1600<ul>
1601  <li>Fixed bug <?php githubissuel('php/php-src', 9348); ?> (FTP &amp; SSL session reuse).</li>
1602</ul></li>
1603<li>LibXML:
1604<ul>
1605  <li>Fixed test failures for libxml2 2.12.0.</li>
1606</ul></li>
1607<li>MySQLnd:
1608<ul>
1609  <li>Avoid using uninitialised struct.</li>
1610  <li>Fixed bug <?php githubissuel('php/php-src', 12791); ?> (Possible dereference of NULL in MySQLnd debug code).</li>
1611</ul></li>
1612<li>Opcache:
1613<ul>
1614  <li>Fixed JIT bug (Function JIT emits "Uninitialized string offset" warning at the same time as invalid offset Error).</li>
1615  <li>Fixed JIT bug (JIT emits "Attempt to assign property of non-object" warning at the same time as Error is being thrown).</li>
1616</ul></li>
1617<li>PDO PGSQL:
1618<ul>
1619  <li>Fixed the default value of $fetchMode in PDO::pgsqlGetNotify() (kocsismate)</li>
1620</ul></li>
1621<li>SOAP:
1622<ul>
1623  <li>Fixed bug <?php githubissuel('php/php-src', 12838); ?> ([SOAP] Temporary WSDL cache files not being deleted).</li>
1624</ul></li>
1625<li>Standard:
1626<ul>
1627  <li>Fixed <?php githubissuel('php/php-src', 12745); ?> (http_build_query() default null argument for $arg_separator is implicitly coerced to string).</li>
1628</ul></li>
1629</ul>
1630<!-- }}} --></section>
1631
1632
1633
1634<section class="version" id="8.3.0"><!-- {{{ 8.3.0 -->
1635<h3>Version 8.3.0</h3>
1636<b><?php release_date('23-Nov-2023'); ?></b>
1637<ul><li>Bcmath:
1638<ul>
1639  <li>Fixed <?php githubissuel('php/php-src', 11761); ?> (removing trailing zeros from numbers) (jorgsowa)</li>
1640</ul></li>
1641<li>CLI:
1642<ul>
1643  <li>Added pdeathsig to builtin server to terminate workers when the master process is killed.</li>
1644  <li>Fixed bug <?php githubissuel('php/php-src', 11104); ?> (STDIN/STDOUT/STDERR is not available for CLI without a script).</li>
1645  <li>Implement <?php githubissuel('php/php-src', 10024); ?> (support linting multiple files at once using php -l).</li>
1646</ul></li>
1647<li>Core:
1648<ul>
1649  <li>Fix <?php githubissuel('php/php-src', 11388); ?> (Allow "final" modifier when importing a method from a trait).</li>
1650  <li>Fixed bug <?php githubissuel('php/php-src', 11406); ?> (segfault with unpacking and magic method closure).</li>
1651  <li>Fixed bug <?php githubissuel('php/php-src', 9388); ?> (Improve unset property and __get type incompatibility error message).</li>
1652  <li>SA_ONSTACK is now set for signal handlers to be friendlier to other in-process code such as Go's cgo.</li>
1653  <li>SA_ONSTACK is now set when signals are disabled.</li>
1654  <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>
1655  <li>Added shadow stack support for fibers.</li>
1656  <li>Fix bug <?php githubissuel('php/php-src', 9965); ?> (Fix accidental caching of default arguments with side effects).</li>
1657  <li>Implement <?php githubissuel('php/php-src', 10217); ?> (Use strlen() for determining the class_name length).</li>
1658  <li>Fix bug <?php githubissuel('php/php-src', 8821); ?> (Improve line numbers for errors in constant expressions).</li>
1659  <li>Fix bug <?php githubissuel('php/php-src', 10083); ?> (Allow comments between &amp; and parameter).</li>
1660  <li>Zend Max Execution Timers is now enabled by default for ZTS builds on Linux.</li>
1661  <li>Fix bug <?php githubissuel('php/php-src', 10469); ?> (Disallow .. in open_basedir paths set at runtime).</li>
1662  <li>Fix bug <?php githubissuel('php/php-src', 10168); ?>, <?php githubissuel('php/php-src', 10582); ?> (Various segfaults with destructors and VM return values).</li>
1663  <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>
1664  <li>Fix bug <?php githubissuel('php/php-src', 11154); ?> (Negative indices on empty array don't affect next chosen index).</li>
1665  <li>Fix bug <?php githubissuel('php/php-src', 8846); ?> (Implement delayed early binding for classes without parents).</li>
1666  <li>Fix bug #79836 (Segfault in concat_function).</li>
1667  <li>Fix bug #81705 (type confusion/UAF on set_error_handler with concat operation).</li>
1668  <li>Fix <?php githubissuel('php/php-src', 11348); ?> (Closure created from magic method does not accept named arguments).</li>
1669  <li>Fix <?php githubissuel('php/php-src', 11388); ?> (Allow "final" modifier when importing a method from a trait).</li>
1670  <li>Fixed bug <?php githubissuel('php/php-src', 11406); ?> (segfault with unpacking and magic method closure).</li>
1671  <li>Fixed bug <?php githubissuel('php/php-src', 11507); ?> (String concatenation performance regression in 8.3).</li>
1672  <li>Fixed <?php githubissuel('php/php-src', 11488); ?> (Missing "Optional parameter before required" deprecation on union null type).</li>
1673  <li>Implement the #[\Override] attribute RFC.</li>
1674  <li>Fixed bug <?php githubissuel('php/php-src', 11601); ?> (Incorrect handling of unwind and graceful exit exceptions).</li>
1675  <li>Added zend_call_stack_get implementation for OpenBSD.</li>
1676  <li>Add stack limit check in zend_eval_const_expr().</li>
1677  <li>Expose time spent collecting cycles in gc_status().</li>
1678  <li>Remove WeakMap entries whose key is only reachable through the entry value.</li>
1679  <li>Resolve open_basedir paths on INI update.</li>
1680  <li>Fixed oss-fuzz #60741 (Leak in open_basedir).</li>
1681  <li>Fixed segfault during freeing of some incompletely initialized objects due to OOM error (PDO, SPL, XSL).</li>
1682  <li>Introduced Zend guard recursion protection to fix __debugInfo issue.</li>
1683  <li>Fixed oss-fuzz #61712 (assertion failure with error handler during binary op).</li>
1684  <li>Fixed <?php githubissuel('php/php-src', 11847); ?> (DTrace enabled build is broken).</li>
1685  <li>Fixed OSS Fuzz #61865 (Undef variable in ++/-- for declared property that is unset in error handler).</li>
1686  <li>Fixed warning emitted when checking if a user stream is castable.</li>
1687  <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>
1688  <li>Fixed bug <?php githubissuel('php/php-src', 12189); ?> (#[Override] attribute in trait does not check for parent class implementations).</li>
1689  <li>Fixed OSS Fuzz #62294 (Unsetting variable after ++/-- on string variable warning).</li>
1690  <li>Fixed buffer underflow when compiling memoized expression.</li>
1691  <li>Fixed oss-fuzz #63802 (OP1 leak in error path of post inc/dec).</li>
1692</ul></li>
1693<li>Curl:
1694<ul>
1695  <li>Added Curl options and constants up to (including) version 7.87.</li>
1696</ul></li>
1697<li>Date:
1698<ul>
1699  <li>Implement More Appropriate Date/Time Exceptions RFC.</li>
1700</ul></li>
1701<li>DOM:
1702<ul>
1703  <li>Fix bug <?php githubissuel('php/php-src', 8388); ?> (DOMAttr unescapes character reference).</li>
1704  <li>Fix bug <?php githubissuel('php/php-src', 11308); ?> (getElementsByTagName() is O(N^2)).</li>
1705  <li>Fix #79700 (wrong use of libxml oldNs leads to performance problem).</li>
1706  <li>Fix #77894 (DOMNode::C14N() very slow on generated DOMDocuments even after normalisation).</li>
1707  <li>Revert changes to DOMAttr::$value and DOMAttr::$nodeValue expansion.</li>
1708  <li>Fixed bug <?php githubissuel('php/php-src', 11500); ?> (Namespace reuse in createElementNS() generates wrong output).</li>
1709  <li>Implemented DOMDocument::adoptNode(). Previously this always threw a "not yet implemented" exception.</li>
1710  <li>Fixed bug <?php githubissuel('php/php-src', 9628); ?> (Implicitly removing nodes from \DOMDocument breaks existing references).</li>
1711  <li>Added DOMNode::contains() and DOMNameSpaceNode::contains().</li>
1712  <li>Added DOMElement::getAttributeNames().</li>
1713  <li>Added DOMNode::getRootNode().</li>
1714  <li>Added DOMElement::className and DOMElement::id.</li>
1715  <li>Added DOMParentNode::replaceChildren().</li>
1716  <li>Added DOMNode::isConnected and DOMNameSpaceNode::isConnected.</li>
1717  <li>Added DOMNode::parentElement and DOMNameSpaceNode::parentElement.</li>
1718  <li>Added DOMNode::isEqualNode().</li>
1719  <li>Added DOMElement::insertAdjacentElement() and DOMElement::insertAdjacentText().</li>
1720  <li>Added DOMElement::toggleAttribute().</li>
1721  <li>Fixed bug <?php githubissuel('php/php-src', 11792); ?> (LIBXML_NOXMLDECL is not implemented or broken).</li>
1722  <li>adoptNode now respects the strict error checking property.</li>
1723  <li>Align DOMChildNode parent checks with spec.</li>
1724  <li><?php bugfix(80927); ?> (Removing documentElement after creating attribute node: possible use-after-free).</li>
1725  <li>Fix various namespace prefix conflict resolution bugs.</li>
1726  <li>Fix calling createAttributeNS() without prefix causing the default namespace of the element to change.</li>
1727  <li>Fixed <?php githubissuel('php/php-src', 11952); ?> (Confusing warning when blocking entity loading via libxml_set_external_entity_loader).</li>
1728  <li>Fix broken cache invalidation with deallocated and reallocated document node.</li>
1729  <li>Fix compile error when php_libxml.h header is included in C++.</li>
1730  <li><?php bugfix(47531); ?> (No way of removing redundant xmlns: declarations).</li>
1731</ul></li>
1732<li>Exif:
1733<ul>
1734  <li>Removed unneeded codepaths in exif_process_TIFF_in_JPEG().</li>
1735</ul></li>
1736<li>FFI:
1737<ul>
1738  <li>Implement <?php githubissuel('php/php-src', 11934); ?> (Allow to pass CData into struct and/or union fields).</li>
1739</ul></li>
1740<li>Fileinfo:
1741<ul>
1742  <li>Upgrade bundled libmagic to 5.43.</li>
1743  <li>Fix <?php githubissuel('php/php-src', 11408); ?> (Unable to build PHP 8.3.0 alpha 1 / fileinfo extension).</li>
1744</ul></li>
1745<li>FPM:
1746<ul>
1747  <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>
1748  <li>Added warning to log when fpm socket was not registered on the expected path.</li>
1749  <li><?php bugfix(76067); ?> (system() function call leaks php-fpm listening sockets).</li>
1750  <li>Fixed <?php githubissuel('php/php-src', 12077); ?> (PHP 8.3.0RC1 borked socket-close-on-exec.phpt).</li>
1751</ul></li>
1752<li>GD:
1753<ul>
1754  <li>Removed imagerotate "ignore_transparent" argument since it has no effect.</li>
1755</ul></li>
1756<li>Intl:
1757<ul>
1758  <li>Added pattern format error infos for numfmt_set_pattern.</li>
1759  <li>Added MIXED_NUMBERS and HIDDEN_OVERLAY constants for the Spoofchecker's class.</li>
1760  <li>Updated datefmt_set_timezone/IntlDateformatter::setTimezone returns type. (David Carlier).</li>
1761  <li>Updated IntlBreakInterator::setText return type.</li>
1762  <li>Updated IntlChar::enumCharNames return type.</li>
1763  <li>Removed the BC break on IntlDateFormatter::construct which threw an exception with an invalid locale.</li>
1764</ul></li>
1765<li>JSON:
1766<ul>
1767  <li>Added json_validate().</li>
1768</ul></li>
1769<li>LDAP:
1770<ul>
1771  <li>Deprecate calling ldap_connect() with separate hostname and port.</li>
1772</ul></li>
1773<li>LibXML:
1774<ul>
1775  <li>Fix compile error with -Werror=incompatible-function-pointer-types and old libxml2.</li>
1776</ul></li>
1777<li>MBString:
1778<ul>
1779  <li>mb_detect_encoding is better able to identify the correct encoding for Turkish text.</li>
1780  <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>
1781  <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>
1782  <li>mb_detect_encoding is better able to identify UTF-8 and UTF-16 strings with a byte-order mark.</li>
1783  <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>
1784  <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>
1785  <li>Implement mb_str_pad() RFC.</li>
1786  <li>Fixed bug <?php githubissuel('php/php-src', 11514); ?> (PHP 8.3 build fails with --enable-mbstring enabled).</li>
1787  <li>Fix use-after-free of mb_list_encodings() return value.</li>
1788  <li>Fixed bug <?php githubissuel('php/php-src', 11992); ?> (utf_encodings.phpt fails on Windows 32-bit).</li>
1789</ul></li>
1790<li>mysqli:
1791<ul>
1792  <li>mysqli_fetch_object raises a ValueError instead of an Exception.</li>
1793</ul></li>
1794<li>Opcache:
1795<ul>
1796  <li>Added start, restart and force restart time to opcache's phpinfo section.</li>
1797  <li>Fix <?php githubissuel('php/php-src', 9139); ?>: Allow FFI in opcache.preload when opcache.preload_user=root.</li>
1798  <li>Made opcache.preload_user always optional in the cli and phpdbg SAPIs.</li>
1799  <li>Allows W/X bits on page creation on FreeBSD despite system settings.</li>
1800  <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>
1801  <li>Avoid resetting JIT counter handlers from multiple processes/threads.</li>
1802  <li>Fixed COPY_TMP type inference for references.</li>
1803</ul></li>
1804<li>OpenSSL:
1805<ul>
1806  <li>Added OPENSSL_CMS_OLDMIMETYPE and PKCS7_NOOLDMIMETYPE contants to switch between mime content types.</li>
1807  <li>Fixed <?php githubissuel('php/php-src', 11054); ?>: Reset OpenSSL errors when using a PEM public key.</li>
1808  <li>Added support for additional EC parameters in openssl_pkey_new.</li>
1809</ul></li>
1810<li>PCNTL:
1811<ul>
1812  <li>SA_ONSTACK is now set for pcntl_signal.</li>
1813  <li>Added SIGINFO constant.</li>
1814</ul></li>
1815<li>PCRE:
1816<ul>
1817  <li>Update bundled libpcre2 to 10.42.</li>
1818</ul></li>
1819<li>PGSQL:
1820<ul>
1821  <li>pg_fetch_object raises a ValueError instead of an Exception.</li>
1822  <li>pg_cancel use thread safe PQcancel api instead.</li>
1823  <li>pg_trace new PGSQL_TRACE_SUPPRESS_TIMESTAMPS/PGSQL_TRACE_REGRESS_MODE contants support.</li>
1824  <li>pg_set_error_verbosity adding PGSQL_ERRORS_STATE constant.</li>
1825  <li>pg_convert/pg_insert E_WARNING on type errors had been converted to ValueError/TypeError exceptions.</li>
1826  <li>Added pg_set_error_context_visibility to set the context's visibility within the error messages.</li>
1827</ul></li>
1828<li>Phar:
1829<ul>
1830  <li>Fix memory leak in phar_rename_archive().</li>
1831</ul></li>
1832<li>POSIX:
1833<ul>
1834  <li>Added posix_sysconf.</li>
1835  <li>Added posix_pathconf.</li>
1836  <li>Added posix_fpathconf.</li>
1837  <li>Fixed zend_parse_arg_long's bool pointer argument assignment.</li>
1838  <li>Added posix_eaccess.</li>
1839</ul></li>
1840<li>Random:
1841<ul>
1842  <li>Added Randomizer::getBytesFromString().</li>
1843  <li>Added Randomizer::nextFloat(), ::getFloat(), and IntervalBoundary.</li>
1844  <li>Enable getrandom() for NetBSD (from 10.x).</li>
1845  <li>Deprecate MT_RAND_PHP.</li>
1846  <li>Fix Randomizer::getFloat() returning incorrect results under certain circumstances.</li>
1847</ul></li>
1848<li>Reflection:
1849<ul>
1850  <li>Fix <?php githubissuel('php/php-src', 9470); ?> (ReflectionMethod constructor should not find private parent method).</li>
1851  <li>Fix <?php githubissuel('php/php-src', 10259); ?> (ReflectionClass::getStaticProperties doesn't need null return type).</li>
1852</ul></li>
1853<li>SAPI:
1854<ul>
1855  <li>Fixed <?php githubissuel('php/php-src', 11141); ?> (Could not open input file: should be sent to stderr).</li>
1856</ul></li>
1857<li>Session:
1858<ul>
1859  <li>Fixed bug <?php githubissuel('php/php-src', 11529); ?> (Crash after dealing with an Apache request).</li>
1860</ul></li>
1861<li>SimpleXML:
1862<ul>
1863  <li>Fixed bug <?php githubissuel('php/php-src', 12192); ?> (SimpleXML infinite loop when getName() is called within foreach).</li>
1864  <li>Fixed bug <?php githubissuel('php/php-src', 12208); ?> (SimpleXML infinite loop when a cast is used inside a foreach).</li>
1865  <li><?php bugfix(55098); ?> (SimpleXML iteration produces infinite loop).</li>
1866</ul></li>
1867<li>Sockets:
1868<ul>
1869  <li>Added SO_ATTACH_REUSEPORT_CBPF socket option, to give tighter control over socket binding for a cpu core.</li>
1870  <li>Added SKF_AD_QUEUE for cbpf filters.</li>
1871  <li>Added socket_atmark if send/recv needs using MSG_OOB.</li>
1872  <li>Added TCP_QUICKACK constant, to give tigher control over ACK delays.</li>
1873  <li>Added DONTFRAGMENT support for path MTU discovery purpose.</li>
1874  <li>Added AF_DIVERT for raw socket for divert ports.</li>
1875  <li>Added SOL_UPDLITE, UDPLITE_RECV_CSCOV and UDPLITE_SEND_CSCOV for updlite protocol support.</li>
1876  <li>Added SO_RERROR, SO_ZEROIZE and SO_SPLICE netbsd and openbsd constants.</li>
1877  <li>Added TCP_REPAIR for quietly close a connection.</li>
1878  <li>Added SO_REUSEPORT_LB freebsd constant.</li>
1879  <li>Added IP_BIND_ADDRESS_NO_PORT.</li>
1880</ul></li>
1881<li>SPL:
1882<ul>
1883  <li>Fixed <?php githubissuel('php/php-src', 11573); ?> (RecursiveDirectoryIterator::hasChildren is slow).</li>
1884</ul></li>
1885<li>Standard:
1886<ul>
1887  <li>E_NOTICEs emitted by unserialize() have been promoted to E_WARNING.</li>
1888  <li>unserialize() now emits a new E_WARNING if the input contains unconsumed bytes.</li>
1889  <li>Make array_pad's $length warning less confusing.</li>
1890  <li>E_WARNING emitted by strtok in the caase both arguments are not provided when starting tokenisation.</li>
1891  <li>password_hash() will now chain the original RandomException to the ValueError on salt generation failure.</li>
1892  <li>Fix <?php githubissuel('php/php-src', 10239); ?> (proc_close after proc_get_status always returns -1).</li>
1893  <li>Improve the warning message for unpack() in case not enough values were provided.</li>
1894  <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>
1895  <li>Fix <?php githubissuel('php/php-src', 10742); ?> (http_response_code emits no error when headers were already sent).</li>
1896  <li>Added support for rounding negative places in number_format().</li>
1897  <li>Prevent precision loss on formatting decimal integers in number_format().</li>
1898  <li>Added usage of posix_spawn for proc_open when supported by OS.</li>
1899  <li>Added $before_needle argument to strrchr().</li>
1900  <li>Fixed <?php githubissuel('php/php-src', 11982); ?> (str_getcsv returns null byte for unterminated enclosure).</li>
1901  <li>Fixed str_decrement() on "1".</li>
1902</ul></li>
1903<li>Streams:
1904<ul>
1905  <li><?php bugfix(51056); ?>: blocking fread() will block even if data is available.</li>
1906  <li>Added storing of the original path used to open xport stream.</li>
1907  <li>Implement <?php githubissuel('php/php-src', 8641); ?> (STREAM_NOTIFY_COMPLETED over HTTP never emitted).</li>
1908  <li>Fix bug <?php githubissuel('php/php-src', 10406); ?> (fgets on a redis socket connection fails on PHP 8.3).</li>
1909  <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>
1910  <li><?php bugfix(52335); ?> (fseek() on memory stream behavior different than file).</li>
1911  <li><?php bugfix(76857); ?> (Can read "non-existant" files).</li>
1912</ul></li>
1913<li>XSLTProcessor:
1914<ul>
1915  <li><?php bugfix(69168); ?> (DomNode::getNodePath() returns invalid path).</li>
1916</ul></li>
1917<li>ZIP:
1918<ul>
1919  <li>zip extension version 1.22.0 for libzip 1.10.0.</li>
1920  <li>add new error macros (ER_DATA_LENGTH and ER_NOT_ALLOWED).</li>
1921  <li>add new archive global flags (ER_AFL_*).</li>
1922  <li>add ZipArchive::setArchiveFlag and ZipArchive::getArchiveFlag methods.</li>
1923</ul></li>
1924</ul>
1925<!-- }}} --></section>
1926
1927
1928
1929<a id="PHP_8_2"></a>
1930
1931<section class="version" id="8.2.26"><!-- {{{ 8.2.26 -->
1932<h3>Version 8.2.26</h3>
1933<b><?php release_date('21-Nov-2024'); ?></b>
1934<ul><li>CLI:
1935<ul>
1936  <li>Fixed bug <?php githubissuel('php/php-src', 16373); ?> (Shebang is not skipped for router script in cli-server started through shebang).</li>
1937  <li>Fixed bug <?php githubsecurityl('php/php-src', '4w77-75f9-2c8w'); ?> (Heap-Use-After-Free in sapi_read_post_data Processing in CLI SAPI Interface).</li>
1938</ul></li>
1939<li>COM:
1940<ul>
1941  <li>Fixed out of bound writes to SafeArray data.</li>
1942</ul></li>
1943<li>Core:
1944<ul>
1945  <li>Fixed bug <?php githubissuel('php/php-src', 16168); ?> (php 8.1 and earlier crash immediately when compiled with Xcode 16 clang on macOS 15).</li>
1946  <li>Fixed bug <?php githubissuel('php/php-src', 16371); ?> (Assertion failure in Zend/zend_weakrefs.c:646).</li>
1947  <li>Fixed bug <?php githubissuel('php/php-src', 16515); ?> (Incorrect propagation of ZEND_ACC_RETURN_REFERENCE for call trampoline).</li>
1948  <li>Fixed bug <?php githubissuel('php/php-src', 16509); ?> (Incorrect line number in function redeclaration error).</li>
1949  <li>Fixed bug <?php githubissuel('php/php-src', 16508); ?> (Incorrect line number in inheritance errors of delayed early bound classes).</li>
1950  <li>Fixed bug <?php githubissuel('php/php-src', 16648); ?> (Use-after-free during array sorting).</li>
1951</ul></li>
1952<li>Curl:
1953<ul>
1954  <li>Fixed bug <?php githubissuel('php/php-src', 16302); ?> (CurlMultiHandle holds a reference to CurlHandle if curl_multi_add_handle fails).</li>
1955</ul></li>
1956<li>Date:
1957<ul>
1958  <li>Fixed bug <?php githubissuel('php/php-src', 16454); ?> (Unhandled INF in date_sunset() with tiny $utcOffset).</li>
1959  <li>Fixed bug <?php githubissuel('php/php-src', 16037); ?> (Assertion failure in ext/date/php_date.c).</li>
1960  <li>Fixed bug <?php githubissuel('php/php-src', 14732); ?> (date_sun_info() fails for non-finite values).</li>
1961</ul></li>
1962<li>DBA:
1963<ul>
1964  <li>Fixed bug <?php githubissuel('php/php-src', 16390); ?> (dba_open() can segfault for "pathless" streams).</li>
1965</ul></li>
1966<li>DOM:
1967<ul>
1968  <li>Fixed bug <?php githubissuel('php/php-src', 16316); ?> (DOMXPath breaks when not initialized properly).</li>
1969  <li>Fixed bug <?php githubissuel('php/php-src', 16473); ?> (dom_import_simplexml stub is wrong).</li>
1970  <li>Fixed bug <?php githubissuel('php/php-src', 16533); ?> (Segfault when adding attribute to parent that is not an element).</li>
1971  <li>Fixed bug <?php githubissuel('php/php-src', 16535); ?> (UAF when using document as a child).</li>
1972  <li>Fixed bug <?php githubissuel('php/php-src', 16593); ?> (Assertion failure in DOM-&gt;replaceChild).</li>
1973  <li>Fixed bug <?php githubissuel('php/php-src', 16595); ?> (Another UAF in DOM -&gt; cloneNode).</li>
1974</ul></li>
1975<li>EXIF:
1976<ul>
1977  <li>Fixed bug <?php githubissuel('php/php-src', 16409); ?> (Segfault in exif_thumbnail when not dealing with a real file).</li>
1978</ul></li>
1979<li>FFI:
1980<ul>
1981  <li>Fixed bug <?php githubissuel('php/php-src', 16397); ?> (Segmentation fault when comparing FFI object).</li>
1982</ul></li>
1983<li>Filter:
1984<ul>
1985  <li>Fixed bug <?php githubissuel('php/php-src', 16523); ?> (FILTER_FLAG_HOSTNAME accepts ending hyphen).</li>
1986</ul></li>
1987<li>FPM:
1988<ul>
1989  <li>Fixed bug <?php githubissuel('php/php-src', 16628); ?> (FPM logs are getting corrupted with this log statement).</li>
1990</ul></li>
1991<li>GD:
1992<ul>
1993  <li>Fixed bug <?php githubissuel('php/php-src', 16334); ?> (imageaffine overflow on matrix elements).</li>
1994  <li>Fixed bug <?php githubissuel('php/php-src', 16427); ?> (Unchecked libavif return values).</li>
1995  <li>Fixed bug <?php githubissuel('php/php-src', 16559); ?> (UBSan abort in ext/gd/libgd/gd_interpolation.c:1007).</li>
1996</ul></li>
1997<li>GMP:
1998<ul>
1999  <li>Fixed floating point exception bug with gmp_pow when using large exposant values. (David Carlier).</li>
2000  <li>Fixed bug <?php githubissuel('php/php-src', 16411); ?> (gmp_export() can cause overflow).</li>
2001  <li>Fixed bug <?php githubissuel('php/php-src', 16501); ?> (gmp_random_bits() can cause overflow).</li>
2002  <li>Fixed gmp_pow() overflow bug with large base/exponents.</li>
2003  <li>Fixed segfaults and other issues related to operator overloading with GMP objects.</li>
2004</ul></li>
2005<li>LDAP:
2006<ul>
2007  <li>Fixed bug <?php githubsecurityl('php/php-src', 'g665-fm4p-vhff'); ?> (OOB access in ldap_escape). (CVE-2024-8932)</li>
2008</ul></li>
2009<li>MBstring:
2010<ul>
2011  <li>Fixed bug <?php githubissuel('php/php-src', 16361); ?> (mb_substr overflow on start/length arguments).</li>
2012</ul></li>
2013<li>MySQLnd:
2014<ul>
2015  <li>Fixed bug <?php githubsecurityl('php/php-src', 'h35g-vwh6-m678'); ?> (Leak partial content of the heap through heap buffer over-read). (CVE-2024-8929)</li>
2016</ul></li>
2017<li>OpenSSL:
2018<ul>
2019  <li>Fixed bug <?php githubissuel('php/php-src', 16357); ?> (openssl may modify member types of certificate arrays).</li>
2020  <li>Fixed bug <?php githubissuel('php/php-src', 16433); ?> (Large values for openssl_csr_sign() $days overflow).</li>
2021  <li>Fix various memory leaks on error conditions in openssl_x509_parse().</li>
2022</ul></li>
2023<li>PDO DBLIB:
2024<ul>
2025  <li>Fixed bug <?php githubsecurityl('php/php-src', '5hqh-c84r-qjcv'); ?> (Integer overflow in the dblib quoter causing OOB writes). (CVE-2024-11236)</li>
2026</ul></li>
2027<li>PDO Firebird:
2028<ul>
2029  <li>Fixed bug <?php githubsecurityl('php/php-src', '5hqh-c84r-qjcv'); ?> (Integer overflow in the firebird quoter causing OOB writes). (CVE-2024-11236)</li>
2030</ul></li>
2031<li>PDO ODBC:
2032<ul>
2033  <li>Fixed bug <?php githubissuel('php/php-src', 16450); ?> (PDO_ODBC can inject garbage into field values).</li>
2034</ul></li>
2035<li>Phar:
2036<ul>
2037  <li>Fixed bug <?php githubissuel('php/php-src', 16406); ?> (Assertion failure in ext/phar/phar.c:2808).</li>
2038</ul></li>
2039<li>PHPDBG:
2040<ul>
2041  <li>Fixed bug <?php githubissuel('php/php-src', 16174); ?> (Empty string is an invalid expression for ev).</li>
2042</ul></li>
2043<li>Reflection:
2044<ul>
2045  <li>Fixed bug <?php githubissuel('php/php-src', 16601); ?> (Memory leak in Reflection constructors).</li>
2046</ul></li>
2047<li>Session:
2048<ul>
2049  <li>Fixed bug <?php githubissuel('php/php-src', 16385); ?> (Unexpected null returned by session_set_cookie_params).</li>
2050  <li>Fixed bug <?php githubissuel('php/php-src', 16290); ?> (overflow on cookie_lifetime ini value).</li>
2051</ul></li>
2052<li>SOAP:
2053<ul>
2054  <li>Fixed bug <?php githubissuel('php/php-src', 16429); ?> (Segmentation fault access null pointer in SoapClient).</li>
2055</ul></li>
2056<li>Sockets:
2057<ul>
2058  <li>Fixed bug with overflow socket_recvfrom $length argument.</li>
2059</ul></li>
2060<li>SPL:
2061<ul>
2062  <li>Fixed bug <?php githubissuel('php/php-src', 16337); ?> (Use-after-free in SplHeap).</li>
2063  <li>Fixed bug <?php githubissuel('php/php-src', 16464); ?> (Use-after-free in SplDoublyLinkedList::offsetSet()).</li>
2064  <li>Fixed bug <?php githubissuel('php/php-src', 16479); ?> (Use-after-free in SplObjectStorage::setInfo()).</li>
2065  <li>Fixed bug <?php githubissuel('php/php-src', 16478); ?> (Use-after-free in SplFixedArray::unset()).</li>
2066  <li>Fixed bug <?php githubissuel('php/php-src', 16588); ?> (UAF in Observer-&gt;serialize).</li>
2067  <li>Fix <?php githubissuel('php/php-src', 16477); ?> (Segmentation fault when calling __debugInfo() after failed SplFileObject::__constructor).</li>
2068  <li>Fixed bug <?php githubissuel('php/php-src', 16589); ?> (UAF in SplDoublyLinked-&gt;serialize()).</li>
2069  <li>Fixed bug <?php githubissuel('php/php-src', 14687); ?> (segfault on SplObjectIterator instance).</li>
2070  <li>Fixed bug <?php githubissuel('php/php-src', 16604); ?> (Memory leaks in SPL constructors).</li>
2071  <li>Fixed bug <?php githubissuel('php/php-src', 16646); ?> (UAF in ArrayObject::unset() and ArrayObject::exchangeArray()).</li>
2072</ul></li>
2073<li>Standard:
2074<ul>
2075  <li>Fixed bug <?php githubissuel('php/php-src', 16293); ?> (Failed assertion when throwing in assert() callback with bail enabled).</li>
2076</ul></li>
2077<li>Streams:
2078<ul>
2079  <li>Fixed bug <?php githubsecurityl('php/php-src', 'c5f2-jwm7-mmq2'); ?> (Configuring a proxy in a stream context might allow for CRLF injection in URIs). (CVE-2024-11234)</li>
2080  <li>Fixed bug <?php githubsecurityl('php/php-src', 'r977-prxv-hc43'); ?> (Single byte overread with convert.quoted-printable-decode filter). (CVE-2024-11233)</li>
2081</ul></li>
2082<li>SysVMsg:
2083<ul>
2084  <li>Fixed bug <?php githubissuel('php/php-src', 16592); ?> (msg_send() crashes when a type does not properly serialized).</li>
2085</ul></li>
2086<li>SysVShm:
2087<ul>
2088  <li>Fixed bug <?php githubissuel('php/php-src', 16591); ?> (Assertion error in shm_put_var).</li>
2089</ul></li>
2090<li>XMLReader:
2091<ul>
2092  <li>Fixed bug <?php githubissuel('php/php-src', 16292); ?> (Segmentation fault in ext/xmlreader/php_xmlreader.c).</li>
2093</ul></li>
2094<li>Zlib:
2095<ul>
2096  <li>Fixed bug <?php githubissuel('php/php-src', 16326); ?> (Memory management is broken for bad dictionaries.) (cmb)</li>
2097</ul></li>
2098</ul>
2099<!-- }}} --></section>
2100
2101
2102
2103<section class="version" id="8.2.25"><!-- {{{ 8.2.25 -->
2104<h3>Version 8.2.25</h3>
2105<b><?php release_date('24-Oct-2024'); ?></b>
2106<ul><li>Calendar:
2107<ul>
2108  <li>Fixed <?php githubissuel('php/php-src', 16240); ?>: jdtounix overflow on argument value.</li>
2109  <li>Fixed <?php githubissuel('php/php-src', 16241); ?>: easter_days/easter_date overflow on year argument.</li>
2110  <li>Fixed <?php githubissuel('php/php-src', 16263); ?>: jddayofweek overflow.</li>
2111  <li>Fixed <?php githubissuel('php/php-src', 16234); ?>: jewishtojd overflow.</li>
2112</ul></li>
2113<li>CLI:
2114<ul>
2115  <li>Fixed bug <?php githubissuel('php/php-src', 16137); ?>: duplicate http headers when set several times by the client.</li>
2116</ul></li>
2117<li>Core:
2118<ul>
2119  <li>Fixed bug <?php githubissuel('php/php-src', 15712); ?>: zend_strtod overflow with precision INI set on large value.</li>
2120  <li>Fixed bug <?php githubissuel('php/php-src', 15905); ?> (Assertion failure for TRACK_VARS_SERVER).</li>
2121  <li>Fixed bug <?php githubissuel('php/php-src', 15907); ?> (Failed assertion when promoting Serialize deprecation to exception).</li>
2122  <li>Fixed bug <?php githubissuel('php/php-src', 15851); ?> (Segfault when printing backtrace during cleanup of nested generator frame).</li>
2123  <li>Fixed bug <?php githubissuel('php/php-src', 15866); ?> (Core dumped in Zend/zend_generators.c).</li>
2124  <li>Fixed bug <?php githubissuel('php/php-src', 16188); ?> (Assertion failure in Zend/zend_exceptions.c).</li>
2125  <li>Fixed bug <?php githubissuel('php/php-src', 16233); ?> (Observer segfault when calling user function in internal function via trampoline).</li>
2126</ul></li>
2127<li>Date:
2128<ul>
2129  <li>Fixed bug <?php githubissuel('php/php-src', 15582); ?>: Crash when not calling parent constructor of DateTimeZone.</li>
2130  <li>Fixed regression where signs after the first one were ignored while parsing a signed integer, with the DateTimeInterface::modify() function.</li>
2131</ul></li>
2132<li>DOM:
2133<ul>
2134  <li>Fixed bug <?php githubissuel('php/php-src', 16039); ?> (Segmentation fault (access null pointer) in ext/dom/parentnode/tree.c).</li>
2135  <li>Fixed bug <?php githubissuel('php/php-src', 16151); ?> (Assertion failure in ext/dom/parentnode/tree.c).</li>
2136</ul></li>
2137<li>GD:
2138<ul>
2139  <li>Fixed bug <?php githubissuel('php/php-src', 16232); ?> (bitshift overflow on wbmp file content reading / fix backport from upstream).</li>
2140  <li>Fixed bug <?php githubissuel('php/php-src', 12264); ?> (overflow/underflow on imagerotate degrees value) (David Carlier)</li>
2141  <li>Fixed bug <?php githubissuel('php/php-src', 16274); ?> (imagescale underflow on RBG channels / fix backport from upstream).</li>
2142</ul></li>
2143<li>LDAP:
2144<ul>
2145  <li>Fixed bug <?php githubissuel('php/php-src', 16032); ?> (Various NULL pointer dereferencements in ldap_modify_batch()).</li>
2146  <li>Fixed bug <?php githubissuel('php/php-src', 16101); ?> (Segfault in ldap_list(), ldap_read(), and ldap_search() when LDAPs array is not a list).</li>
2147  <li>Fix <?php githubissuel('php/php-src', 16132); ?> (php_ldap_do_modify() attempts to free pointer not allocated by ZMM.).</li>
2148  <li>Fix <?php githubissuel('php/php-src', 16136); ?> (Memory leak in php_ldap_do_modify() when entry is not a proper dictionary).</li>
2149</ul></li>
2150<li>MBString:
2151<ul>
2152  <li>Fixed bug <?php githubissuel('php/php-src', 16261); ?> (Reference invariant broken in mb_convert_variables()).</li>
2153</ul></li>
2154<li>OpenSSL:
2155<ul>
2156  <li>Fixed stub for openssl_csr_new.</li>
2157</ul></li>
2158<li>PCRE:
2159<ul>
2160  <li>Fixed bug <?php githubissuel('php/php-src', 16189); ?> (underflow on offset argument).</li>
2161  <li>Fixed bug <?php githubissuel('php/php-src', 16184); ?> (UBSan address overflowed in ext/pcre/php_pcre.c).</li>
2162</ul></li>
2163<li>PHPDBG:
2164<ul>
2165  <li>Fixed bug <?php githubissuel('php/php-src', 15901); ?> (phpdbg: Assertion failure on i funcs).</li>
2166  <li>Fixed bug <?php githubissuel('php/php-src', 16181); ?> (phpdbg: exit in exception handler reports fatal error).</li>
2167</ul></li>
2168<li>Reflection:
2169<ul>
2170  <li>Fixed bug <?php githubissuel('php/php-src', 16187); ?> (Assertion failure in ext/reflection/php_reflection.c).</li>
2171</ul></li>
2172<li>SAPI:
2173<ul>
2174  <li>Fixed bug <?php githubissuel('php/php-src', 15395); ?> (php-fpm: zend_mm_heap corrupted with cgi-fcgi request).</li>
2175</ul></li>
2176<li>SimpleXML:
2177<ul>
2178  <li>Fixed bug <?php githubissuel('php/php-src', 15837); ?> (Segmentation fault in ext/simplexml/simplexml.c).</li>
2179</ul></li>
2180<li>Sockets:
2181<ul>
2182  <li>Fixed bug <?php githubissuel('php/php-src', 16267); ?> (socket_strerror overflow on errno argument).</li>
2183</ul></li>
2184<li>SOAP:
2185<ul>
2186  <li><?php bugfix(62900); ?> (Wrong namespace on xsd import error message).</li>
2187  <li>Fixed bug <?php githubissuel('php/php-src', 16237); ?> (Segmentation fault when cloning SoapServer).</li>
2188  <li>Fix Soap leaking http_msg on error.</li>
2189  <li>Fixed bug <?php githubissuel('php/php-src', 16256); ?> (Assertion failure in ext/soap/php_encoding.c:460).</li>
2190  <li>Fixed bug <?php githubissuel('php/php-src', 16259); ?> (Soap segfault when classmap instantiation fails).</li>
2191</ul></li>
2192<li>Standard:
2193<ul>
2194  <li>Fixed bug <?php githubissuel('php/php-src', 15613); ?> (overflow on unpack call hex string repeater).</li>
2195  <li>Fixed bug <?php githubissuel('php/php-src', 15937); ?> (overflow on stream timeout option value).</li>
2196  <li>Fixed bug <?php githubissuel('php/php-src', 16053); ?> (Assertion failure in Zend/zend_hash.c).</li>
2197</ul></li>
2198<li>Streams:
2199<ul>
2200  <li>Fixed bugs <?php githubissuel('php/php-src', 15908); ?> and <?php githubissuel('php/php-src', 15026); ?> (leak / assertion failure in streams.c).</li>
2201  <li>Fixed bug <?php githubissuel('php/php-src', 15980); ?> (Signed integer overflow in main/streams/streams.c).</li>
2202</ul></li>
2203<li>TSRM:
2204<ul>
2205  <li>Prevent closing of unrelated handles.</li>
2206</ul></li>
2207<li>XML:
2208<ul>
2209  <li>Fixed bug <?php githubissuel('php/php-src', 15868); ?> (Assertion failure in xml_parse_into_struct after exception).</li>
2210</ul></li>
2211</ul>
2212<!-- }}} --></section>
2213
2214
2215
2216<section class="version" id="8.2.24"><!-- {{{ 8.2.24 -->
2217<h3>Version 8.2.24</h3>
2218<b><?php release_date('26-Sep-2024'); ?></b>
2219<ul><li>CGI:
2220<ul>
2221  <li>Fixed bug GHSA-p99j-rfp4-xqvq (Bypass of CVE-2024-4577, Parameter Injection Vulnerability). (CVE-2024-8926)</li>
2222  <li>Fixed bug GHSA-94p6-54jq-9mwp (cgi.force_redirect configuration is bypassable due to the environment variable collision). (CVE-2024-8927)</li>
2223</ul></li>
2224<li>Core:
2225<ul>
2226  <li>Fixed bug <?php githubissuel('php/php-src', 15408); ?> (MSan false-positve on zend_max_execution_timer).</li>
2227  <li>Fixed bug <?php githubissuel('php/php-src', 15515); ?> (Configure error grep illegal option q).</li>
2228  <li>Fixed bug <?php githubissuel('php/php-src', 15514); ?> (Configure error: genif.sh: syntax error).</li>
2229  <li>Fixed bug <?php githubissuel('php/php-src', 15565); ?> (--disable-ipv6 during compilation produces error EAI_SYSTEM not found).</li>
2230  <li>Fixed bug <?php githubissuel('php/php-src', 15587); ?> (CRC32 API build error on arm 32-bit).</li>
2231  <li>Fixed bug <?php githubissuel('php/php-src', 15330); ?> (Do not scan generator frames more than once).</li>
2232  <li>Fixed uninitialized lineno in constant AST of internal enums.</li>
2233</ul></li>
2234<li>Curl:
2235<ul>
2236  <li>FIxed bug <?php githubissuel('php/php-src', 15547); ?> (curl_multi_select overflow on timeout argument).</li>
2237</ul></li>
2238<li>DOM:
2239<ul>
2240  <li>Fixed bug <?php githubissuel('php/php-src', 15551); ?> (Segmentation fault (access null pointer) in ext/dom/xml_common.h).</li>
2241</ul></li>
2242<li>Fileinfo:
2243<ul>
2244  <li>Fixed bug <?php githubissuel('php/php-src', 15752); ?> (Incorrect error message for finfo_file with an empty filename argument).</li>
2245</ul></li>
2246<li>FPM:
2247<ul>
2248  <li>Fixed bug GHSA-865w-9rf3-2wh5 (Logs from childrens may be altered). (CVE-2024-9026)</li>
2249</ul></li>
2250<li>MySQLnd:
2251<ul>
2252  <li>Fixed bug <?php githubissuel('php/php-src', 15432); ?> (Heap corruption when querying a vector).</li>
2253</ul></li>
2254<li>Opcache:
2255<ul>
2256  <li>Fixed bug <?php githubissuel('php/php-src', 15661); ?> (Access null pointer in Zend/Optimizer/zend_inference.c).</li>
2257  <li>Fixed bug <?php githubissuel('php/php-src', 15658); ?> (Segmentation fault in Zend/zend_vm_execute.h).</li>
2258</ul></li>
2259<li>SAPI:
2260<ul>
2261  <li>Fixed bug GHSA-9pqp-7h25-4f32 (Erroneous parsing of multipart form data). (CVE-2024-8925)</li>
2262</ul></li>
2263<li>SOAP:
2264<ul>
2265  <li><?php bugfix(73182); ?> (PHP SOAPClient does not support stream context HTTP headers in array form).</li>
2266</ul></li>
2267<li>Standard:
2268<ul>
2269  <li>Fixed bug <?php githubissuel('php/php-src', 15552); ?> (Signed integer overflow in ext/standard/scanf.c).</li>
2270</ul></li>
2271<li>Streams:
2272<ul>
2273  <li>Fixed bug <?php githubissuel('php/php-src', 15628); ?> (php_stream_memory_get_buffer() not zero-terminated).</li>
2274</ul></li>
2275</ul>
2276<!-- }}} --></section>
2277
2278
2279
2280<section class="version" id="8.2.23"><!-- {{{ 8.2.23 -->
2281<h3>Version 8.2.23</h3>
2282<b><?php release_date('29-Aug-2024'); ?></b>
2283<ul><li>Core:
2284<ul>
2285  <li>Fixed bug <?php githubissuel('php/php-src', 15020); ?> (Memory leak in Zend/Optimizer/escape_analysis.c).</li>
2286  <li>Fixed bug <?php githubissuel('php/php-src', 15023); ?> (Memory leak in Zend/zend_ini.c).</li>
2287  <li>Fixed bug <?php githubissuel('php/php-src', 13330); ?> (Append -Wno-implicit-fallthrough flag conditionally).</li>
2288  <li>Fix uninitialized memory in network.c.</li>
2289  <li>Fixed bug <?php githubissuel('php/php-src', 15108); ?> (Segfault when destroying generator during shutdown).</li>
2290  <li>Fixed bug <?php githubissuel('php/php-src', 15275); ?> (Crash during GC of suspended generator delegate).</li>
2291</ul></li>
2292<li>Curl:
2293<ul>
2294  <li>Fixed case when curl_error returns an empty string.</li>
2295</ul></li>
2296<li>DOM:
2297<ul>
2298  <li>Fix UAF when removing doctype and using foreach iteration.</li>
2299</ul></li>
2300<li>FFI:
2301<ul>
2302  <li>Fixed bug <?php githubissuel('php/php-src', 14286); ?> (ffi enum type (when enum has no name) make memory leak).</li>
2303</ul></li>
2304<li>Hash:
2305<ul>
2306  <li>Fix crash when converting array data for array in shm in xxh3.</li>
2307</ul></li>
2308<li>Intl:
2309<ul>
2310  <li>Fixed bug <?php githubissuel('php/php-src', 15087); ?> (IntlChar::foldCase()'s $option is not optional).</li>
2311</ul></li>
2312<li>Opcache:
2313<ul>
2314  <li>Fixed bug <?php githubissuel('php/php-src', 13817); ?> (Segmentation fault for enabled observers after pass 4).</li>
2315  <li>Fixed bug <?php githubissuel('php/php-src', 13775); ?> (Memory leak possibly related to opcache SHM placement).</li>
2316</ul></li>
2317<li>Output:
2318<ul>
2319  <li>Fixed bug <?php githubissuel('php/php-src', 15179); ?> (Segmentation fault (null pointer dereference) in ext/standard/url_scanner_ex.re).</li>
2320</ul></li>
2321<li>PDO_Firebird:
2322<ul>
2323  <li>Fix bogus fallthrough path in firebird_handle_get_attribute().</li>
2324</ul></li>
2325<li>PHPDBG:
2326<ul>
2327  <li>Fixed bug <?php githubissuel('php/php-src', 13199); ?> (EOF emits redundant prompt in phpdbg local console mode with libedit/readline).</li>
2328  <li>Fixed bug <?php githubissuel('php/php-src', 15268); ?> (heap buffer overflow in phpdbg (zend_hash_num_elements() Zend/zend_hash.h)).</li>
2329  <li>Fixed bug <?php githubissuel('php/php-src', 15210); ?> use-after-free on watchpoint allocations.</li>
2330</ul></li>
2331<li>Soap:
2332<ul>
2333  <li><?php bugfix(55639); ?> (Digest autentication dont work).</li>
2334  <li>Fix SoapFault property destruction.</li>
2335  <li>Fixed bug <?php githubissuel('php/php-src', 15252); ?> (SOAP XML broken since PHP 8.3.9 when using classmap constructor option).</li>
2336</ul></li>
2337<li>Standard:
2338<ul>
2339  <li>Fix passing non-finite timeout values in stream functions.</li>
2340  <li>Fixed <?php githubissuel('php/php-src', 14780); ?> p(f)sockopen timeout overflow.</li>
2341</ul></li>
2342<li>Streams:
2343<ul>
2344  <li>Fixed bug <?php githubissuel('php/php-src', 15028); ?> (Memory leak in ext/phar/stream.c).</li>
2345  <li>Fixed bug <?php githubissuel('php/php-src', 15034); ?> (Integer overflow on stream_notification_callback byte_max parameter with files bigger than 2GB).</li>
2346</ul></li>
2347<li>Tidy:
2348<ul>
2349  <li>Fix memory leaks in ext/tidy basedir restriction code.</li>
2350</ul></li>
2351</ul>
2352<!-- }}} --></section>
2353
2354
2355
2356<section class="version" id="8.2.22"><!-- {{{ 8.2.22 -->
2357<h3>Version 8.2.22</h3>
2358<b><?php release_date('01-Aug-2024'); ?></b>
2359<ul><li>Core:
2360<ul>
2361  <li>Fixed bug <?php githubissuel('php/php-src', 13922); ?> (Fixed support for systems with sysconf(_SC_GETPW_R_SIZE_MAX) == -1).</li>
2362  <li>Fixed bug <?php githubissuel('php/php-src', 14626); ?> (Fix is_zend_ptr() for huge blocks).</li>
2363  <li>Fixed bug <?php githubissuel('php/php-src', 14590); ?> (Memory leak in FPM test gh13563-conf-bool-env.phpt.</li>
2364  <li>Fixed OSS-Fuzz #69765.</li>
2365  <li>Fixed bug <?php githubissuel('php/php-src', 14741); ?> (Segmentation fault in Zend/zend_types.h).</li>
2366  <li>Fixed bug <?php githubissuel('php/php-src', 14969); ?> (Use-after-free in property coercion with __toString()).</li>
2367</ul></li>
2368<li>Dom:
2369<ul>
2370  <li>Fixed bug <?php githubissuel('php/php-src', 14702); ?> (DOMDocument::xinclude() crash).</li>
2371</ul></li>
2372<li>Gd:
2373<ul>
2374  <li>ext/gd/tests/gh10614.phpt: skip if no PNG support.</li>
2375  <li>restored warning instead of fata error.</li>
2376</ul></li>
2377<li>LibXML:
2378<ul>
2379  <li>Fixed bug <?php githubissuel('php/php-src', 14563); ?> (Build failure with libxml2 v2.13.0).</li>
2380</ul></li>
2381<li>Opcache:
2382<ul>
2383  <li>Fixed bug <?php githubissuel('php/php-src', 14550); ?> (No warning message when Zend DTrace is enabled that opcache.jit is implictly disabled).</li>
2384</ul></li>
2385<li>Output:
2386<ul>
2387  <li>Fixed bug <?php githubissuel('php/php-src', 14808); ?> (Unexpected null pointer in Zend/zend_string.h with empty output buffer).</li>
2388</ul></li>
2389<li>PDO:
2390<ul>
2391  <li>Fixed bug <?php githubissuel('php/php-src', 14712); ?> (Crash with PDORow access to null property).</li>
2392</ul></li>
2393<li>Phar:
2394<ul>
2395  <li>Fixed bug <?php githubissuel('php/php-src', 14603); ?> (null string from zip entry).</li>
2396</ul></li>
2397<li>PHPDBG:
2398<ul>
2399  <li>Fixed bug <?php githubissuel('php/php-src', 14596); ?> (crashes with ASAN and ZEND_RC_DEBUG=1).</li>
2400  <li>Fixed bug <?php githubissuel('php/php-src', 14553); ?> (echo output trimmed at NULL byte).</li>
2401</ul></li>
2402<li>Shmop:
2403<ul>
2404  <li>Fixed bug <?php githubissuel('php/php-src', 14537); ?> (shmop Windows 11 crashes the process).</li>
2405</ul></li>
2406<li>SimpleXML:
2407<ul>
2408  <li>Fixed bug <?php githubissuel('php/php-src', 14638); ?> (null dereference after XML parsing failure).</li>
2409</ul></li>
2410<li>SPL:
2411<ul>
2412  <li>Fixed bug <?php githubissuel('php/php-src', 14639); ?> (Member access within null pointer in ext/spl/spl_observer.c).</li>
2413</ul></li>
2414<li>Standard:
2415<ul>
2416  <li>Fix 32-bit wordwrap test failures.</li>
2417  <li>Fixed bug <?php githubissuel('php/php-src', 14774); ?> (time_sleep_until overflow).</li>
2418</ul></li>
2419<li>Tidy:
2420<ul>
2421  <li>Fix memory leak in tidy_repair_file().</li>
2422</ul></li>
2423<li>Treewide:
2424<ul>
2425  <li>Fix compatibility with libxml2 2.13.2.</li>
2426</ul></li>
2427<li>XML:
2428<ul>
2429  <li>Move away from to-be-deprecated libxml fields.</li>
2430  <li>Fixed bug <?php githubissuel('php/php-src', 14834); ?> (Error installing PHP when --with-pear is used).</li>
2431</ul></li>
2432</ul>
2433<!-- }}} --></section>
2434
2435
2436
2437<section class="version" id="8.2.21"><!-- {{{ 8.2.21 -->
2438<h3>Version 8.2.21</h3>
2439<b><?php release_date('04-Jul-2024'); ?></b>
2440<ul><li>Core:
2441<ul>
2442  <li>Fixed bug <?php githubissuel('php/php-src', 14315); ?> (Incompatible pointer type warnings).</li>
2443  <li>Fixed bug <?php githubissuel('php/php-src', 12814); ?> (max_execution_time reached too early on MacOS 14 when running on Apple Silicon).</li>
2444  <li>Fixed bug <?php githubissuel('php/php-src', 14387); ?> (Crash when stack walking in destructor of yielded from values during Generator-&gt;throw()).</li>
2445  <li>Fixed bug <?php githubissuel('php/php-src', 14456); ?> (Attempting to initialize class with private constructor calls destructor).</li>
2446  <li>Fixed bug <?php githubissuel('php/php-src', 14549); ?> (Incompatible function pointer type for fclose).</li>
2447</ul></li>
2448<li>BCMatch:
2449<ul>
2450  <li>Fixed bug (bcpowmod() with mod = -1 returns 1 when it must be 0).</li>
2451</ul></li>
2452<li>Curl:
2453<ul>
2454  <li>Fixed bug <?php githubissuel('php/php-src', 14307); ?> (Test curl_basic_024 fails with curl 8.8.0).</li>
2455</ul></li>
2456<li>DOM:
2457<ul>
2458  <li>Fixed bug <?php githubissuel('php/php-src', 14343); ?> (Memory leak in xml and dom).</li>
2459</ul></li>
2460<li>FPM:
2461<ul>
2462  <li>Fixed bug <?php githubissuel('php/php-src', 14037); ?> (PHP-FPM ping.path and ping.response config vars are ignored in status pool).</li>
2463</ul></li>
2464<li>GD:
2465<ul>
2466  <li>Fix parameter numbers for imagecolorset().</li>
2467</ul></li>
2468<li>Intl:
2469<ul>
2470  <li>Fix reference handling in SpoofChecker.</li>
2471</ul></li>
2472<li>MySQLnd:
2473<ul>
2474  <li>Partially fix bug <?php githubissuel('php/php-src', 10599); ?> (Apache crash on Windows when using a self-referencing anonymous function inside a class with an active mysqli connection).</li>
2475</ul></li>
2476<li>Opcache:
2477<ul>
2478  <li>Fixed bug <?php githubissuel('php/php-src', 14267); ?> (opcache.jit=off does not allow enabling JIT at runtime).</li>
2479  <li>Fixed TLS access in JIT on FreeBSD/amd64.</li>
2480  <li>Fixed bug <?php githubissuel('php/php-src', 11188); ?> (Error when building TSRM in ARM64).</li>
2481</ul></li>
2482<li>PDO ODBC:
2483<ul>
2484  <li>Fixed bug <?php githubissuel('php/php-src', 14367); ?> (incompatible SDWORD type with iODBC).</li>
2485</ul></li>
2486<li>PHPDBG:
2487<ul>
2488  <li>Fixed bug <?php githubissuel('php/php-src', 13681); ?> (segfault on watchpoint addition failure).</li>
2489</ul></li>
2490<li>Soap:
2491<ul>
2492  <li><?php bugfix(47925); ?> (PHPClient can't decompress response).</li>
2493  <li>Fix missing error restore code.</li>
2494  <li>Fix memory leak if calling SoapServer::setObject() twice.</li>
2495  <li>Fix memory leak if calling SoapServer::setClass() twice.</li>
2496  <li>Fix reading zlib ini settings in ext-soap.</li>
2497  <li>Fix memory leaks with string function name lookups.</li>
2498  <li><?php bugfix(69280); ?> (SoapClient classmap doesn't support fully qualified class name).</li>
2499  <li><?php bugfix(76232); ?> (SoapClient Cookie Header Semicolon).</li>
2500  <li>Fixed memory leaks when calling SoapFault::__construct() twice.</li>
2501</ul></li>
2502<li>Sodium:
2503<ul>
2504  <li>Fix memory leaks in ext/sodium on failure of some functions.</li>
2505</ul></li>
2506<li>SPL:
2507<ul>
2508  <li>Fixed bug <?php githubissuel('php/php-src', 14290); ?> (Member access within null pointer in extension spl).</li>
2509</ul></li>
2510<li>Standard:
2511<ul>
2512  <li>Fixed bug <?php githubissuel('php/php-src', 14483); ?> (Fixed off-by-one error in checking length of abstract namespace Unix sockets).</li>
2513</ul></li>
2514<li>Streams:
2515<ul>
2516  <li>Fixed bug <?php githubissuel('php/php-src', 11078); ?> (PHP Fatal error triggers pointer being freed was not allocated and malloc: double free for ptr errors).</li>
2517</ul></li>
2518</ul>
2519<!-- }}} --></section>
2520
2521
2522
2523<section class="version" id="8.2.20"><!-- {{{ 8.2.20 -->
2524<h3>Version 8.2.20</h3>
2525<b><?php release_date('06-Jun-2024'); ?></b>
2526<ul><li>CGI:
2527<ul>
2528  <li>Fixed buffer limit on Windows, replacing read call usage by _read.</li>
2529  <li>Fixed bug GHSA-3qgc-jrrr-25jv (Bypass of CVE-2012-1823, Argument Injection in PHP-CGI). (CVE-2024-4577)</li>
2530</ul></li>
2531<li>CLI:
2532<ul>
2533  <li>Fixed bug <?php githubissuel('php/php-src', 14189); ?> (PHP Interactive shell input state incorrectly handles quoted heredoc literals.).</li>
2534</ul></li>
2535<li>Core:
2536<ul>
2537  <li>Fixed bug <?php githubissuel('php/php-src', 13970); ?> (Incorrect validation of #[Attribute] flags type for non-compile-time expressions).</li>
2538  <li>Fixed bug <?php githubissuel('php/php-src', 14140); ?> (Floating point bug in range operation on Apple Silicon hardware).</li>
2539</ul></li>
2540<li>DOM:
2541<ul>
2542  <li>Fix crashes when entity declaration is removed while still having entity references.</li>
2543  <li>Fix references not handled correctly in C14N.</li>
2544  <li>Fix crash when calling childNodes next() when iterator is exhausted.</li>
2545  <li>Fix crash in ParentNode::append() when dealing with a fragment containing text nodes.</li>
2546</ul></li>
2547<li>FFI:
2548<ul>
2549  <li>Fixed bug <?php githubissuel('php/php-src', 14215); ?> (Cannot use FFI::load on CRLF header file with apache2handler).</li>
2550</ul></li>
2551<li>Filter:
2552<ul>
2553  <li>Fixed bug GHSA-w8qr-v226-r27w (Filter bypass in filter_var FILTER_VALIDATE_URL). (CVE-2024-5458)</li>
2554</ul></li>
2555<li>FPM:
2556<ul>
2557  <li>Fix bug <?php githubissuel('php/php-src', 14175); ?> (Show decimal number instead of scientific notation in systemd status).</li>
2558</ul></li>
2559<li>Hash:
2560<ul>
2561  <li>ext/hash: Swap the checking order of `__has_builtin` and `__GNUC__` (Saki Takamachi)</li>
2562</ul></li>
2563<li>Intl:
2564<ul>
2565  <li>Fixed build regression on systems without C++17 compilers.</li>
2566</ul></li>
2567<li>Ini:
2568<ul>
2569  <li>Fixed bug <?php githubissuel('php/php-src', 14100); ?> (Corrected spelling mistake in php.ini files).</li>
2570</ul></li>
2571<li>MySQLnd:
2572<ul>
2573  <li>Fix bug <?php githubissuel('php/php-src', 14255); ?> (mysqli_fetch_assoc reports error from nested query).</li>
2574</ul></li>
2575<li>Opcache:
2576<ul>
2577  <li>Fixed bug <?php githubissuel('php/php-src', 14109); ?> (Fix accidental persisting of internal class constant in shm).</li>
2578</ul></li>
2579<li>OpenSSL:
2580<ul>
2581  <li>The openssl_private_decrypt function in PHP, when using PKCS1 padding (OPENSSL_PKCS1_PADDING, which is the default), is vulnerable to the Marvin Attack unless it is used with an OpenSSL version that includes the changes from this pull request: https://github.com/openssl/openssl/pull/13817 (rsa_pkcs1_implicit_rejection). These changes are part of OpenSSL 3.2 and have also been backported to stable versions of various Linux distributions, as well as to the PHP builds provided for Windows since the previous release. All distributors and builders should ensure that this version is used to prevent PHP from being vulnerable.</li>
2582</ul></li>
2583<li>Standard:
2584<ul>
2585  <li>Fixed bug GHSA-9fcc-425m-g385 (Bypass of CVE-2024-1874). (CVE-2024-5585)</li>
2586</ul></li>
2587<li>XML:
2588<ul>
2589  <li>Fixed bug <?php githubissuel('php/php-src', 14124); ?> (Segmentation fault with XML extension under certain memory limit).</li>
2590</ul></li>
2591<li>XMLReader:
2592<ul>
2593  <li>Fixed bug <?php githubissuel('php/php-src', 14183); ?> (XMLReader::open() can't be overridden).</li>
2594</ul></li>
2595</ul>
2596<!-- }}} --></section>
2597
2598
2599
2600<section class="version" id="8.2.19"><!-- {{{ 8.2.19 -->
2601<h3>Version 8.2.19</h3>
2602<b><?php release_date('09-May-2024'); ?></b>
2603<ul><li>Core:
2604<ul>
2605  <li>Fixed bug <?php githubissuel('php/php-src', 13772); ?> (Invalid execute_data-&gt;opline pointers in observer fcall handlers when JIT is enabled).</li>
2606  <li>Fixed bug <?php githubissuel('php/php-src', 13931); ?> (Applying zero offset to null pointer in Zend/zend_opcode.c).</li>
2607  <li>Fixed bug <?php githubissuel('php/php-src', 13942); ?> (Align the behavior of zend-max-execution-timers with other timeout implementations).</li>
2608  <li>Fixed bug <?php githubissuel('php/php-src', 14003); ?> (Broken cleanup of unfinished calls with callable convert parameters).</li>
2609  <li>Fixed bug <?php githubissuel('php/php-src', 14013); ?> (Erroneous dnl appended in configure).</li>
2610  <li>Fixed bug <?php githubissuel('php/php-src', 10232); ?> (If autoloading occurs during constant resolution filename and lineno are identified incorrectly).</li>
2611  <li>Fixed bug <?php githubissuel('php/php-src', 13727); ?> (Missing void keyword).</li>
2612</ul></li>
2613<li>Fibers:
2614<ul>
2615  <li>Fixed bug <?php githubissuel('php/php-src', 13903); ?> (ASAN false positive underflow when executing copy()).</li>
2616</ul></li>
2617<li>FPM:
2618<ul>
2619  <li>Fixed bug <?php githubissuel('php/php-src', 13563); ?> (Setting bool values via env in FPM config fails).</li>
2620</ul></li>
2621<li>Intl:
2622<ul>
2623  <li>Fixed build for icu 74 and onwards.</li>
2624</ul></li>
2625<li>MySQLnd:
2626<ul>
2627  <li>Fix shift out of bounds on 32-bit non-fast-path platforms.</li>
2628</ul></li>
2629<li>Opcache:
2630<ul>
2631  <li>Fixed incorrect assumptions across compilation units for static calls.</li>
2632</ul></li>
2633<li>OpenSSL:
2634<ul>
2635  <li>Fixed bug <?php githubissuel('php/php-src', 10495); ?> (feof on OpenSSL stream hangs indefinitely).</li>
2636</ul></li>
2637<li>PDO SQLite:
2638<ul>
2639  <li>Fix <?php githubissuel('php/php-src', 13984); ?> (Buffer size is now checked before memcmp).</li>
2640  <li>Fix <?php githubissuel('php/php-src', 13998); ?> (Manage refcount of agg_context-&gt;val correctly).</li>
2641</ul></li>
2642<li>Phar:
2643<ul>
2644  <li>Fixed bug <?php githubissuel('php/php-src', 13836); ?> (Renaming a file in a Phar to an already existing filename causes a NULL pointer dereference).</li>
2645  <li>Fixed bug <?php githubissuel('php/php-src', 13833); ?> (Applying zero offset to null pointer in zend_hash.c).</li>
2646  <li>Fix potential NULL pointer dereference before calling EVP_SignInit.</li>
2647</ul></li>
2648<li>PHPDBG:
2649<ul>
2650  <li>Fixed bug <?php githubissuel('php/php-src', 13827); ?> (Null pointer access of type 'zval' in phpdbg_frame).</li>
2651</ul></li>
2652<li>Posix:
2653<ul>
2654  <li>Fix usage of reentrant functions in ext/posix.</li>
2655</ul></li>
2656<li>Session:
2657<ul>
2658  <li>Fixed bug <?php githubissuel('php/php-src', 13856); ?> (Member access within null pointer of type 'ps_files' in ext/session/mod_files.c).</li>
2659  <li>Fixed bug <?php githubissuel('php/php-src', 13891); ?> (memleak and segfault when using ini_set with session.trans_sid_hosts).</li>
2660  <li>Fixed buffer _read/_write size limit on windows for the file mode.</li>
2661</ul></li>
2662<li>Streams:
2663<ul>
2664  <li>Fixed file_get_contents() on Windows fails with "errno=22 Invalid argument".</li>
2665  <li>Fixed bug <?php githubissuel('php/php-src', 13264); ?> (Part 1 - Memory leak on stream filter failure).</li>
2666  <li>Fixed bug <?php githubissuel('php/php-src', 13860); ?> (Incorrect PHP_STREAM_OPTION_CHECK_LIVENESS case in ext/openssl/xp_ssl.c - causing use of dead socket).</li>
2667  <li>Fixed bug <?php githubissuel('php/php-src', 11678); ?> (Build fails on musl 1.2.4 - lfs64).</li>
2668</ul></li>
2669<li>Treewide:
2670<ul>
2671  <li>Fix gcc-14 Wcalloc-transposed-args warnings.</li>
2672</ul></li>
2673</ul>
2674<!-- }}} --></section>
2675
2676
2677
2678<section class="version" id="8.2.18"><!-- {{{ 8.2.18 -->
2679<h3>Version 8.2.18</h3>
2680<b><?php release_date('11-Apr-2024'); ?></b>
2681<ul><li>Core:
2682<ul>
2683  <li>Fixed bug <?php githubissuel('php/php-src', 13612); ?> (Corrupted memory in destructor with weak references).</li>
2684  <li>Fixed bug <?php githubissuel('php/php-src', 13784); ?> (AX_GCC_FUNC_ATTRIBUTE failure).</li>
2685  <li>Fixed bug <?php githubissuel('php/php-src', 13670); ?> (GC does not scale well with a lot of objects created in destructor).</li>
2686</ul></li>
2687<li>DOM:
2688<ul>
2689  <li>Add some missing ZPP checks.</li>
2690  <li>Fix potential memory leak in XPath evaluation results.</li>
2691  <li>Fix phpdoc for DOMDocument load methods.</li>
2692</ul></li>
2693<li>FPM:
2694<ul>
2695  <li>Fix incorrect check in fpm_shm_free().</li>
2696</ul></li>
2697<li>GD:
2698<ul>
2699  <li>Fixed bug <?php githubissuel('php/php-src', 12019); ?> (add GDLIB_CFLAGS in feature tests).</li>
2700</ul></li>
2701<li>Gettext:
2702<ul>
2703  <li>Fixed sigabrt raised with dcgettext/dcngettext calls with gettext 0.22.5 with category set to LC_ALL.</li>
2704</ul></li>
2705<li>MySQLnd:
2706<ul>
2707  <li>Fix <?php githubissuel('php/php-src', 13452); ?> (Fixed handshake response [mysqlnd]).</li>
2708  <li>Fix incorrect charset length in check_mb_eucjpms().</li>
2709</ul></li>
2710<li>Opcache:
2711<ul>
2712  <li>Fixed <?php githubissuel('php/php-src', 13508); ?> (JITed QM_ASSIGN may be optimized out when op1 is null).</li>
2713  <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>
2714</ul></li>
2715<li>PDO:
2716<ul>
2717  <li>Fix various PDORow bugs.</li>
2718</ul></li>
2719<li>Random:
2720<ul>
2721  <li>Fixed bug <?php githubissuel('php/php-src', 13544); ?> (Pre-PHP 8.2 compatibility for mt_srand with unknown modes).</li>
2722  <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>
2723</ul></li>
2724<li>Session:
2725<ul>
2726  <li>Fixed bug <?php githubissuel('php/php-src', 13680); ?> (Segfault with session_decode and compilation error).</li>
2727</ul></li>
2728<li>Sockets:
2729<ul>
2730  <li>Fixed bug <?php githubissuel('php/php-src', 13604); ?> (socket_getsockname returns random characters in the end of the socket name).</li>
2731</ul></li>
2732<li>SPL:
2733<ul>
2734  <li>Fixed bug <?php githubissuel('php/php-src', 13531); ?> (Unable to resize SplfixedArray after being unserialized in PHP 8.2.15).</li>
2735  <li>Fixed bug <?php githubissuel('php/php-src', 13685); ?> (Unexpected null pointer in zend_string.h).</li>
2736</ul></li>
2737<li>Standard:
2738<ul>
2739  <li>Fixed bug <?php githubissuel('php/php-src', 11808); ?> (Live filesystem modified by tests).</li>
2740  <li>Fixed <?php githubissuel('php/php-src', 13402); ?> (Added validation of `\n` in $additional_headers of mail()).</li>
2741  <li>Fixed bug <?php githubissuel('php/php-src', 13203); ?> (file_put_contents fail on strings over 4GB on Windows).</li>
2742  <li>Fixed bug GHSA-pc52-254m-w9w7 (Command injection via array-ish $command parameter of proc_open). (CVE-2024-1874)</li>
2743  <li>Fixed bug GHSA-wpj3-hf5j-x4v4 (__Host-/__Secure- cookie bypass due to partial CVE-2022-31629 fix). (CVE-2024-2756)</li>
2744  <li>Fixed bug GHSA-h746-cjrr-wfmr (password_verify can erroneously return true, opening ATO risk). (CVE-2024-3096)</li>
2745</ul></li>
2746<li>XML:
2747<ul>
2748  <li>Fixed bug <?php githubissuel('php/php-src', 13517); ?> (Multiple test failures when building with --with-expat).</li>
2749</ul></li>
2750</ul>
2751<!-- }}} --></section>
2752
2753
2754
2755<section class="version" id="8.2.17"><!-- {{{ 8.2.17 -->
2756<h3>Version 8.2.17</h3>
2757<b><?php release_date('14-Mar-2024'); ?></b>
2758<ul><li>Core:
2759<ul>
2760  <li>Fix ZTS persistent resource crashes on shutdown.</li>
2761</ul></li>
2762<li>Curl:
2763<ul>
2764  <li>Fix failing tests due to string changes in libcurl 8.6.0.</li>
2765</ul></li>
2766<li>DOM:
2767<ul>
2768  <li>Fix reference access in dimensions for DOMNodeList and DOMNodeMap.</li>
2769</ul></li>
2770<li>Fileinfo:
2771<ul>
2772  <li>Fixed bug <?php githubissuel('php/php-src', 13344); ?> (finfo::buffer(): Failed identify data 0:(null), backport).</li>
2773</ul></li>
2774<li>FPM:
2775<ul>
2776  <li><?php bugfix(75712); ?> (getenv in php-fpm should not read $_ENV, $_SERVER).</li>
2777</ul></li>
2778<li>GD:
2779<ul>
2780  <li>Fixed bug <?php githubissuel('php/php-src', 12019); ?> (detection of image formats in system gd library).</li>
2781</ul></li>
2782<li>MySQLnd:
2783<ul>
2784  <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>
2785</ul></li>
2786<li>PGSQL:
2787<ul>
2788  <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>
2789</ul></li>
2790<li>Standard:
2791<ul>
2792  <li>Fixed array key as hash to string (case insensitive) comparison typo for the second operand buffer size (albeit unused for now).</li>
2793</ul></li>
2794</ul>
2795<!-- }}} --></section>
2796
2797
2798
2799<section class="version" id="8.2.16"><!-- {{{ 8.2.16 -->
2800<h3>Version 8.2.16</h3>
2801<b><?php release_date('15-Feb-2024'); ?></b>
2802<ul><li>Core:
2803<ul>
2804  <li>Fixed timer leak in zend-max-execution-timers builds.</li>
2805  <li>Fixed bug <?php githubissuel('php/php-src', 12349); ?> (linking failure on ARM with mold).</li>
2806  <li>Fixed bug <?php githubissuel('php/php-src', 13097); ?> (Anonymous class reference in trigger_error / thrown Exception).</li>
2807  <li>Fixed bug <?php githubissuel('php/php-src', 13215); ?> (GCC 14 build failure).</li>
2808</ul></li>
2809<li>Curl:
2810<ul>
2811  <li>Fix missing error check in curl_multi_init().</li>
2812</ul></li>
2813<li>FPM:
2814<ul>
2815  <li>Fixed bug <?php githubissuel('php/php-src', 12996); ?> (Incorrect SCRIPT_NAME with Apache ProxyPassMatch when plus in path).</li>
2816</ul></li>
2817<li>GD:
2818<ul>
2819  <li>Fixed bug <?php githubissuel('php/php-src', 10344); ?> (imagettfbbox(): Could not find/open font UNC path).</li>
2820  <li>Fixed bug <?php githubissuel('php/php-src', 10614); ?> (imagerotate will turn the picture all black, when rotated 90).</li>
2821</ul></li>
2822<li>MySQLnd:
2823<ul>
2824  <li>Fixed bug <?php githubissuel('php/php-src', 12107); ?> (When running a stored procedure (that returns a result set) twice, PHP crashes).</li>
2825</ul></li>
2826<li>Opcache:
2827<ul>
2828  <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>
2829</ul></li>
2830<li>OpenSSL:
2831<ul>
2832  <li>Fixed LibreSSL undefined reference when OPENSSL_NO_ENGINE not set. (David Carlier).</li>
2833</ul></li>
2834<li>PDO_Firebird:
2835<ul>
2836  <li>Fix <?php githubissuel('php/php-src', 13119); ?> (Changed to convert float and double values ​​into strings using `H` format).</li>
2837</ul></li>
2838<li>Phar:
2839<ul>
2840  <li><?php bugfix(71465); ?> (PHAR doesn't know about litespeed).</li>
2841  <li>Fixed bug <?php githubissuel('php/php-src', 13037); ?> (PharData incorrectly extracts zip file).</li>
2842</ul></li>
2843<li>Random:
2844<ul>
2845  <li>Fixed bug <?php githubissuel('php/php-src', 13138); ?> (Randomizer::pickArrayKeys() does not detect broken engines).</li>
2846</ul></li>
2847<li>Session:
2848<ul>
2849  <li>Fixed bug <?php githubissuel('php/php-src', 12504); ?> (Corrupted session written when there's a fatal error in autoloader).</li>
2850</ul></li>
2851<li>Streams:
2852<ul>
2853  <li>Fixed bug <?php githubissuel('php/php-src', 13071); ?> (Copying large files using mmap-able source streams may exhaust available memory and fail).</li>
2854</ul></li>
2855</ul>
2856<!-- }}} --></section>
2857
2858
2859
2860<section class="version" id="8.2.15"><!-- {{{ 8.2.15 -->
2861<h3>Version 8.2.15</h3>
2862<b><?php release_date('18-Jan-2024'); ?></b>
2863<ul><li>Core:
2864<ul>
2865  <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>
2866  <li>Fixed bug <?php githubissuel('php/php-src', 12966); ?> (missing cross-compiling 3rd argument so Autoconf doesn't emit warnings).</li>
2867</ul></li>
2868<li>Cli:
2869<ul>
2870  <li>Fix incorrect timeout in built-in web server when using router script and max_input_time.</li>
2871</ul></li>
2872<li>FFI:
2873<ul>
2874  <li>Fixed bug <?php githubissuel('php/php-src', 9698); ?> (stream_wrapper_register crashes with FFI\CData).</li>
2875  <li>Fixed bug <?php githubissuel('php/php-src', 12905); ?> (FFI::new interacts badly with observers).</li>
2876</ul></li>
2877<li>Intl:
2878<ul>
2879  <li>Fixed <?php githubissuel('php/php-src', 12943); ?> (IntlDateFormatter::__construct accepts 'C' as valid locale).</li>
2880</ul></li>
2881<li>Hash:
2882<ul>
2883  <li>Fixed bug <?php githubissuel('php/php-src', 12936); ?> (hash() function hangs endlessly if using sha512 on strings &gt;= 4GiB).</li>
2884</ul></li>
2885<li>ODBC:
2886<ul>
2887  <li>Fix crash on Apache shutdown with persistent connections.</li>
2888</ul></li>
2889<li>Opcache:
2890<ul>
2891  <li>Fixed oss-fuzz #64727 (JIT undefined array key warning may overwrite DIM with NULL when DIM is the same var as result).</li>
2892  <li>Added workaround for SELinux mprotect execheap issue. See https://bugzilla.kernel.org/show_bug.cgi?id=218258.</li>
2893</ul></li>
2894<li>OpenSSL:
2895<ul>
2896  <li>Fixed bug <?php githubissuel('php/php-src', 12987); ?> (openssl_csr_sign might leak new cert on error).</li>
2897</ul></li>
2898<li>PDO:
2899<ul>
2900  <li>Fix <?php githubissuel('php/php-src', 12969); ?> (Fixed PDO::getAttribute() to get PDO::ATTR_STRINGIFY_FETCHES).</li>
2901</ul></li>
2902<li>PDO_ODBC:
2903<ul>
2904  <li>Fixed bug <?php githubissuel('php/php-src', 12767); ?> (Unable to turn on autocommit mode with setAttribute()).</li>
2905</ul></li>
2906<li>PGSQL:
2907<ul>
2908  <li>Fixed auto_reset_persistent handling and allow_persistent type.</li>
2909  <li>Fixed bug <?php githubissuel('php/php-src', 12974); ?> (Apache crashes on shutdown when using pg_pconnect()).</li>
2910</ul></li>
2911<li>Phar:
2912<ul>
2913  <li><?php bugfix(77432); ?> (Segmentation fault on including phar file).</li>
2914</ul></li>
2915<li>PHPDBG:
2916<ul>
2917  <li>Fixed bug <?php githubissuel('php/php-src', 12962); ?> (Double free of init_file in phpdbg_prompt.c).</li>
2918</ul></li>
2919<li>SimpleXML:
2920<ul>
2921  <li>Fix getting the address of an uninitialized property of a SimpleXMLElement resulting in a crash.</li>
2922</ul></li>
2923<li>Tidy:
2924<ul>
2925  <li>Fixed bug <?php githubissuel('php/php-src', 12980); ?> (tidynode.props.attribute is missing "Boolean Attributes" and empty attributes).</li>
2926</ul></li>
2927</ul>
2928<!-- }}} --></section>
2929
2930
2931
2932<section class="version" id="8.2.14"><!-- {{{ 8.2.14 -->
2933<h3>Version 8.2.14</h3>
2934<b><?php release_date('21-Dec-2023'); ?></b>
2935<ul><li>Core:
2936<ul>
2937  <li>Fixed oss-fuzz #54325 (Use-after-free of name in var-var with malicious error handler).</li>
2938  <li>Fixed oss-fuzz #64209 (In-place modification of filename in php_message_handler_for_zend).</li>
2939  <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>
2940  <li>Fix various missing NULL checks.</li>
2941  <li>Fixed bug <?php githubissuel('php/php-src', 12835); ?> (Leak of call-&gt;extra_named_params on internal __call).</li>
2942</ul></li>
2943<li>Date:
2944<ul>
2945  <li>Fixed improbably integer overflow while parsing really large (or small) Unix timestamps.</li>
2946</ul></li>
2947<li>DOM:
2948<ul>
2949  <li>Fixed bug <?php githubissuel('php/php-src', 12616); ?> (DOM: Removing XMLNS namespace node results in invalid default: prefix).</li>
2950</ul></li>
2951<li>FPM:
2952<ul>
2953  <li>Fixed bug <?php githubissuel('php/php-src', 12705); ?> (Segmentation fault in fpm_status_export_to_zval).</li>
2954</ul></li>
2955<li>FTP:
2956<ul>
2957  <li>Fixed bug <?php githubissuel('php/php-src', 9348); ?> (FTP &amp; SSL session reuse).</li>
2958</ul></li>
2959<li>Intl:
2960<ul>
2961  <li>Fixed bug <?php githubissuel('php/php-src', 12635); ?> (Test bug69398.phpt fails with ICU 74.1).</li>
2962</ul></li>
2963<li>LibXML:
2964<ul>
2965  <li>Fixed bug <?php githubissuel('php/php-src', 12702); ?> (libxml2 2.12.0 issue building from src).</li>
2966  <li>Fixed test failures for libxml2 2.12.0.</li>
2967</ul></li>
2968<li>MySQLnd:
2969<ul>
2970  <li>Avoid using uninitialised struct.</li>
2971  <li>Fixed bug <?php githubissuel('php/php-src', 12791); ?> (Possible dereference of NULL in MySQLnd debug code).</li>
2972</ul></li>
2973<li>Opcache:
2974<ul>
2975  <li>Fixed JIT bug (Function JIT emits "Uninitialized string offset" warning at the same time as invalid offset Error).</li>
2976  <li>Fixed JIT bug (JIT emits "Attempt to assign property of non-object" warning at the same time as Error is being thrown).</li>
2977</ul></li>
2978<li>OpenSSL:
2979<ul>
2980  <li><?php bugfix(50713); ?> (openssl_pkcs7_verify() may ignore untrusted CAs).</li>
2981</ul></li>
2982<li>PCRE:
2983<ul>
2984  <li>Fixed bug <?php githubissuel('php/php-src', 12628); ?> (The gh11374 test fails on Alpinelinux).</li>
2985</ul></li>
2986<li>PDO PGSQL:
2987<ul>
2988  <li>Fixed the default value of $fetchMode in PDO::pgsqlGetNotify() (kocsismate)</li>
2989</ul></li>
2990<li>PGSQL:
2991<ul>
2992  <li>Fixed bug <?php githubissuel('php/php-src', 12763); ?> wrong argument type for pg_untrace.</li>
2993</ul></li>
2994<li>PHPDBG:
2995<ul>
2996  <li>Fixed bug <?php githubissuel('php/php-src', 12675); ?> (MEMORY_LEAK in phpdbg_prompt.c).</li>
2997</ul></li>
2998<li>SOAP:
2999<ul>
3000  <li>Fixed bug <?php githubissuel('php/php-src', 12838); ?> ([SOAP] Temporary WSDL cache files not being deleted).</li>
3001</ul></li>
3002<li>SPL:
3003<ul>
3004  <li>Fixed bug <?php githubissuel('php/php-src', 12721); ?> (SplFileInfo::getFilename() segfault in combination with GlobIterator and no directory separator).</li>
3005</ul></li>
3006<li>SQLite3:
3007<ul>
3008  <li>Fixed bug <?php githubissuel('php/php-src', 12633); ?> (sqlite3_defensive.phpt fails with sqlite 3.44.0).</li>
3009</ul></li>
3010<li>Standard:
3011<ul>
3012  <li>Fix memory leak in syslog device handling.</li>
3013  <li>Fixed bug <?php githubissuel('php/php-src', 12621); ?> (browscap segmentation fault when configured in the vhost).</li>
3014  <li>Fixed bug <?php githubissuel('php/php-src', 12655); ?> (proc_open() does not take into account references in the descriptor array).</li>
3015</ul></li>
3016<li>Streams:
3017<ul>
3018  <li><?php bugfix(79945); ?> (Stream wrappers in imagecreatefrompng causes segfault).</li>
3019</ul></li>
3020<li>Zip:
3021<ul>
3022  <li>Fixed bug <?php githubissuel('php/php-src', 12661); ?> (Inconsistency in ZipArchive::addGlob remove_path Option Behavior).</li>
3023</ul></li>
3024</ul>
3025<!-- }}} --></section>
3026
3027
3028
3029<section class="version" id="8.2.13"><!-- {{{ 8.2.13 -->
3030<h3>Version 8.2.13</h3>
3031<b><?php release_date('23-Nov-2023'); ?></b>
3032<ul><li>Core:
3033<ul>
3034  <li>Fixed double-free of non-interned enum case name.</li>
3035  <li>Fixed bug <?php githubissuel('php/php-src', 12457); ?> (Incorrect result of stripos with single character needle).</li>
3036  <li>Fixed bug <?php githubissuel('php/php-src', 12468); ?> (Double-free of doc_comment when overriding static property via trait).</li>
3037  <li>Fixed segfault caused by weak references to FFI objects.</li>
3038  <li>Fixed max_execution_time: don't delete an unitialized timer.</li>
3039  <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>
3040</ul></li>
3041<li>DOM:
3042<ul>
3043  <li>Fix registerNodeClass with abstract class crashing.</li>
3044  <li>Add missing NULL pointer error check.</li>
3045  <li>Fix validation logic of php:function() callbacks.</li>
3046</ul></li>
3047<li>Fiber:
3048<ul>
3049  <li>Fixed bug <?php githubissuel('php/php-src', 11121); ?> (ReflectionFiber segfault).</li>
3050</ul></li>
3051<li>FPM:
3052<ul>
3053  <li>Fixed bug <?php githubissuel('php/php-src', 9921); ?> (Loading ext in FPM config does not register module handlers).</li>
3054  <li>Fixed bug <?php githubissuel('php/php-src', 12232); ?> (FPM: segfault dynamically loading extension without opcache).</li>
3055  <li><?php bugfix(76922); ?> (FastCGI terminates conn after FCGI_GET_VALUES).</li>
3056</ul></li>
3057<li>Intl:
3058<ul>
3059  <li>Removed the BC break on IntlDateFormatter::construct which threw an exception with an invalid locale.</li>
3060</ul></li>
3061<li>Opcache:
3062<ul>
3063  <li>Added warning when JIT cannot be enabled.</li>
3064  <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>
3065</ul></li>
3066<li>OpenSSL:
3067<ul>
3068  <li>Fixed bug <?php githubissuel('php/php-src', 12489); ?> (Missing sigbio creation checking in openssl_cms_verify).</li>
3069</ul></li>
3070<li>PCRE:
3071<ul>
3072  <li>Fixed bug <?php githubissuel('php/php-src', 11374); ?> (Backport upstream fix, Different preg_match result with -d pcre.jit=0).</li>
3073</ul></li>
3074<li>SOAP:
3075<ul>
3076  <li>Fixed bug <?php githubissuel('php/php-src', 12392); ?> (Segmentation fault on SoapClient::__getTypes).</li>
3077  <li><?php bugfix(66150); ?> (SOAP WSDL cache race condition causes Segmentation Fault).</li>
3078  <li><?php bugfix(67617); ?> (SOAP leaves incomplete cache file on ENOSPC).</li>
3079  <li>Fix incorrect uri check in SOAP caching.</li>
3080  <li>Fix segfault and assertion failure with refcounted props and arrays.</li>
3081  <li>Fix potential crash with an edge case of persistent encoders.</li>
3082  <li><?php bugfix(75306); ?> (Memleak in SoapClient).</li>
3083</ul></li>
3084<li>Streams:
3085<ul>
3086  <li><?php bugfix(75708); ?> (getimagesize with "&amp;$imageinfo" fails on StreamWrappers).</li>
3087</ul></li>
3088<li>XMLReader:
3089<ul>
3090  <li>Add missing NULL pointer error check.</li>
3091</ul></li>
3092<li>XMLWriter:
3093<ul>
3094  <li>Add missing NULL pointer error check.</li>
3095</ul></li>
3096<li>XSL:
3097<ul>
3098  <li>Add missing module dependency.</li>
3099  <li>Fix validation logic of php:function() callbacks.</li>
3100</ul></li>
3101</ul>
3102<!-- }}} --></section>
3103
3104
3105
3106<section class="version" id="8.2.12"><!-- {{{ 8.2.12 -->
3107<h3>Version 8.2.12</h3>
3108<b><?php release_date('26-Oct-2023'); ?></b>
3109<ul><li>Core:
3110<ul>
3111  <li>Fixed bug <?php githubissuel('php/php-src', 12207); ?> (memory leak when class using trait with doc block).</li>
3112  <li>Fixed bug <?php githubissuel('php/php-src', 12215); ?> (Module entry being overwritten causes type errors in ext/dom).</li>
3113  <li>Fixed bug <?php githubissuel('php/php-src', 12273); ?> (__builtin_cpu_init check).</li>
3114  <li><?php bugfix(80092); ?> (ZTS + preload = segfault on shutdown).</li>
3115</ul></li>
3116<li>CLI:
3117<ul>
3118  <li>Ensure a single Date header is present.</li>
3119</ul></li>
3120<li>CType:
3121<ul>
3122  <li>Fixed bug <?php githubissuel('php/php-src', 11997); ?> (ctype_alnum 5 times slower in PHP 8.1 or greater).</li>
3123</ul></li>
3124<li>DOM:
3125<ul>
3126  <li>Restore old namespace reconciliation behaviour.</li>
3127  <li>Fixed bug <?php githubissuel('php/php-src', 8996); ?> (DOMNode serialization on PHP ^8.1).</li>
3128</ul></li>
3129<li>Fileinfo:
3130<ul>
3131  <li>Fixed bug <?php githubissuel('php/php-src', 11891); ?> (fileinfo returns text/xml for some svg files).</li>
3132</ul></li>
3133<li>Filter:
3134<ul>
3135  <li>Fix explicit FILTER_REQUIRE_SCALAR with FILTER_CALLBACK (ilutov)</li>
3136</ul></li>
3137<li>Hash:
3138<ul>
3139  <li>Fixed bug <?php githubissuel('php/php-src', 12186); ?> (segfault copying/cloning a finalized HashContext).</li>
3140</ul></li>
3141<li>Intl:
3142<ul>
3143  <li>Fixed bug <?php githubissuel('php/php-src', 12243); ?> (segfault on IntlDateFormatter::construct).</li>
3144  <li>Fixed bug <?php githubissuel('php/php-src', 12282); ?> (IntlDateFormatter::construct should throw an exception on an invalid locale).</li>
3145</ul></li>
3146<li>MySQLnd:
3147<ul>
3148  <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>
3149</ul></li>
3150<li>Opcache:
3151<ul>
3152  <li>Fixed opcache_invalidate() on deleted file.</li>
3153  <li>Fixed bug <?php githubissuel('php/php-src', 12380); ?> (JIT+private array property access inside closure accesses private property in child class).</li>
3154</ul></li>
3155<li>PCRE:
3156<ul>
3157  <li>Fixed bug <?php githubissuel('php/php-src', 11956); ?> (Backport upstream fix, PCRE regular expressions with JIT enabled gives different result).</li>
3158</ul></li>
3159<li>SimpleXML:
3160<ul>
3161  <li>Fixed bug <?php githubissuel('php/php-src', 12170); ?> (Can't use xpath with comments in SimpleXML).</li>
3162  <li>Fixed bug <?php githubissuel('php/php-src', 12223); ?> (Entity reference produces infinite loop in var_dump/print_r).</li>
3163  <li>Fixed bug <?php githubissuel('php/php-src', 12167); ?> (Unable to get processing instruction contents in SimpleXML).</li>
3164  <li>Fixed bug <?php githubissuel('php/php-src', 12169); ?> (Unable to get comment contents in SimpleXML).</li>
3165</ul></li>
3166<li>Streams:
3167<ul>
3168  <li>Fixed bug <?php githubissuel('php/php-src', 12190); ?> (binding ipv4 address with both address and port at 0).</li>
3169</ul></li>
3170<li>XML:
3171<ul>
3172  <li>Fix return type of stub of xml_parse_into_struct().</li>
3173  <li>Fix memory leak when calling xml_parse_into_struct() twice.</li>
3174</ul></li>
3175<li>XSL:
3176<ul>
3177  <li>Fix type error on XSLTProcessor::transformToDoc return value with SimpleXML.</li>
3178</ul></li>
3179</ul>
3180<!-- }}} --></section>
3181
3182
3183
3184<section class="version" id="8.2.11"><!-- {{{ 8.2.11 -->
3185<h3>Version 8.2.11</h3>
3186<b><?php release_date('28-Sep-2023'); ?></b>
3187<ul><li>Core:
3188<ul>
3189  <li>Fixed bug <?php githubissuel('php/php-src', 11937); ?> (Constant ASTs containing objects).</li>
3190  <li>Fixed bug <?php githubissuel('php/php-src', 11790); ?> (On riscv64 require libatomic if actually needed).</li>
3191  <li>Fixed bug <?php githubissuel('php/php-src', 11876); ?>: ini_parse_quantity() accepts invalid quantities.</li>
3192  <li>Fixed bug <?php githubissuel('php/php-src', 12073); ?> (Segfault when freeing incompletely initialized closures).</li>
3193  <li>Fixed bug <?php githubissuel('php/php-src', 12060); ?> (Internal iterator rewind handler is called twice).</li>
3194  <li>Fixed bug <?php githubissuel('php/php-src', 12102); ?> (Incorrect compile error when using array access on TMP value in function call).</li>
3195</ul></li>
3196<li>DOM:
3197<ul>
3198  <li>Fix memory leak when setting an invalid DOMDocument encoding.</li>
3199</ul></li>
3200<li>Iconv:
3201<ul>
3202  <li>Fixed build for NetBSD which still uses the old iconv signature.</li>
3203</ul></li>
3204<li>Intl:
3205<ul>
3206  <li>Fixed bug <?php githubissuel('php/php-src', 12020); ?> (intl_get_error_message() broken after MessageFormatter::formatMessage() fails).</li>
3207</ul></li>
3208<li>MySQLnd:
3209<ul>
3210  <li>Fixed bug <?php githubissuel('php/php-src', 10270); ?> (Invalid error message when connection via SSL fails: "trying to connect via (null)").</li>
3211</ul></li>
3212<li>ODBC:
3213<ul>
3214  <li>Fixed memory leak with failed SQLPrepare.</li>
3215  <li>Fixed persistent procedural ODBC connections not getting closed.</li>
3216</ul></li>
3217<li>SimpleXML:
3218<ul>
3219  <li><?php bugfix(52751); ?> (XPath processing-instruction() function is not supported).</li>
3220</ul></li>
3221<li>SPL:
3222<ul>
3223  <li>Fixed bug <?php githubissuel('php/php-src', 11972); ?> (RecursiveCallbackFilterIterator regression in 8.1.18).</li>
3224</ul></li>
3225<li>SQLite3:
3226<ul>
3227  <li>Fixed bug <?php githubissuel('php/php-src', 11878); ?> (SQLite3 callback functions cause a memory leak with a callable array).</li>
3228</ul></li>
3229</ul>
3230<!-- }}} --></section>
3231
3232
3233
3234<section class="version" id="8.2.10"><!-- {{{ 8.2.10 -->
3235<h3>Version 8.2.10</h3>
3236<b><?php release_date('31-Aug-2023'); ?></b>
3237<ul><li>CLI:
3238<ul>
3239  <li>Fixed bug <?php githubissuel('php/php-src', 11716); ?> (cli server crashes on SIGINT when compiled with ZEND_RC_DEBUG=1).</li>
3240  <li>Fixed bug <?php githubissuel('php/php-src', 10964); ?> (Improve man page about the built-in server).</li>
3241</ul></li>
3242<li>Date:
3243<ul>
3244  <li>Fixed bug <?php githubissuel('php/php-src', 11416); ?> (Crash with DatePeriod when uninitialised objects are passed in).</li>
3245</ul></li>
3246<li>Core:
3247<ul>
3248  <li>Fixed strerror_r detection at configuration time.</li>
3249  <li>Fixed trait typed properties using a DNF type not being correctly bound.</li>
3250  <li>Fixed trait property types not being arena allocated if copied from an internal trait.</li>
3251  <li>Fixed deep copy of property DNF type during lazy class load.</li>
3252  <li>Fixed memory freeing of DNF types for non arena allocated types.</li>
3253</ul></li>
3254<li>DOM:
3255<ul>
3256  <li>Fix DOMEntity field getter bugs.</li>
3257  <li>Fix incorrect attribute existence check in DOMElement::setAttributeNodeNS.</li>
3258  <li>Fix DOMCharacterData::replaceWith() with itself.</li>
3259  <li>Fix empty argument cases for DOMParentNode methods.</li>
3260  <li>Fixed bug <?php githubissuel('php/php-src', 11791); ?> (Wrong default value of DOMDocument::xmlStandalone).</li>
3261  <li>Fix json_encode result on DOMDocument.</li>
3262  <li>Fix manually calling __construct() on DOM classes.</li>
3263  <li>Fixed bug <?php githubissuel('php/php-src', 11830); ?> (ParentNode methods should perform their checks upfront).</li>
3264  <li>Fix viable next sibling search for replaceWith.</li>
3265  <li>Fix segfault when DOMParentNode::prepend() is called when the child disappears.</li>
3266</ul></li>
3267<li>FFI:
3268<ul>
3269  <li>Fix leaking definitions when using FFI::cdef()-&gt;new(...).</li>
3270</ul></li>
3271<li>Hash:
3272<ul>
3273  <li>Fix use-of-uninitialized-value in hash_pbkdf2(), fix missing $options parameter in signature.</li>
3274</ul></li>
3275<li>MySQLnd:
3276<ul>
3277  <li>Fixed bug <?php githubissuel('php/php-src', 11440); ?> (authentication to a sha256_password account fails over SSL).</li>
3278  <li>Fixed bug <?php githubissuel('php/php-src', 11438); ?> (mysqlnd fails to authenticate with sha256_password accounts using passwords longer than 19 characters).</li>
3279  <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>
3280  <li>Fixed invalid error message "Malformed packet" when connection is dropped.</li>
3281</ul></li>
3282<li>Opcache:
3283<ul>
3284  <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>
3285  <li>Avoid adding an unnecessary read-lock when loading script from shm if restart is in progress.</li>
3286</ul></li>
3287<li>PCNTL:
3288<ul>
3289  <li>Revert behaviour of receiving SIGCHLD signals back to the behaviour before 8.1.22.</li>
3290</ul></li>
3291<li>SPL:
3292<ul>
3293  <li><?php bugfix(81992); ?> (SplFixedArray::setSize() causes use-after-free).</li>
3294</ul></li>
3295<li>Standard:
3296<ul>
3297  <li>Prevent int overflow on $decimals in number_format.</li>
3298  <li>Fixed bug <?php githubissuel('php/php-src', 11870); ?> (Fix off-by-one bug when truncating tempnam prefix) (athos-ribeiro)</li>
3299</ul></li>
3300</ul>
3301<!-- }}} --></section>
3302
3303
3304
3305<section class="version" id="8.2.9"><!-- {{{ 8.2.9 -->
3306<h3>Version 8.2.9</h3>
3307<b><?php release_date('03-Aug-2023'); ?></b>
3308<ul><li>Build:
3309<ul>
3310  <li>Fixed bug <?php githubissuel('php/php-src', 11522); ?> (PHP version check fails with '-' separator).</li>
3311</ul></li>
3312<li>CLI:
3313<ul>
3314  <li>Fix interrupted CLI output causing the process to exit.</li>
3315</ul></li>
3316<li>Core:
3317<ul>
3318  <li>Fixed oss-fuzz #60011 (Mis-compilation of by-reference nullsafe operator).</li>
3319  <li>Fixed line number of JMP instruction over else block.</li>
3320  <li>Fixed use-of-uninitialized-value with ??= on assert.</li>
3321  <li>Fixed oss-fuzz #60411 (Fix double-compilation of arrow-functions).</li>
3322  <li>Fixed build for FreeBSD before the 11.0 releases.</li>
3323</ul></li>
3324<li>Curl:
3325<ul>
3326  <li>Fix crash when an invalid callback function is passed to CURLMOPT_PUSHFUNCTION.</li>
3327</ul></li>
3328<li>Date:
3329<ul>
3330  <li>Fixed bug <?php githubissuel('php/php-src', 11368); ?> (Date modify returns invalid datetime).</li>
3331  <li>Fixed bug <?php githubissuel('php/php-src', 11600); ?> (Can't parse time strings which include (narrow) non-breaking space characters).</li>
3332  <li>Fixed bug <?php githubissuel('php/php-src', 11854); ?> (DateTime:createFromFormat stopped parsing datetime with extra space).</li>
3333</ul></li>
3334<li>DOM:
3335<ul>
3336  <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>
3337</ul></li>
3338<li>Fileinfo:
3339<ul>
3340  <li>Fixed bug <?php githubissuel('php/php-src', 11298); ?> (finfo returns wrong mime type for xz files).</li>
3341</ul></li>
3342<li>FTP:
3343<ul>
3344  <li>Fix context option check for "overwrite".</li>
3345  <li>Fixed bug <?php githubissuel('php/php-src', 10562); ?> (Memory leak and invalid state with consecutive ftp_nb_fget).</li>
3346</ul></li>
3347<li>GD:
3348<ul>
3349  <li>Fix most of the external libgd test failures.</li>
3350</ul></li>
3351<li>Intl:
3352<ul>
3353  <li>Fix memory leak in MessageFormatter::format() on failure.</li>
3354</ul></li>
3355<li>Libxml:
3356<ul>
3357  <li>Fixed bug GHSA-3qrf-m4j2-pcrr (Security issue with external entity loading in XML without enabling it). (CVE-2023-3823)</li>
3358</ul></li>
3359<li>MBString:
3360<ul>
3361  <li>Fix <?php githubissuel('php/php-src', 11300); ?> (license issue: restricted unicode license headers).</li>
3362</ul></li>
3363<li>Opcache:
3364<ul>
3365  <li>Fixed bug <?php githubissuel('php/php-src', 10914); ?> (OPCache with Enum and Callback functions results in segmentation fault).</li>
3366  <li>Prevent potential deadlock if accelerated globals cannot be allocated.</li>
3367</ul></li>
3368<li>PCNTL:
3369<ul>
3370  <li>Fixed bug <?php githubissuel('php/php-src', 11498); ?> (SIGCHLD is not always returned from proc_open).</li>
3371</ul></li>
3372<li>PDO:
3373<ul>
3374  <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>
3375</ul></li>
3376<li>PDO SQLite:
3377<ul>
3378  <li>Fix <?php githubissuel('php/php-src', 11492); ?> (Make test failure: ext/pdo_sqlite/tests/bug_42589.phpt).</li>
3379</ul></li>
3380<li>Phar:
3381<ul>
3382  <li>Add missing check on EVP_VerifyUpdate() in phar util.</li>
3383  <li>Fixed bug GHSA-jqcx-ccgc-xwhv (Buffer mismanagement in phar_dir_read()). (CVE-2023-3824)</li>
3384</ul></li>
3385<li>PHPDBG:
3386<ul>
3387  <li>Fixed bug <?php githubissuel('php/php-src', 9669); ?> (phpdbg -h options doesn't list the -z option).</li>
3388</ul></li>
3389<li>Session:
3390<ul>
3391  <li>Removed broken url support for transferring session ID.</li>
3392</ul></li>
3393<li>Standard:
3394<ul>
3395  <li>Fix serialization of RC1 objects appearing in object graph twice.</li>
3396</ul></li>
3397<li>Streams:
3398<ul>
3399  <li>Fixed bug <?php githubissuel('php/php-src', 11735); ?> (Use-after-free when unregistering user stream wrapper from itself).</li>
3400</ul></li>
3401<li>SQLite3:
3402<ul>
3403  <li>Fix replaced error handling in SQLite3Stmt::__construct.</li>
3404</ul></li>
3405<li>XMLReader:
3406<ul>
3407  <li>Fix <?php githubissuel('php/php-src', 11548); ?> (Argument corruption when calling XMLReader::open or XMLReader::XML non-statically with observer active).</li>
3408</ul></li>
3409</ul>
3410<!-- }}} --></section>
3411
3412
3413
3414<section class="version" id="8.2.8"><!-- {{{ 8.2.8 -->
3415<h3>Version 8.2.8</h3>
3416<b><?php release_date('06-Jul-2023'); ?></b>
3417<ul><li>CLI:
3418<ul>
3419  <li>Fixed bug <?php githubissuel('php/php-src', 11246); ?> (cli/get_set_process_title fails on MacOS).</li>
3420</ul></li>
3421<li>Core:
3422<ul>
3423  <li>Fixed build for the riscv64 architecture/GCC 12.</li>
3424</ul></li>
3425<li>Curl:
3426<ul>
3427  <li>Fixed bug <?php githubissuel('php/php-src', 11433); ?> (Unable to set CURLOPT_ACCEPT_ENCODING to NULL).</li>
3428</ul></li>
3429<li>Date:
3430<ul>
3431  <li>Fixed bug <?php githubissuel('php/php-src', 11455); ?> (Segmentation fault with custom object date properties).</li>
3432</ul></li>
3433<li>DOM:
3434<ul>
3435  <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>
3436  <li>Fixed bug <?php githubissuel('php/php-src', 10234); ?> (Setting DOMAttr::textContent results in an empty attribute value).</li>
3437  <li>Fix return value in stub file for DOMNodeList::item.</li>
3438  <li>Fix spec compliance error with '*' namespace for DOMDocument::getElementsByTagNameNS.</li>
3439  <li>Fix DOMElement::append() and DOMElement::prepend() hierarchy checks.</li>
3440  <li>Fixed bug <?php githubissuel('php/php-src', 11347); ?> (Memory leak when calling a static method inside an xpath query).</li>
3441  <li><?php bugfix(67440); ?> (append_node of a DOMDocumentFragment does not reconcile namespaces).</li>
3442  <li><?php bugfix(81642); ?> (DOMChildNode::replaceWith() bug when replacing a node with itself).</li>
3443  <li><?php bugfix(77686); ?> (Removed elements are still returned by getElementById).</li>
3444  <li><?php bugfix(70359); ?> (print_r() on DOMAttr causes Segfault in php_libxml_node_free_list()).</li>
3445  <li><?php bugfix(78577); ?> (Crash in DOMNameSpace debug info handlers).</li>
3446  <li>Fix lifetime issue with getAttributeNodeNS().</li>
3447  <li>Fix "invalid state error" with cloned namespace declarations.</li>
3448  <li><?php bugfix(55294); ?> and #47530 and #47847 (various namespace reconciliation issues).</li>
3449  <li><?php bugfix(80332); ?> (Completely broken array access functionality with DOMNamedNodeMap).</li>
3450</ul></li>
3451<li>Opcache:
3452<ul>
3453  <li>Fix allocation loop in zend_shared_alloc_startup().</li>
3454  <li>Access violation on smm_shared_globals with ALLOC_FALLBACK.</li>
3455  <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>
3456</ul></li>
3457<li>OpenSSL:
3458<ul>
3459  <li>Fixed bug <?php githubissuel('php/php-src', 9356); ?> Incomplete validation of IPv6 Address fields in subjectAltNames (James Lucas, Jakub Zelenka).</li>
3460</ul></li>
3461<li>PCRE:
3462<ul>
3463  <li>Fix preg_replace_callback_array() pattern validation.</li>
3464</ul></li>
3465<li>PGSQL:
3466<ul>
3467  <li>Fixed intermittent segfault with pg_trace.</li>
3468</ul></li>
3469<li>Phar:
3470<ul>
3471  <li>Fix cross-compilation check in phar generation for FreeBSD.</li>
3472</ul></li>
3473<li>SPL:
3474<ul>
3475  <li>Fixed bug <?php githubissuel('php/php-src', 11338); ?> (SplFileInfo empty getBasename with more than one slash).</li>
3476</ul></li>
3477<li>Standard:
3478<ul>
3479  <li>Fix access on NULL pointer in array_merge_recursive().</li>
3480  <li>Fix exception handling in array_multisort().</li>
3481</ul></li>
3482<li>SQLite3:
3483<ul>
3484  <li>Fixed bug <?php githubissuel('php/php-src', 11451); ?> (Invalid associative array containing duplicate keys).</li>
3485</ul></li>
3486</ul>
3487<!-- }}} --></section>
3488
3489
3490
3491<section class="version" id="8.2.7"><!-- {{{ 8.2.7 -->
3492<h3>Version 8.2.7</h3>
3493<b><?php release_date('08-Jun-2023'); ?></b>
3494<ul><li>Core:
3495<ul>
3496  <li>Fixed bug <?php githubissuel('php/php-src', 11152); ?> (Unable to alias namespaces containing reserved class names).</li>
3497  <li>Fixed bug <?php githubissuel('php/php-src', 9068); ?> (Conditional jump or move depends on uninitialised value(s)).</li>
3498  <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>
3499  <li>Fixed bug <?php githubissuel('php/php-src', 11063); ?> (Compilation error on old GCC versions).</li>
3500  <li>Fixed bug <?php githubissuel('php/php-src', 11222); ?> (foreach by-ref may jump over keys during a rehash).</li>
3501</ul></li>
3502<li>Date:
3503<ul>
3504  <li>Fixed bug <?php githubissuel('php/php-src', 11281); ?> (DateTimeZone::getName() does not include seconds in offset).</li>
3505</ul></li>
3506<li>Exif:
3507<ul>
3508  <li>Fixed bug <?php githubissuel('php/php-src', 10834); ?> (exif_read_data() cannot read smaller stream wrapper chunk sizes).</li>
3509</ul></li>
3510<li>FPM:
3511<ul>
3512  <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>
3513  <li><?php bugfix(64539); ?> (FPM status page: query_string not properly JSON encoded).</li>
3514  <li>Fixed memory leak for invalid primary script file handle.</li>
3515</ul></li>
3516<li>Hash:
3517<ul>
3518  <li>Fixed bug <?php githubissuel('php/php-src', 11180); ?> (hash_file() appears to be restricted to 3 arguments).</li>
3519</ul></li>
3520<li>LibXML:
3521<ul>
3522  <li>Fixed bug <?php githubissuel('php/php-src', 11160); ?> (Few tests failed building with new libxml 2.11.0).</li>
3523</ul></li>
3524<li>MBString:
3525<ul>
3526  <li>Fix bug <?php githubissuel('php/php-src', 11217); ?> (Segfault in mb_strrpos / mb_strripos when using negative offset and ASCII encoding).</li>
3527</ul></li>
3528<li>Opcache:
3529<ul>
3530  <li>Fixed bug <?php githubissuel('php/php-src', 11134); ?> (Incorrect match default branch optimization).</li>
3531  <li>Fixed too wide OR and AND range inference.</li>
3532  <li>Fixed missing class redeclaration error with OPcache enabled.</li>
3533  <li>Fixed bug <?php githubissuel('php/php-src', 11245); ?> (In some specific cases SWITCH with one default statement will cause segfault).</li>
3534</ul></li>
3535<li>PCNTL:
3536<ul>
3537  <li>Fixed maximum argument count of pcntl_forkx().</li>
3538</ul></li>
3539<li>PGSQL:
3540<ul>
3541  <li>Fixed parameter parsing of pg_lo_export().</li>
3542</ul></li>
3543<li>Phar:
3544<ul>
3545  <li>Fixed bug <?php githubissuel('php/php-src', 11099); ?> (Generating phar.php during cross-compile can't be done).</li>
3546</ul></li>
3547<li>Soap:
3548<ul>
3549  <li>Fixed bug GHSA-76gg-c692-v2mw (Missing error check and insufficient random bytes in HTTP Digest authentication for SOAP). (CVE-2023-3247)</li>
3550  <li>Fixed bug <?php githubissuel('php/php-src', 8426); ?> (make test fail while soap extension build).</li>
3551</ul></li>
3552<li>SPL:
3553<ul>
3554  <li>Fixed bug <?php githubissuel('php/php-src', 11178); ?> (Segmentation fault in spl_array_it_get_current_data (PHP 8.1.18)).</li>
3555</ul></li>
3556<li>Standard:
3557<ul>
3558  <li>Fixed bug <?php githubissuel('php/php-src', 11138); ?> (move_uploaded_file() emits open_basedir warning for source file).</li>
3559  <li>Fixed bug <?php githubissuel('php/php-src', 11274); ?> (POST/PATCH request switches to GET after a HTTP 308 redirect).</li>
3560</ul></li>
3561<li>Streams:
3562<ul>
3563  <li>Fixed bug <?php githubissuel('php/php-src', 10031); ?> ([Stream] STREAM_NOTIFY_PROGRESS over HTTP emitted irregularly for last chunk of data).</li>
3564  <li>Fixed bug <?php githubissuel('php/php-src', 11175); ?> (Stream Socket Timeout).</li>
3565  <li>Fixed bug <?php githubissuel('php/php-src', 11177); ?> (ASAN UndefinedBehaviorSanitizer when timeout = -1 passed to stream_socket_accept/stream_socket_client).</li>
3566</ul></li>
3567</ul>
3568<!-- }}} --></section>
3569
3570
3571
3572<section class="version" id="8.2.6"><!-- {{{ 8.2.6 -->
3573<h3>Version 8.2.6</h3>
3574<b><?php release_date('11-May-2023'); ?></b>
3575<ul><li>Core:
3576<ul>
3577  <li>Fix inconsistent float negation in constant expressions.</li>
3578  <li>Fixed bug <?php githubissuel('php/php-src', 8841); ?> (php-cli core dump calling a badly formed function).</li>
3579  <li>Fixed bug <?php githubissuel('php/php-src', 10737); ?> (PHP 8.1.16 segfaults on line 597 of sapi/apache2handler/sapi_apache2.c).</li>
3580  <li>Fixed bug <?php githubissuel('php/php-src', 11028); ?> (Heap Buffer Overflow in zval_undefined_cv.).</li>
3581  <li>Fixed bug <?php githubissuel('php/php-src', 11108); ?> (Incorrect CG(memoize_mode) state after bailout in ??=).</li>
3582</ul></li>
3583<li>Date:
3584<ul>
3585  <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>
3586  <li>Fixed out-of-range bug when converting to/from around the LONG_MIN unix timestamp.</li>
3587</ul></li>
3588<li>DOM:
3589<ul>
3590  <li><?php bugfix(80602); ?> (Segfault when using DOMChildNode::before()).</li>
3591  <li>Fixed incorrect error handling in dom_zvals_to_fragment().</li>
3592</ul></li>
3593<li>Exif:
3594<ul>
3595  <li>Fixed bug <?php githubissuel('php/php-src', 9397); ?> (exif read : warnings and errors : Potentially invalid endianess, Illegal IFD size and Undefined index).</li>
3596</ul></li>
3597<li>Intl:
3598<ul>
3599  <li>Fixed bug <?php githubissuel('php/php-src', 11071); ?> (TZData version not displayed anymore).</li>
3600</ul></li>
3601<li>PCRE:
3602<ul>
3603  <li>Fixed bug <?php githubissuel('php/php-src', 10968); ?> (Segfault in preg_replace_callback_array()).</li>
3604</ul></li>
3605<li>Reflection:
3606<ul>
3607  <li>Fixed bug <?php githubissuel('php/php-src', 10983); ?> (State-dependant segfault in ReflectionObject::getProperties).</li>
3608</ul></li>
3609<li>SPL:
3610<ul>
3611  <li>Handle indirect zvals and use up-to-date properties in SplFixedArray::__serialize.</li>
3612</ul></li>
3613<li>Standard:
3614<ul>
3615  <li>Fixed bug <?php githubissuel('php/php-src', 10990); ?> (mail() throws TypeError after iterating over $additional_headers array by reference).</li>
3616  <li>Fixed bug <?php githubissuel('php/php-src', 9775); ?> (Duplicates returned by array_unique when using enums).</li>
3617</ul></li>
3618<li>Streams:
3619<ul>
3620  <li>Fixed bug <?php githubissuel('php/php-src', 10406); ?> (feof() behavior change for UNIX based socket resources).</li>
3621</ul></li>
3622</ul>
3623<!-- }}} --></section>
3624
3625
3626
3627<section class="version" id="8.2.5"><!-- {{{ 8.2.5 -->
3628<h3>Version 8.2.5</h3>
3629<b><?php release_date('13-Apr-2023'); ?></b>
3630<ul><li>Core:
3631<ul>
3632  <li>Added optional support for max_execution_time in ZTS/Linux builds (Kévin Dunglas)</li>
3633  <li>Fixed use-after-free in recursive AST evaluation.</li>
3634  <li>Fixed bug <?php githubissuel('php/php-src', 8646); ?> (Memory leak PHP FPM 8.1).</li>
3635  <li>Re-add some CTE functions that were removed from being CTE by a mistake.</li>
3636  <li>Remove CTE flag from array_diff_ukey(), which was added by mistake.</li>
3637  <li>Fixed bug <?php githubissuel('php/php-src', 10801); ?> (Named arguments in CTE functions cause a segfault).</li>
3638  <li>Fixed bug <?php githubissuel('php/php-src', 8789); ?> (PHP 8.0.20 (ZTS) zend_signal_handler_defer crashes on apache).</li>
3639  <li>Fixed bug <?php githubissuel('php/php-src', 10015); ?> (zend_signal_handler_defer crashes on apache shutdown).</li>
3640  <li>Fixed bug <?php githubissuel('php/php-src', 10810); ?> (Fix NUL byte terminating Exception::__toString()).</li>
3641  <li>Fix potential memory corruption when mixing __callStatic() and FFI.</li>
3642</ul></li>
3643<li>Date:
3644<ul>
3645  <li>Fixed bug <?php githubissuel('php/php-src', 10747); ?> (Private and protected properties in serialized Date* objects throw).</li>
3646</ul></li>
3647<li>FPM:
3648<ul>
3649  <li>Fixed bug <?php githubissuel('php/php-src', 10611); ?> (fpm_env_init_main leaks environ).</li>
3650  <li>Destroy file_handle in fpm_main.</li>
3651  <li><?php bugfix(74129); ?> (Incorrect SCRIPT_NAME with apache ProxyPassMatch when spaces are in path).</li>
3652</ul></li>
3653<li>FTP:
3654<ul>
3655  <li>Propagate success status of ftp_close().</li>
3656  <li>Fixed bug <?php githubissuel('php/php-src', 10521); ?> (ftp_get/ftp_nb_get resumepos offset is maximum 10GB).</li>
3657</ul></li>
3658<li>IMAP:
3659<ul>
3660  <li>Fix build failure with Clang 16.</li>
3661</ul></li>
3662<li>MySQLnd:
3663<ul>
3664  <li>Fixed bug <?php githubissuel('php/php-src', 8979); ?> (Possible Memory Leak with SSL-enabled MySQL connections).</li>
3665</ul></li>
3666<li>Opcache:
3667<ul>
3668  <li>Fixed build for macOS to cater with pkg-config settings.</li>
3669  <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>
3670</ul></li>
3671<li>OpenSSL:
3672<ul>
3673  <li>Add missing error checks on file writing functions.</li>
3674</ul></li>
3675<li>PDO Firebird:
3676<ul>
3677  <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>
3678</ul></li>
3679<li>Phar:
3680<ul>
3681  <li>Fixed bug <?php githubissuel('php/php-src', 10766); ?> (PharData archive created with Phar::Zip format does not keep files metadata (datetime)).</li>
3682  <li>Add missing error checks on EVP_MD_CTX_create() and EVP_VerifyInit().</li>
3683</ul></li>
3684<li>PDO ODBC:
3685<ul>
3686  <li>Fixed missing and inconsistent error checks on SQLAllocHandle.</li>
3687</ul></li>
3688<li>PGSQL:
3689<ul>
3690  <li>Fixed typo in the array returned from pg_meta_data (extended mode).</li>
3691</ul></li>
3692<li>SPL:
3693<ul>
3694  <li>Fixed bug <?php githubissuel('php/php-src', 10519); ?> (Array Data Address Reference Issue).</li>
3695  <li>Fixed bug <?php githubissuel('php/php-src', 10907); ?> (Unable to serialize processed SplFixedArrays in PHP 8.2.4).</li>
3696  <li>Fixed bug <?php githubissuel('php/php-src', 10844); ?> (ArrayIterator allows modification of readonly props).</li>
3697</ul></li>
3698<li>Standard:
3699<ul>
3700  <li>Fixed bug <?php githubissuel('php/php-src', 10885); ?> (stream_socket_server context leaks).</li>
3701  <li>Fixed bug <?php githubissuel('php/php-src', 10052); ?> (Browscap crashes PHP 8.1.12 on request shutdown (apache2)).</li>
3702  <li>Fixed oss-fuzz #57392 (Buffer-overflow in php_fgetcsv() with \0 delimiter and enclosure).</li>
3703  <li>Fixed undefined behaviour in unpack().</li>
3704</ul></li>
3705</ul>
3706<!-- }}} --></section>
3707
3708
3709
3710<section class="version" id="8.2.4"><!-- {{{ 8.2.4 -->
3711<h3>Version 8.2.4</h3>
3712<b><?php release_date('16-Mar-2023'); ?></b>
3713<ul><li>Core:
3714<ul>
3715  <li>Fixed incorrect check condition in ZEND_YIELD.</li>
3716  <li>Fixed incorrect check condition in type inference.</li>
3717  <li>Fix incorrect check in zend_internal_call_should_throw().</li>
3718  <li>Fixed overflow check in OnUpdateMemoryConsumption.</li>
3719  <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>
3720  <li>Fixed bug <?php githubissuel('php/php-src', 10437); ?> (Segfault/assertion when using fibers in shutdown function after bailout).</li>
3721  <li>Fixed SSA object type update for compound assignment opcodes.</li>
3722  <li>Fixed language scanner generation build.</li>
3723  <li>Fixed zend_update_static_property() calling zend_update_static_property_ex() misleadingly with the wrong return type.</li>
3724  <li>Fix bug <?php githubissuel('php/php-src', 10570); ?> (Fixed unknown string hash on property fetch with integer constant name).</li>
3725  <li>Fixed php_fopen_primary_script() call resulted on zend_destroy_file_handle() freeing dangling pointers on the handle as it was uninitialized.</li>
3726</ul></li>
3727<li>Curl:
3728<ul>
3729  <li>Fixed deprecation warning at compile time.</li>
3730  <li>Fixed bug <?php githubissuel('php/php-src', 10270); ?> (Unable to return CURL_READFUNC_PAUSE in readfunc callback).</li>
3731</ul></li>
3732<li>Date:
3733<ul>
3734  <li>Fix <?php githubissuel('php/php-src', 10447); ?> ('p' format specifier does not yield 'Z' for 00:00).</li>
3735  <li>Fix <?php githubissuel('php/php-src', 10152); ?> (Custom properties of Date's child classes are not serialised).</li>
3736  <li>Fixed bug <?php githubissuel('php/php-src', 10747); ?> (Private and protected properties in serialized Date* objects throw).</li>
3737</ul></li>
3738<li>FFI:
3739<ul>
3740  <li>Fixed incorrect bitshifting and masking in ffi bitfield.</li>
3741</ul></li>
3742<li>Fiber:
3743<ul>
3744  <li>Fixed assembly on alpine x86.</li>
3745  <li>Fixed bug <?php githubissuel('php/php-src', 10496); ?> (segfault when garbage collector is invoked inside of fiber).</li>
3746</ul></li>
3747<li>FPM:
3748<ul>
3749  <li>Fixed bug <?php githubissuel('php/php-src', 10315); ?> (FPM unknown child alert not valid).</li>
3750  <li>Fixed bug <?php githubissuel('php/php-src', 10385); ?> (FPM successful config test early exit).</li>
3751</ul></li>
3752<li>GMP:
3753<ul>
3754  <li>Properly implement GMP::__construct().</li>
3755</ul></li>
3756<li>Intl:
3757<ul>
3758  <li>Fixed bug <?php githubissuel('php/php-src', 10647); ?> (Spoolchecker isSuspicious/areConfusable methods error code's argument always returning NULL0.</li>
3759</ul></li>
3760<li>JSON:
3761<ul>
3762  <li>Fixed JSON scanner and parser generation build.</li>
3763</ul></li>
3764<li>MBString:
3765<ul>
3766  <li>ext/mbstring: fix new_value length check.</li>
3767  <li>Fix bug <?php githubissuel('php/php-src', 10627); ?> (mb_convert_encoding crashes PHP on Windows).</li>
3768</ul></li>
3769<li>Opcache:
3770<ul>
3771  <li>Fix incorrect page_size check.</li>
3772</ul></li>
3773<li>OpenSSL:
3774<ul>
3775  <li>Fixed php_openssl_set_server_dh_param() DH params errors handling.</li>
3776</ul></li>
3777<li>PDO OCI:
3778<ul>
3779  <li><?php bugfix(60994); ?> (Reading a multibyte CLOB caps at 8192 chars).</li>
3780</ul></li>
3781<li>PHPDBG:
3782<ul>
3783  <li>Fixed bug <?php githubissuel('php/php-src', 10715); ?> (heap buffer overflow on --run option misuse).</li>
3784</ul></li>
3785<li>PGSQL:
3786<ul>
3787  <li>Fix <?php githubissuel('php/php-src', 10672); ?> (pg_lo_open segfaults in the strict_types mode).</li>
3788</ul></li>
3789<li>Phar:
3790<ul>
3791  <li>Fix incorrect check in phar tar parsing.</li>
3792</ul></li>
3793<li>Random:
3794<ul>
3795  <li>Fix <?php githubissuel('php/php-src', 10390); ?> (Do not trust arc4random_buf() on glibc).</li>
3796  <li>Fix <?php githubissuel('php/php-src', 10292); ?> (Made the default value of the first param of srand() and mt_srand() unknown).</li>
3797</ul></li>
3798<li>Reflection:
3799<ul>
3800  <li>Fixed bug <?php githubissuel('php/php-src', 10623); ?> (Reflection::getClosureUsedVariables opcode fix with variadic arguments).</li>
3801  <li>Fix Segfault when using ReflectionFiber suspended by an internal function.</li>
3802</ul></li>
3803<li>Session:
3804<ul>
3805  <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>
3806</ul></li>
3807<li>Standard:
3808<ul>
3809  <li>Fixed bug <?php githubissuel('php/php-src', 8086); ?> (Introduce mail.mixed_lf_and_crlf INI).</li>
3810  <li>Fixed bug <?php githubissuel('php/php-src', 10292); ?> (Made the default value of the first param of srand() and mt_srand() unknown).</li>
3811  <li>Fix incorrect check in cs_8559_5 in map_from_unicode().</li>
3812  <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>
3813  <li>Fix incorrect error check in browsecap for pcre2_match().</li>
3814</ul></li>
3815<li>Streams:
3816<ul>
3817  <li>Fixed bug <?php githubissuel('php/php-src', 10370); ?> (File corruption in _php_stream_copy_to_stream_ex when using copy_file_range).</li>
3818  <li>Fixed bug <?php githubissuel('php/php-src', 10548); ?> (copy() fails on cifs mounts because of incorrect copy_file_range() len).</li>
3819</ul></li>
3820<li>Tidy:
3821<ul>
3822  <li>Fix memory leaks when attempting to open a non-existing file or a file over 4GB.</li>
3823  <li>Add missing error check on tidyLoadConfig.</li>
3824</ul></li>
3825<li>Zlib:
3826<ul>
3827  <li>Fixed output_handler directive value's length which counted the string terminator.</li>
3828</ul></li>
3829</ul>
3830<!-- }}} --></section>
3831
3832
3833
3834<section class="version" id="8.2.3"><!-- {{{ 8.2.3 -->
3835<h3>Version 8.2.3</h3>
3836<b><?php release_date('14-Feb-2023'); ?></b>
3837<ul><li>Core:
3838<ul>
3839  <li><?php bugfix(81744); ?> (Password_verify() always return true with some hash). (CVE-2023-0567)</li>
3840  <li><?php bugfix(81746); ?> (1-byte array overrun in common path resolve code). (CVE-2023-0568)</li>
3841</ul></li>
3842<li>SAPI:
3843<ul>
3844  <li>Fixed bug GHSA-54hq-v5wp-fqgv (DOS vulnerability when parsing multipart request body). (CVE-2023-0662)</li>
3845</ul></li>
3846</ul>
3847<!-- }}} --></section>
3848
3849
3850
3851<section class="version" id="8.2.2"><!-- {{{ 8.2.2 -->
3852<h3>Version 8.2.2</h3>
3853<b><?php release_date('02-Feb-2023'); ?></b>
3854<ul><li>Core:
3855<ul>
3856  <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>
3857  <li>Fix <?php githubissuel('php/php-src', 10251); ?> (Assertion `(flag &amp; (1&lt;&lt;3)) == 0' failed).</li>
3858  <li>Fix <?php githubissuel('php/php-src', 10240); ?> (Assertion failure when adding more than 2**30 elements to an unpacked array).</li>
3859  <li>Fix <?php githubissuel('php/php-src', 9735); ?> (Fiber stack variables do not participate in cycle collector).</li>
3860  <li>Fix <?php githubissuel('php/php-src', 9675); ?> (Broken run_time_cache init for internal enum methods).</li>
3861</ul></li>
3862<li>FPM:
3863<ul>
3864  <li><?php bugfix(77106); ?> (Missing separator in FPM FastCGI errors).</li>
3865  <li>Fixed bug <?php githubissuel('php/php-src', 9981); ?> (FPM does not reset fastcgi.error_header).</li>
3866  <li><?php bugfix(68591); ?> (Configuration test does not perform UID lookups).</li>
3867  <li>Fixed memory leak when running FPM config test.</li>
3868  <li><?php bugfix(67244); ?> (Wrong owner:group for listening unix socket).</li>
3869</ul></li>
3870<li>Hash:
3871<ul>
3872  <li>Handle exceptions from __toString in XXH3's initialization (nielsdos)</li>
3873</ul></li>
3874<li>LDAP:
3875<ul>
3876  <li>Fixed bug <?php githubissuel('php/php-src', 10112); ?> (LDAP\Connection::__construct() refers to ldap_create()).</li>
3877</ul></li>
3878<li>Opcache:
3879<ul>
3880  <li>Fix inverted bailout value in zend_runtime_jit() (Max Kellermann).</li>
3881  <li>Fix access to uninitialized variable in accel_preload().</li>
3882  <li>Fix zend_jit_find_trace() crashes.</li>
3883  <li>Added missing lock for EXIT_INVALIDATE in zend_jit_trace_exit.</li>
3884</ul></li>
3885<li>Phar:
3886<ul>
3887  <li>Fix wrong flags check for compression method in phar_object.c (nielsdos)</li>
3888</ul></li>
3889<li>PHPDBG:
3890<ul>
3891  <li>Fix undefined behaviour in phpdbg_load_module_or_extension().</li>
3892  <li>Fix NULL pointer dereference in phpdbg_create_conditional_breal().</li>
3893  <li>Fix <?php githubissuel('php/php-src', 9710); ?>: phpdbg memory leaks by option "-h" (nielsdos)</li>
3894  <li>Fix phpdbg segmentation fault in case of malformed input (nielsdos)</li>
3895</ul></li>
3896<li>Posix:
3897<ul>
3898  <li>Fix memory leak in posix_ttyname() (girgias)</li>
3899</ul></li>
3900<li>Random:
3901<ul>
3902  <li>Fixed bug <?php githubissuel('php/php-src', 10247); ?> (Theoretical file descriptor leak for /dev/urandom).</li>
3903</ul></li>
3904<li>Standard:
3905<ul>
3906  <li>Fix <?php githubissuel('php/php-src', 10187); ?> (Segfault in stripslashes() with arm64).</li>
3907  <li>Fixed bug <?php githubissuel('php/php-src', 10214); ?> (Incomplete validation of object syntax during unserialize()).</li>
3908  <li>Fix substr_replace with slots in repl_ht being UNDEF.</li>
3909</ul></li>
3910<li>XMLWriter:
3911<ul>
3912  <li>Fix missing check for xmlTextWriterEndElement (nielsdos)</li>
3913</ul></li>
3914</ul>
3915<!-- }}} --></section>
3916
3917
3918
3919<section class="version" id="8.2.1"><!-- {{{ 8.2.1 -->
3920<h3>Version 8.2.1</h3>
3921<b><?php release_date('05-Jan-2023'); ?></b>
3922<ul><li>Core:
3923<ul>
3924  <li>Fixed bug <?php githubissuel('php/php-src', 9905); ?> (constant() behaves inconsistent when class is undefined).</li>
3925  <li>Fixed bug <?php githubissuel('php/php-src', 9918); ?> (License information for xxHash is not included in README.REDIST.BINS file).</li>
3926  <li>Fixed bug <?php githubissuel('php/php-src', 9890); ?> (OpenSSL legacy providers not available on Windows).</li>
3927  <li>Fixed bug <?php githubissuel('php/php-src', 9650); ?> (Can't initialize heap: [0x000001e7]).</li>
3928  <li>Fixed potentially undefined behavior in Windows ftok(3) emulation.</li>
3929  <li>Fixed <?php githubissuel('php/php-src', 9769); ?> (Misleading error message for unpacking of objects).</li>
3930</ul></li>
3931<li>Apache:
3932<ul>
3933  <li>Fixed bug <?php githubissuel('php/php-src', 9949); ?> (Partial content on incomplete POST request).</li>
3934</ul></li>
3935<li>FPM:
3936<ul>
3937  <li>Fixed bug <?php githubissuel('php/php-src', 9959); ?> (Solaris port event mechanism is still broken after bug #66694).</li>
3938  <li><?php bugfix(68207); ?> (Setting fastcgi.error_header can result in a WARNING).</li>
3939  <li><?php bugfix(80669); ?> (FPM numeric user fails to set groups).</li>
3940  <li>Fixed bug <?php githubissuel('php/php-src', 8517); ?> (Random crash of FPM master process in fpm_stdio_child_said).</li>
3941</ul></li>
3942<li>Imap:
3943<ul>
3944  <li>Fixed bug <?php githubissuel('php/php-src', 10051); ?> (IMAP: there's no way to check if a IMAP\Connection is still open).</li>
3945</ul></li>
3946<li>MBString:
3947<ul>
3948  <li>Fixed bug <?php githubissuel('php/php-src', 9535); ?> (The behavior of mb_strcut in mbstring has been changed in PHP8.1).</li>
3949</ul></li>
3950<li>Opcache:
3951<ul>
3952  <li>Fixed bug <?php githubissuel('php/php-src', 9968); ?> (Segmentation Fault during OPCache Preload).</li>
3953</ul></li>
3954<li>OpenSSL:
3955<ul>
3956  <li>Fixed bug <?php githubissuel('php/php-src', 9997); ?> (OpenSSL engine clean up segfault).</li>
3957  <li>Fixed bug <?php githubissuel('php/php-src', 9064); ?> (PHP fails to build if openssl was built with --no-ec).</li>
3958  <li>Fixed bug <?php githubissuel('php/php-src', 10000); ?> (OpenSSL test failures when OpenSSL compiled with no-dsa).</li>
3959</ul></li>
3960<li>Pcntl:
3961<ul>
3962  <li>Fixed bug <?php githubissuel('php/php-src', 9298); ?> (Signal handler called after rshutdown leads to crash).</li>
3963</ul></li>
3964<li>PDO_Firebird:
3965<ul>
3966  <li>Fixed bug <?php githubissuel('php/php-src', 9971); ?> (Incorrect NUMERIC value returned from PDO_Firebird).</li>
3967</ul></li>
3968<li>PDO/SQLite:
3969<ul>
3970  <li><?php bugfix(81740); ?> (PDO::quote() may return unquoted string). (CVE-2022-31631)</li>
3971</ul></li>
3972<li>Session:
3973<ul>
3974  <li>Fixed <?php githubissuel('php/php-src', 9932); ?> (session name silently fails with . and [).</li>
3975</ul></li>
3976<li>SPL:
3977<ul>
3978  <li>Fixed <?php githubissuel('php/php-src', 9883); ?> (SplFileObject::__toString() reads next line).</li>
3979  <li>Fixed <?php githubissuel('php/php-src', 10011); ?> (Trampoline autoloader will get reregistered and cannot be unregistered).</li>
3980</ul></li>
3981<li>SQLite3:
3982<ul>
3983  <li><?php bugfix(81742); ?> (open_basedir bypass in SQLite3 by using file URI).</li>
3984</ul></li>
3985<li>TSRM:
3986<ul>
3987  <li>Fixed Windows shmget() wrt. IPC_PRIVATE.</li>
3988</ul></li>
3989</ul>
3990<!-- }}} --></section>
3991
3992
3993
3994<section class="version" id="8.2.0"><!-- {{{ 8.2.0 -->
3995<h3>Version 8.2.0</h3>
3996<b><?php release_date('08-Dec-2022'); ?></b>
3997<ul><li>CLI:
3998<ul>
3999  <li><?php bugfix(81496); ?> (Server logs incorrect request method).</li>
4000  <li>Updated the mime-type table for the builtin-server.</li>
4001  <li>Fixed potential overflow for the builtin server via the PHP_CLI_SERVER_WORKERS environment variable.</li>
4002  <li>Fixed <?php githubissuel('php/php-src', 8575); ?> by changing STDOUT, STDERR and STDIN to not close on resource destruction.</li>
4003  <li>Implement built-in web server responding without body to HEAD request on a static resource.</li>
4004  <li>Implement built-in web server responding with HTTP status 405 to DELETE/PUT/PATCH request on a static resource.</li>
4005  <li>Fixed bug <?php githubissuel('php/php-src', 9709); ?> (Null pointer dereference with -w/-s options).</li>
4006</ul></li>
4007<li>COM:
4008<ul>
4009  <li>Fixed bug <?php githubissuel('php/php-src', 8750); ?> (Can not create VT_ERROR variant type).</li>
4010</ul></li>
4011<li>Core:
4012<ul>
4013  <li><?php bugfix(81380); ?> (Observer may not be initialized properly).</li>
4014  <li>Fixed bug <?php githubissuel('php/php-src', 7771); ?> (Fix filename/lineno of constant expressions).</li>
4015  <li>Fixed bug <?php githubissuel('php/php-src', 7792); ?> (Improve class type in error messages).</li>
4016  <li>Support huge pages on MacOS.</li>
4017  <li>Fixed bug <?php githubissuel('php/php-src', 8655); ?> (Casting an object to array does not unwrap refcount=1 references).</li>
4018  <li>Fixed bug <?php githubissuel('php/php-src', 8661); ?> (Nullsafe in coalesce triggers undefined variable warning).</li>
4019  <li>Fixed bug <?php githubissuel('php/php-src', 7821); ?> and <?php githubissuel('php/php-src', 8418); ?> (Allow arbitrary const expressions in backed enums).</li>
4020  <li>Fixed bug <?php githubissuel('php/php-src', 8810); ?> (Incorrect lineno in backtrace of multi-line function calls).</li>
4021  <li>Optimised code path for newly created file with the stream plain wrapper.</li>
4022  <li>Uses safe_perealloc instead of perealloc for the ZEND_PTR_STACK_RESIZE_IF_NEEDED to avoid possible overflows.</li>
4023  <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>
4024  <li>Fixed bug <?php githubissuel('php/php-src', 8995); ?> (WeakMap object reference offset causing TypeError).</li>
4025  <li>Added error_log_mode ini setting.</li>
4026  <li>Updated request startup messages.</li>
4027  <li>Fixed bug <?php githubissuel('php/php-src', 7900); ?> (Arrow function with never return type compile-time errors).</li>
4028  <li>Fixed incorrect double to long casting in latest clang.</li>
4029  <li>Added support for defining constants in traits.</li>
4030  <li>Stop incorrectly emitting false positive deprecation notice alongside unsupported syntax fatal error for `"{$g{'h'}}"`.</li>
4031  <li>Fix unexpected deprecated dynamic property warning, which occurred when exit() in finally block after an exception was thrown without catching.</li>
4032  <li>Fixed bug <?php githubissuel('php/php-src', 9323); ?> (Crash in ZEND_RETURN/GC/zend_call_function) (Tim Starling)</li>
4033  <li>Fixed bug <?php githubissuel('php/php-src', 9227); ?> (Trailing dots and spaces in filenames are ignored).</li>
4034  <li>Fixed bug <?php githubissuel('php/php-src', 9285); ?> (Traits cannot be used in readonly classes).</li>
4035  <li>Fixed bug <?php githubissuel('php/php-src', 9186); ?> (@strict-properties can be bypassed using unserialization).</li>
4036  <li>Fixed bug <?php githubissuel('php/php-src', 9500); ?> (Using dnf type with parentheses after readonly keyword results in a parse error).</li>
4037  <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>
4038  <li>Fixed observer class notify with Opcache file_cache_only=1.</li>
4039  <li>Fixes segfault with Fiber on FreeBSD i386 architecture.</li>
4040  <li>Fixed bug <?php githubissuel('php/php-src', 9655); ?> (Pure intersection types cannot be implicitly nullable) (Girgias)</li>
4041  <li>Fixed bug <?php githubissuel('php/php-src', 9589); ?> (dl() segfaults when module is already loaded).</li>
4042  <li>Fixed bug <?php githubissuel('php/php-src', 9752); ?> (Generator crashes when interrupted during argument evaluation with extra named params).</li>
4043  <li>Fixed bug <?php githubissuel('php/php-src', 9801); ?> (Generator crashes when memory limit is exceeded during initialization).</li>
4044  <li>Fixed a bug with preloaded enums possibly segfaulting.</li>
4045  <li>Fixed bug <?php githubissuel('php/php-src', 9823); ?> (Don’t reset func in zend_closure_internal_handler).</li>
4046  <li>Fixed potential NULL pointer dereference Windows shm*() functions.</li>
4047  <li>Fix target validation for internal attributes with constructor property promotion.</li>
4048  <li>Fixed bug <?php githubissuel('php/php-src', 9750); ?> (Generator memory leak when interrupted during argument evaluation.</li>
4049  <li>Move observer_declared_function_notify until after pass_two().</li>
4050  <li>Do not report MINIT stage internal class aliases in extensions.</li>
4051</ul></li>
4052<li>Curl:
4053<ul>
4054  <li>Added support for CURLOPT_XFERINFOFUNCTION.</li>
4055  <li>Added support for CURLOPT_MAXFILESIZE_LARGE.</li>
4056  <li>Added new constants from cURL 7.62 to 7.80.</li>
4057  <li>New function curl_upkeep().</li>
4058</ul></li>
4059<li>Date:
4060<ul>
4061  <li>Fixed <?php githubissuel('php/php-src', 8458); ?> (DateInterval::createFromDateString does not throw if non-relative items are present).</li>
4062  <li><?php bugfix(52015); ?> (Allow including end date in DatePeriod iterations) (Daniel Egeberg, Derick)</li>
4063  <li>idate() now accepts format specifiers "N" (ISO Day-of-Week) and "o" (ISO Year).</li>
4064  <li>Fixed bug <?php githubissuel('php/php-src', 8730); ?> (DateTime::diff miscalculation is same time zone of different type).</li>
4065  <li>Fixed bug <?php githubissuel('php/php-src', 8964); ?> (DateTime object comparison after applying delta less than 1 second).</li>
4066  <li>Fixed bug <?php githubissuel('php/php-src', 9106); ?> (DateInterval 1.5s added to DateTimeInterface is rounded down since PHP 8.1.0).</li>
4067  <li><?php bugfix(75035); ?> (Datetime fails to unserialize "extreme" dates).</li>
4068  <li><?php bugfix(80483); ?> (DateTime Object with 5-digit year can't unserialized).</li>
4069  <li><?php bugfix(81263); ?> (Wrong result from DateTimeImmutable::diff).</li>
4070  <li>Fixed bug <?php githubissuel('php/php-src', 9431); ?> (DateTime::getLastErrors() not returning false when no errors/warnings).</li>
4071  <li>Fixed bug with parsing large negative numbers with the @ notation.</li>
4072</ul></li>
4073<li>DBA:
4074<ul>
4075  <li>Fixed LMDB driver hanging when attempting to delete a non-existing key (Girgias)</li>
4076  <li>Fixed LMDB driver memory leak on DB creation failure (Girgias)</li>
4077  <li>Fixed <?php githubissuel('php/php-src', 8856); ?> (dba: lmdb: allow to override the MDB_NOSUBDIR flag).</li>
4078</ul></li>
4079<li>FFI:
4080<ul>
4081  <li>Fixed bug <?php githubissuel('php/php-src', 9090); ?> (Support assigning function pointers in FFI).</li>
4082</ul></li>
4083<li>Fileinfo:
4084<ul>
4085  <li>Fixed bug <?php githubissuel('php/php-src', 8805); ?> (finfo returns wrong mime type for woff/woff2 files).</li>
4086</ul></li>
4087<li>Filter:
4088<ul>
4089  <li>Added FILTER_FLAG_GLOBAL_RANGE to filter Global IPs.</li>
4090</ul></li>
4091<li>FPM:
4092<ul>
4093  <li>Emit error for invalid port setting.</li>
4094  <li>Added extra check for FPM proc dumpable on SELinux based systems.</li>
4095  <li>Added support for listening queue on macOS.</li>
4096  <li>Changed default for listen.backlog on Linux to -1.</li>
4097  <li>Added listen.setfib pool option to set route FIB on FreeBSD.</li>
4098  <li>Added access.suppress_path pool option to filter access log entries.</li>
4099  <li>Fixed on fpm scoreboard occasional warning on acquisition failure.</li>
4100  <li>Fixed bug <?php githubissuel('php/php-src', 9754); ?> (SaltStack (using Python subprocess) hangs when running php-fpm 8.1.11).</li>
4101</ul></li>
4102<li>FTP:
4103<ul>
4104  <li>Fix datetime format string to follow POSIX spec in ftp_mdtm().</li>
4105</ul></li>
4106<li>GD:
4107<ul>
4108  <li><?php bugfix(81739); ?>: OOB read due to insufficient input validation in imageloadfont(). (CVE-2022-31630)</li>
4109</ul></li>
4110<li>GMP:
4111<ul>
4112  <li>Fixed bug <?php githubissuel('php/php-src', 9308); ?> (GMP throws the wrong error when a GMP object is passed to gmp_init()).</li>
4113</ul></li>
4114<li>Hash:
4115<ul>
4116  <li><?php bugfix(81738); ?>: buffer overflow in hash_update() on long parameter. (CVE-2022-37454)</li>
4117</ul></li>
4118<li>Intl:
4119<ul>
4120  <li>Update all grandfathered language tags with preferred values</li>
4121  <li>Fixed <?php githubissuel('php/php-src', 7939); ?> (Cannot unserialize IntlTimeZone objects).</li>
4122  <li>Fixed build for ICU 69.x and onwards.</li>
4123  <li>Declared Transliterator::$id as readonly to unlock subclassing it.</li>
4124  <li>Fixed bug <?php githubissuel('php/php-src', 9421); ?> (Incorrect argument number for ValueError in NumberFormatter).</li>
4125</ul></li>
4126<li>MBString:
4127<ul>
4128  <li>Fixed bug <?php githubissuel('php/php-src', 9248); ?> (Segmentation fault in mb_strimwidth()).</li>
4129</ul></li>
4130<li>mysqli:
4131<ul>
4132  <li>Fixed bug <?php githubissuel('php/php-src', 9841); ?> (mysqli_query throws warning despite using silenced error mode).</li>
4133</ul></li>
4134<li>MySQLnd:
4135<ul>
4136  <li>Fixed potential heap corruption due to alignment mismatch.</li>
4137</ul></li>
4138<li>OCI8:
4139<ul>
4140  <li>Added oci8.prefetch_lob_size directive to tune LOB query performance</li>
4141  <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>
4142</ul></li>
4143<li>ODBC:
4144<ul>
4145  <li>Fixed bug <?php githubissuel('php/php-src', 8300); ?> (User input not escaped when building connection string).</li>
4146  <li>Fixed bug <?php githubissuel('php/php-src', 9347); ?> (Current ODBC liveness checks may be inadequate).</li>
4147</ul></li>
4148<li>Opcache:
4149<ul>
4150  <li>Allocate JIT buffer close to PHP .text segemnt to allow using direct IP-relative calls and jumps.</li>
4151  <li>Added initial support for JIT performance profiling generation for macOs Instrument.</li>
4152  <li>Fixed bug <?php githubissuel('php/php-src', 8030); ?> (Segfault with JIT and large match/switch statements).</li>
4153  <li>Added JIT support improvement for macOs for segments and executable permission bit handling.</li>
4154  <li>Added JIT buffer allocation near the .text section on FreeNSD.</li>
4155  <li>Fixed bug <?php githubissuel('php/php-src', 9371); ?> (Crash with JIT on mac arm64) (jdp1024/David Carlier)</li>
4156  <li>Fixed bug <?php githubissuel('php/php-src', 9259); ?> (opcache.interned_strings_buffer setting integer overflow).</li>
4157  <li>Added indirect call reduction for jit on x86 architectures.</li>
4158  <li>Fixed bug <?php githubissuel('php/php-src', 9164); ?> (Segfault in zend_accel_class_hash_copy).</li>
4159  <li>Fix opcache preload with observers enabled.</li>
4160</ul></li>
4161<li>OpenSSL:
4162<ul>
4163  <li>Discard poll calls on socket when no timeout/non blocking/MSG_DONTWAIT.</li>
4164  <li>Fixed bug <?php githubissuel('php/php-src', 9310); ?> (SSL local_cert and local_pk do not respect open_basedir).</li>
4165  <li>Implement FR #76935 ("chacha20-poly1305" is an AEAD but does not work like AEAD).</li>
4166  <li>Added openssl_cipher_key_length function.</li>
4167  <li>Fixed bug <?php githubissuel('php/php-src', 9517); ?> (Compilation error openssl extension related to PR <?php githubissuel('php/php-src', 9366); ?>).</li>
4168  <li>Fixed missing clean up of OpenSSL engine list - attempt to fix <?php githubissuel('php/php-src', 8620); ?>.</li>
4169  <li>Fixed bug <?php githubissuel('php/php-src', 8430); ?> (OpenSSL compiled with no-md2, no-md4 or no-rmd160 does not build).</li>
4170</ul></li>
4171<li>PCNTL:
4172<ul>
4173  <li>Fixed pcntl_(get|set)priority error handling for MacOS.</li>
4174</ul></li>
4175<li>PCRE:
4176<ul>
4177  <li><?php implemented(77726); ?> (Allow null character in regex patterns).</li>
4178  <li>Updated bundled libpcre to 10.40.</li>
4179</ul></li>
4180<li>PDO:
4181<ul>
4182  <li>Fixed bug <?php githubissuel('php/php-src', 9818); ?> (Initialize run time cache in PDO methods).</li>
4183</ul></li>
4184<li>PDO_Firebird:
4185<ul>
4186  <li>Fixed bug <?php githubissuel('php/php-src', 8576); ?> (Bad interpretation of length when char is UTF-8).</li>
4187</ul></li>
4188<li>PDO_ODBC:
4189<ul>
4190  <li><?php bugfix(80909); ?> (crash with persistent connections in PDO_ODBC).</li>
4191  <li>Fixed bug <?php githubissuel('php/php-src', 8300); ?> (User input not escaped when building connection string).</li>
4192  <li>Fixed bug <?php githubissuel('php/php-src', 9347); ?> (Current ODBC liveness checks may be inadequate).</li>
4193  <li>Fixed bug <?php githubissuel('php/php-src', 9372); ?> (HY010 when binding overlong parameter).</li>
4194</ul></li>
4195<li>PDO_PGSQL:
4196<ul>
4197  <li>Fixed bug <?php githubissuel('php/php-src', 9411); ?> (PgSQL large object resource is incorrectly closed).</li>
4198</ul></li>
4199<li>Random:
4200<ul>
4201  <li>Added new random extension.</li>
4202  <li>Fixed bug <?php githubissuel('php/php-src', 9067); ?> (random extension is not thread safe).</li>
4203  <li>Fixed bug <?php githubissuel('php/php-src', 9055); ?> (segmentation fault if user engine throws).</li>
4204  <li>Fixed bug <?php githubissuel('php/php-src', 9066); ?> (signed integer overflow).</li>
4205  <li>Fixed bug <?php githubissuel('php/php-src', 9083); ?> (undefined behavior during shifting).</li>
4206  <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>
4207  <li>Fixed bug <?php githubissuel('php/php-src', 9089); ?> (Fix memory leak on Randomizer::__construct() call twice).</li>
4208  <li>Fixed bug <?php githubissuel('php/php-src', 9212); ?> (PcgOneseq128XslRr64::jump() should not allow negative $advance).</li>
4209  <li>Changed Mt19937 to throw a ValueError instead of InvalidArgumentException for invalid $mode.</li>
4210  <li>Splitted Random\Randomizer::getInt() (without arguments) to Random\Randomizer::nextInt().</li>
4211  <li>Fixed bug <?php githubissuel('php/php-src', 9235); ?> (non-existant $sequence parameter in stub for PcgOneseq128XslRr64::__construct()).</li>
4212  <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>
4213  <li>Fixed bug <?php githubissuel('php/php-src', 9249); ?> (Xoshiro256StarStar does not reject the invalid all-zero state).</li>
4214  <li>Removed redundant RuntimeExceptions from Randomizer methods. The exceptions thrown by the engines will be exposed directly.</li>
4215  <li>Added extension specific Exceptions/Errors (RandomException, RandomError, BrokenRandomEngineError).</li>
4216  <li>Fixed bug <?php githubissuel('php/php-src', 9415); ?> (Randomizer::getInt(0, 2**32 - 1) with Mt19937 always returns 1).</li>
4217  <li>Fixed Randomizer::getInt() consistency for 32-bit engines.</li>
4218  <li>Fixed bug <?php githubissuel('php/php-src', 9464); ?> (build on older macOs releases).</li>
4219  <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>
4220</ul></li>
4221<li>Reflection:
4222<ul>
4223  <li>Added ReflectionFunction::isAnonymous().</li>
4224  <li>Added ReflectionMethod::hasPrototype().</li>
4225  <li>Narrow ReflectionEnum::getBackingType() return type to ReflectionNamedType.</li>
4226  <li>Fixed bug <?php githubissuel('php/php-src', 8932); ?> (ReflectionFunction provides no way to get the called class of a Closure).</li>
4227</ul></li>
4228<li>Session:
4229<ul>
4230  <li>Fixed bug <?php githubissuel('php/php-src', 7787); ?> (Improve session write failure message for user error handlers).</li>
4231  <li>Fixed <?php githubissuel('php/php-src', 9200); ?> (setcookie has an obsolete expires date format).</li>
4232  <li>Fixed <?php githubissuel('php/php-src', 9584); ?> (Avoid memory corruption when not unregistering custom session handler).</li>
4233  <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>
4234</ul></li>
4235<li>SOAP:
4236<ul>
4237  <li>Fixed bug <?php githubissuel('php/php-src', 9720); ?> (Null pointer dereference while serializing the response).</li>
4238</ul></li>
4239<li>Sockets:
4240<ul>
4241  <li>Added TCP_NOTSENT_LOWAT socket option.</li>
4242  <li>Added SO_MEMINFO socket option.</li>
4243  <li>Added SO_RTABLE socket option (OpenBSD), equivalent of SO_MARK (Linux).</li>
4244  <li>Added TCP_KEEPALIVE, TCP_KEEPIDLE, TCP_KEEPINTVL, TCP_KEEPCNT socket options.</li>
4245  <li>Added ancillary data support for FreeBSD.</li>
4246  <li>Added ancillary data support for NetBSD.</li>
4247  <li>Added SO_BPF_EXTENSIONS socket option.</li>
4248  <li>Added SO_SETFIB socket option.</li>
4249  <li>Added TCP_CONGESTION socket option.</li>
4250  <li>Added SO_ZEROCOPY/MSG_ZEROCOPY options.</li>
4251  <li>Added SOL_FILTER socket option for Solaris.</li>
4252  <li>Fixed socket constants regression as of PHP 8.2.0beta3.</li>
4253</ul></li>
4254<li>Sodium:
4255<ul>
4256  <li>Added sodium_crypto_stream_xchacha20_xor_ic().</li>
4257</ul></li>
4258<li>SPL:
4259<ul>
4260  <li>Uses safe_erealloc instead of erealloc to handle heap growth for the SplHeap::insert method to avoid possible overflows.</li>
4261  <li>Widen iterator_to_array() and iterator_count()'s $iterator parameter to iterable.</li>
4262  <li><?php bugfix(69181); ?> (READ_CSV|DROP_NEW_LINE drops newlines within fields).</li>
4263  <li><?php bugfix(65069); ?> (GlobIterator incorrect handling of open_basedir check).</li>
4264</ul></li>
4265<li>SQLite3:
4266<ul>
4267  <li>Changed sqlite3.defensive from PHP_INI_SYSTEM to PHP_INI_USER.</li>
4268</ul></li>
4269<li>Standard:
4270<ul>
4271  <li>net_get_interfaces() also reports wireless network interfaces on Windows.</li>
4272  <li>Finished AVIF support in getimagesize().</li>
4273  <li>Fixed bug <?php githubissuel('php/php-src', 7847); ?> (stripos with large haystack has bad performance).</li>
4274  <li>New function memory_reset_peak_usage().</li>
4275  <li>Fixed parse_url(): can not recognize port without scheme.</li>
4276  <li>Deprecated utf8_encode() and utf8_decode().</li>
4277  <li>Fixed the crypt_sha256/512 api build with clang &gt; 12.</li>
4278  <li>Uses safe_erealloc instead of erealloc to handle options in getopt to avoid possible overflows.</li>
4279  <li>Implemented FR <?php githubissuel('php/php-src', 8924); ?> (str_split should return empty array for empty string).</li>
4280  <li>Added ini_parse_quantity function to convert ini quantities shorthand notation to int.</li>
4281  <li>Enable arc4random_buf for Linux glibc 2.36 and onwards for the random_bytes.</li>
4282  <li>Uses CCRandomGenerateBytes instead of arc4random_buf on macOs. (David Carlier).</li>
4283  <li><?php bugfix(65489); ?> (glob() basedir check is inconsistent).</li>
4284  <li>Fixed <?php githubissuel('php/php-src', 9200); ?> (setcookie has an obsolete expires date format).</li>
4285  <li>Fixed <?php githubissuel('php/php-src', 9244); ?> (Segfault with array_multisort + array_shift).</li>
4286  <li>Fixed bug <?php githubissuel('php/php-src', 9296); ?> (`ksort` behaves incorrectly on arrays with mixed keys).</li>
4287  <li>Marked crypt()'s $string parameter as #[\SensitiveParameter].</li>
4288  <li>Fixed bug <?php githubissuel('php/php-src', 9464); ?> (build on older macOs releases).</li>
4289  <li>Fixed bug <?php githubissuel('php/php-src', 9518); ?> (Disabling IPv6 support disables unrelated constants).</li>
4290  <li>Revert "Fixed parse_url(): can not recognize port without scheme." (andypost)</li>
4291  <li>Fix crash reading module_entry after DL_UNLOAD() when module already loaded.</li>
4292</ul></li>
4293<li>Streams:
4294<ul>
4295  <li>Set IP_BIND_ADDRESS_NO_PORT if available when connecting to remote host.</li>
4296  <li>Fixed bug <?php githubissuel('php/php-src', 8548); ?> (stream_wrapper_unregister() leaks memory).</li>
4297  <li>Discard poll calls on socket when no timeout/non blocking/MSG_DONTWAIT.</li>
4298  <li>Fixed bug <?php githubissuel('php/php-src', 9316); ?> ($http_response_header is wrong for long status line).</li>
4299  <li>Fixed bug <?php githubissuel('php/php-src', 9590); ?> (stream_select does not abort upon exception or empty valid fd set).</li>
4300  <li>Fixed bug <?php githubissuel('php/php-src', 9653); ?> (file copy between different filesystems).</li>
4301  <li>Fixed bug <?php githubissuel('php/php-src', 9779); ?> (stream_copy_to_stream fails if dest in append mode).</li>
4302</ul></li>
4303<li>Windows:
4304<ul>
4305  <li>Added preliminary support for (cross-)building for ARM64.</li>
4306</ul></li>
4307<li>XML:
4308<ul>
4309  <li>Added libxml_get_external_entity_loader() function.</li>
4310</ul></li>
4311<li>Zip:
4312<ul>
4313  <li>add ZipArchive::clearError() method</li>
4314  <li>add ZipArchive::getStreamName() method</li>
4315  <li>add ZipArchive::getStreamIndex() method</li>
4316  <li>On Windows, the Zip extension is now built as shared library (DLL) by default.</li>
4317  <li>Implement fseek for zip stream when possible with libzip 1.9.1.</li>
4318</ul></li>
4319</ul>
4320<!-- }}} --></section>
4321
4322
4323
4324<a id="PHP_8_1"></a>
4325
4326<section class="version" id="8.1.31"><!-- {{{ 8.1.31 -->
4327<h3>Version 8.1.31</h3>
4328<b><?php release_date('21-Nov-2024'); ?></b>
4329<ul><li>CLI:
4330<ul>
4331  <li>Fixed bug <?php githubsecurityl('php/php-src', '4w77-75f9-2c8w'); ?> (Heap-Use-After-Free in sapi_read_post_data Processing in CLI SAPI Interface).</li>
4332</ul></li>
4333<li>LDAP:
4334<ul>
4335  <li>Fixed bug <?php githubsecurityl('php/php-src', 'g665-fm4p-vhff'); ?> (OOB access in ldap_escape). (CVE-2024-8932)</li>
4336</ul></li>
4337<li>MySQLnd:
4338<ul>
4339  <li>Fixed bug <?php githubsecurityl('php/php-src', 'h35g-vwh6-m678'); ?> (Leak partial content of the heap through heap buffer over-read). (CVE-2024-8929)</li>
4340</ul></li>
4341<li>PDO DBLIB:
4342<ul>
4343  <li>Fixed bug <?php githubsecurityl('php/php-src', '5hqh-c84r-qjcv'); ?> (Integer overflow in the dblib quoter causing OOB writes). (CVE-2024-11236)</li>
4344</ul></li>
4345<li>PDO Firebird:
4346<ul>
4347  <li>Fixed bug <?php githubsecurityl('php/php-src', '5hqh-c84r-qjcv'); ?> (Integer overflow in the firebird quoter causing OOB writes). (CVE-2024-11236)</li>
4348</ul></li>
4349<li>Streams:
4350<ul>
4351  <li>Fixed bug <?php githubsecurityl('php/php-src', 'c5f2-jwm7-mmq2'); ?> (Configuring a proxy in a stream context might allow for CRLF injection in URIs). (CVE-2024-11234)</li>
4352  <li>Fixed bug <?php githubsecurityl('php/php-src', 'r977-prxv-hc43'); ?> (Single byte overread with convert.quoted-printable-decode filter). (CVE-2024-11233)</li>
4353</ul></li>
4354</ul>
4355<!-- }}} --></section>
4356
4357
4358
4359<section class="version" id="8.1.30"><!-- {{{ 8.1.30 -->
4360<h3>Version 8.1.30</h3>
4361<b><?php release_date('26-Sep-2024'); ?></b>
4362<ul><li>CGI:
4363<ul>
4364  <li>Fixed bug GHSA-p99j-rfp4-xqvq (Bypass of CVE-2024-4577, Parameter Injection Vulnerability). (CVE-2024-8926)</li>
4365  <li>Fixed bug GHSA-94p6-54jq-9mwp (cgi.force_redirect configuration is bypassable due to the environment variable collision). (CVE-2024-8927)</li>
4366</ul></li>
4367<li>FPM:
4368<ul>
4369  <li>Fixed bug GHSA-865w-9rf3-2wh5 (Logs from childrens may be altered). (CVE-2024-9026)</li>
4370</ul></li>
4371<li>SAPI:
4372<ul>
4373  <li>Fixed bug GHSA-9pqp-7h25-4f32 (Erroneous parsing of multipart form data). (CVE-2024-8925)</li>
4374</ul></li>
4375</ul>
4376<!-- }}} --></section>
4377
4378
4379
4380<section class="version" id="8.1.29"><!-- {{{ 8.1.29 -->
4381<h3>Version 8.1.29</h3>
4382<b><?php release_date('06-Jun-2024'); ?></b>
4383<ul><li>CGI:
4384<ul>
4385  <li>Fixed bug GHSA-3qgc-jrrr-25jv (Bypass of CVE-2012-1823, Argument Injection in PHP-CGI). (CVE-2024-4577)</li>
4386</ul></li>
4387<li>Filter:
4388<ul>
4389  <li>Fixed bug GHSA-w8qr-v226-r27w (Filter bypass in filter_var FILTER_VALIDATE_URL). (CVE-2024-5458)</li>
4390</ul></li>
4391<li>OpenSSL:
4392<ul>
4393  <li>The openssl_private_decrypt function in PHP, when using PKCS1 padding (OPENSSL_PKCS1_PADDING, which is the default), is vulnerable to the Marvin Attack unless it is used with an OpenSSL version that includes the changes from this pull request: https://github.com/openssl/openssl/pull/13817 (rsa_pkcs1_implicit_rejection). These changes are part of OpenSSL 3.2 and have also been backported to stable versions of various Linux distributions, as well as to the PHP builds provided for Windows since the previous release. All distributors and builders should ensure that this version is used to prevent PHP from being vulnerable.</li>
4394</ul></li>
4395<li>Standard:
4396<ul>
4397  <li>Fixed bug GHSA-9fcc-425m-g385 (Bypass of CVE-2024-1874). (CVE-2024-5585)</li>
4398</ul></li>
4399</ul>
4400<!-- }}} --></section>
4401
4402
4403
4404<section class="version" id="8.1.28"><!-- {{{ 8.1.28 -->
4405<h3>Version 8.1.28</h3>
4406<b><?php release_date('11-Apr-2024'); ?></b>
4407<ul><li>Standard:
4408<ul>
4409  <li>Fixed bug GHSA-pc52-254m-w9w7 (Command injection via array-ish $command parameter of proc_open). (CVE-2024-1874)</li>
4410  <li>Fixed bug GHSA-wpj3-hf5j-x4v4 (__Host-/__Secure- cookie bypass due to partial CVE-2022-31629 fix). (CVE-2024-2756)</li>
4411  <li>Fixed bug GHSA-h746-cjrr-wfmr (password_verify can erroneously return true, opening ATO risk). (CVE-2024-3096)</li>
4412</ul></li>
4413</ul>
4414<!-- }}} --></section>
4415
4416
4417
4418<section class="version" id="8.1.27"><!-- {{{ 8.1.27 -->
4419<h3>Version 8.1.27</h3>
4420<b><?php release_date('21-Dec-2023'); ?></b>
4421<ul><li>Core:
4422<ul>
4423  <li>Fixed oss-fuzz #54325 (Use-after-free of name in var-var with malicious error handler).</li>
4424  <li>Fixed oss-fuzz #64209 (In-place modification of filename in php_message_handler_for_zend).</li>
4425  <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>
4426</ul></li>
4427<li>DOM:
4428<ul>
4429  <li>Fixed bug <?php githubissuel('php/php-src', 12616); ?> (DOM: Removing XMLNS namespace node results in invalid default: prefix).</li>
4430</ul></li>
4431<li>FPM:
4432<ul>
4433  <li>Fixed bug <?php githubissuel('php/php-src', 12705); ?> (Segmentation fault in fpm_status_export_to_zval).</li>
4434</ul></li>
4435<li>Intl:
4436<ul>
4437  <li>Fixed bug <?php githubissuel('php/php-src', 12635); ?> (Test bug69398.phpt fails with ICU 74.1).</li>
4438</ul></li>
4439<li>LibXML:
4440<ul>
4441  <li>Fixed bug <?php githubissuel('php/php-src', 12702); ?> (libxml2 2.12.0 issue building from src).</li>
4442</ul></li>
4443<li>MySQLnd:
4444<ul>
4445  <li>Avoid using uninitialised struct.</li>
4446</ul></li>
4447<li>OpenSSL:
4448<ul>
4449  <li><?php bugfix(50713); ?> (openssl_pkcs7_verify() may ignore untrusted CAs).</li>
4450</ul></li>
4451<li>PCRE:
4452<ul>
4453  <li>Fixed bug <?php githubissuel('php/php-src', 12628); ?> (The gh11374 test fails on Alpinelinux).</li>
4454</ul></li>
4455<li>PGSQL:
4456<ul>
4457  <li>Fixed bug <?php githubissuel('php/php-src', 12763); ?> wrong argument type for pg_untrace.</li>
4458</ul></li>
4459<li>PHPDBG:
4460<ul>
4461  <li>Fixed bug <?php githubissuel('php/php-src', 12675); ?> (MEMORY_LEAK in phpdbg_prompt.c).</li>
4462</ul></li>
4463<li>SQLite3:
4464<ul>
4465  <li>Fixed bug <?php githubissuel('php/php-src', 12633); ?> (sqlite3_defensive.phpt fails with sqlite 3.44.0).</li>
4466</ul></li>
4467<li>Standard:
4468<ul>
4469  <li>Fix memory leak in syslog device handling.</li>
4470  <li>Fixed bug <?php githubissuel('php/php-src', 12621); ?> (browscap segmentation fault when configured in the vhost).</li>
4471  <li>Fixed bug <?php githubissuel('php/php-src', 12655); ?> (proc_open() does not take into account references in the descriptor array).</li>
4472</ul></li>
4473<li>Streams:
4474<ul>
4475  <li><?php bugfix(79945); ?> (Stream wrappers in imagecreatefrompng causes segfault).</li>
4476</ul></li>
4477<li>Zip:
4478<ul>
4479  <li>Fixed bug <?php githubissuel('php/php-src', 12661); ?> (Inconsistency in ZipArchive::addGlob remove_path Option Behavior).</li>
4480</ul></li>
4481</ul>
4482<!-- }}} --></section>
4483
4484
4485
4486<section class="version" id="8.1.26"><!-- {{{ 8.1.26 -->
4487<h3>Version 8.1.26</h3>
4488<b><?php release_date('23-Nov-2023'); ?></b>
4489<ul><li>Core:
4490<ul>
4491  <li>Fixed bug <?php githubissuel('php/php-src', 12468); ?> (Double-free of doc_comment when overriding static property via trait).</li>
4492  <li>Fixed segfault caused by weak references to FFI objects.</li>
4493  <li>Fixed max_execution_time: don't delete an unitialized timer.</li>
4494</ul></li>
4495<li>DOM:
4496<ul>
4497  <li>Fix registerNodeClass with abstract class crashing.</li>
4498  <li>Add missing NULL pointer error check.</li>
4499  <li>Fix validation logic of php:function() callbacks.</li>
4500</ul></li>
4501<li>Fiber:
4502<ul>
4503  <li>Fixed bug <?php githubissuel('php/php-src', 11121); ?> (ReflectionFiber segfault).</li>
4504</ul></li>
4505<li>FPM:
4506<ul>
4507  <li>Fixed bug <?php githubissuel('php/php-src', 9921); ?> (Loading ext in FPM config does not register module handlers).</li>
4508  <li>Fixed bug <?php githubissuel('php/php-src', 12232); ?> (FPM: segfault dynamically loading extension without opcache).</li>
4509</ul></li>
4510<li>Intl:
4511<ul>
4512  <li>Removed the BC break on IntlDateFormatter::construct which threw an exception with an invalid locale.</li>
4513</ul></li>
4514<li>Opcache:
4515<ul>
4516  <li>Added warning when JIT cannot be enabled.</li>
4517  <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>
4518</ul></li>
4519<li>OpenSSL:
4520<ul>
4521  <li>Fixed bug <?php githubissuel('php/php-src', 12489); ?> (Missing sigbio creation checking in openssl_cms_verify).</li>
4522</ul></li>
4523<li>PCRE:
4524<ul>
4525  <li>Fixed bug <?php githubissuel('php/php-src', 11374); ?> (Backport upstream fix, Different preg_match result with -d pcre.jit=0).</li>
4526</ul></li>
4527<li>SOAP:
4528<ul>
4529  <li>Fixed bug <?php githubissuel('php/php-src', 12392); ?> (Segmentation fault on SoapClient::__getTypes).</li>
4530  <li><?php bugfix(66150); ?> (SOAP WSDL cache race condition causes Segmentation Fault).</li>
4531  <li><?php bugfix(67617); ?> (SOAP leaves incomplete cache file on ENOSPC).</li>
4532  <li>Fix incorrect uri check in SOAP caching.</li>
4533  <li>Fix segfault and assertion failure with refcounted props and arrays.</li>
4534  <li>Fix potential crash with an edge case of persistent encoders.</li>
4535  <li><?php bugfix(75306); ?> (Memleak in SoapClient).</li>
4536</ul></li>
4537<li>Streams:
4538<ul>
4539  <li><?php bugfix(75708); ?> (getimagesize with "&amp;$imageinfo" fails on StreamWrappers).</li>
4540</ul></li>
4541<li>XMLReader:
4542<ul>
4543  <li>Add missing NULL pointer error check.</li>
4544</ul></li>
4545<li>XMLWriter:
4546<ul>
4547  <li>Add missing NULL pointer error check.</li>
4548</ul></li>
4549<li>XSL:
4550<ul>
4551  <li>Add missing module dependency.</li>
4552  <li>Fix validation logic of php:function() callbacks.</li>
4553</ul></li>
4554</ul>
4555<!-- }}} --></section>
4556
4557
4558
4559<section class="version" id="8.1.25"><!-- {{{ 8.1.25 -->
4560<h3>Version 8.1.25</h3>
4561<b><?php release_date('26-Oct-2023'); ?></b>
4562<ul><li>Core:
4563<ul>
4564  <li>Fixed bug <?php githubissuel('php/php-src', 12207); ?> (memory leak when class using trait with doc block).</li>
4565  <li>Fixed bug <?php githubissuel('php/php-src', 12215); ?> (Module entry being overwritten causes type errors in ext/dom).</li>
4566  <li>Fixed bug <?php githubissuel('php/php-src', 12273); ?> (__builtin_cpu_init check).</li>
4567  <li><?php bugfix(80092); ?> (ZTS + preload = segfault on shutdown).</li>
4568</ul></li>
4569<li>CLI:
4570<ul>
4571  <li>Ensure a single Date header is present.</li>
4572</ul></li>
4573<li>CType:
4574<ul>
4575  <li>Fixed bug <?php githubissuel('php/php-src', 11997); ?> (ctype_alnum 5 times slower in PHP 8.1 or greater).</li>
4576</ul></li>
4577<li>DOM:
4578<ul>
4579  <li>Restore old namespace reconciliation behaviour.</li>
4580  <li>Fixed bug <?php githubissuel('php/php-src', 8996); ?> (DOMNode serialization on PHP ^8.1).</li>
4581</ul></li>
4582<li>Fileinfo:
4583<ul>
4584  <li>Fixed bug <?php githubissuel('php/php-src', 11891); ?> (fileinfo returns text/xml for some svg files).</li>
4585</ul></li>
4586<li>Filter:
4587<ul>
4588  <li>Fix explicit FILTER_REQUIRE_SCALAR with FILTER_CALLBACK (ilutov)</li>
4589</ul></li>
4590<li>Hash:
4591<ul>
4592  <li>Fixed bug <?php githubissuel('php/php-src', 12186); ?> (segfault copying/cloning a finalized HashContext).</li>
4593</ul></li>
4594<li>Intl:
4595<ul>
4596  <li>Fixed bug <?php githubissuel('php/php-src', 12243); ?> (segfault on IntlDateFormatter::construct).</li>
4597  <li>Fixed bug <?php githubissuel('php/php-src', 12282); ?> (IntlDateFormatter::construct should throw an exception on an invalid locale).</li>
4598</ul></li>
4599<li>MySQLnd:
4600<ul>
4601  <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>
4602</ul></li>
4603<li>Opcache:
4604<ul>
4605  <li>Fixed opcache_invalidate() on deleted file.</li>
4606  <li>Fixed bug <?php githubissuel('php/php-src', 12380); ?> (JIT+private array property access inside closure accesses private property in child class).</li>
4607</ul></li>
4608<li>PCRE:
4609<ul>
4610  <li>Fixed bug <?php githubissuel('php/php-src', 11956); ?> (Backport upstream fix, PCRE regular expressions with JIT enabled gives different result).</li>
4611</ul></li>
4612<li>SimpleXML:
4613<ul>
4614  <li>Fixed bug <?php githubissuel('php/php-src', 12170); ?> (Can't use xpath with comments in SimpleXML).</li>
4615  <li>Fixed bug <?php githubissuel('php/php-src', 12223); ?> (Entity reference produces infinite loop in var_dump/print_r).</li>
4616  <li>Fixed bug <?php githubissuel('php/php-src', 12167); ?> (Unable to get processing instruction contents in SimpleXML).</li>
4617  <li>Fixed bug <?php githubissuel('php/php-src', 12169); ?> (Unable to get comment contents in SimpleXML).</li>
4618</ul></li>
4619<li>Streams:
4620<ul>
4621  <li>Fixed bug <?php githubissuel('php/php-src', 12190); ?> (binding ipv4 address with both address and port at 0).</li>
4622</ul></li>
4623<li>XML:
4624<ul>
4625  <li>Fix return type of stub of xml_parse_into_struct().</li>
4626  <li>Fix memory leak when calling xml_parse_into_struct() twice.</li>
4627</ul></li>
4628<li>XSL:
4629<ul>
4630  <li>Fix type error on XSLTProcessor::transformToDoc return value with SimpleXML.</li>
4631</ul></li>
4632<li>Sockets:
4633<ul>
4634  <li>Fix socket_export_stream() with wrong protocol (twosee)</li>
4635</ul></li>
4636</ul>
4637<!-- }}} --></section>
4638
4639
4640
4641<section class="version" id="8.1.24"><!-- {{{ 8.1.24 -->
4642<h3>Version 8.1.24</h3>
4643<b><?php release_date('28-Sep-2023'); ?></b>
4644<ul><li>Core:
4645<ul>
4646  <li>Fixed bug <?php githubissuel('php/php-src', 11937); ?> (Constant ASTs containing objects).</li>
4647  <li>Fixed bug <?php githubissuel('php/php-src', 11790); ?> (On riscv64 require libatomic if actually needed).</li>
4648  <li>Fixed bug <?php githubissuel('php/php-src', 12073); ?> (Segfault when freeing incompletely initialized closures).</li>
4649  <li>Fixed bug <?php githubissuel('php/php-src', 12060); ?> (Internal iterator rewind handler is called twice).</li>
4650  <li>Fixed bug <?php githubissuel('php/php-src', 12102); ?> (Incorrect compile error when using array access on TMP value in function call).</li>
4651</ul></li>
4652<li>DOM:
4653<ul>
4654  <li>Fix memory leak when setting an invalid DOMDocument encoding.</li>
4655</ul></li>
4656<li>Iconv:
4657<ul>
4658  <li>Fixed build for NetBSD which still uses the old iconv signature.</li>
4659</ul></li>
4660<li>Intl:
4661<ul>
4662  <li>Fixed bug <?php githubissuel('php/php-src', 12020); ?> (intl_get_error_message() broken after MessageFormatter::formatMessage() fails).</li>
4663</ul></li>
4664<li>MySQLnd:
4665<ul>
4666  <li>Fixed bug <?php githubissuel('php/php-src', 10270); ?> (Invalid error message when connection via SSL fails: "trying to connect via (null)").</li>
4667</ul></li>
4668<li>ODBC:
4669<ul>
4670  <li>Fixed memory leak with failed SQLPrepare.</li>
4671  <li>Fixed persistent procedural ODBC connections not getting closed.</li>
4672</ul></li>
4673<li>SimpleXML:
4674<ul>
4675  <li><?php bugfix(52751); ?> (XPath processing-instruction() function is not supported).</li>
4676</ul></li>
4677<li>SPL:
4678<ul>
4679  <li>Fixed bug <?php githubissuel('php/php-src', 11972); ?> (RecursiveCallbackFilterIterator regression in 8.1.18).</li>
4680</ul></li>
4681<li>SQLite3:
4682<ul>
4683  <li>Fixed bug <?php githubissuel('php/php-src', 11878); ?> (SQLite3 callback functions cause a memory leak with a callable array).</li>
4684</ul></li>
4685</ul>
4686<!-- }}} --></section>
4687
4688
4689
4690<section class="version" id="8.1.23"><!-- {{{ 8.1.23 -->
4691<h3>Version 8.1.23</h3>
4692<b><?php release_date('31-Aug-2023'); ?></b>
4693<ul><li>CLI:
4694<ul>
4695  <li>Fixed bug <?php githubissuel('php/php-src', 11716); ?> (cli server crashes on SIGINT when compiled with ZEND_RC_DEBUG=1).</li>
4696  <li>Fixed bug <?php githubissuel('php/php-src', 10964); ?> (Improve man page about the built-in server).</li>
4697</ul></li>
4698<li>Core:
4699<ul>
4700  <li>Fixed strerror_r detection at configuration time.</li>
4701</ul></li>
4702<li>Date:
4703<ul>
4704  <li>Fixed bug <?php githubissuel('php/php-src', 11416); ?>: Crash with DatePeriod when uninitialised objects are passed in.</li>
4705</ul></li>
4706<li>DOM:
4707<ul>
4708  <li>Fix DOMEntity field getter bugs.</li>
4709  <li>Fix incorrect attribute existence check in DOMElement::setAttributeNodeNS.</li>
4710  <li>Fix DOMCharacterData::replaceWith() with itself.</li>
4711  <li>Fix empty argument cases for DOMParentNode methods.</li>
4712  <li>Fixed bug <?php githubissuel('php/php-src', 11791); ?> (Wrong default value of DOMDocument::xmlStandalone).</li>
4713  <li>Fix json_encode result on DOMDocument.</li>
4714  <li>Fix manually calling __construct() on DOM classes.</li>
4715  <li>Fixed bug <?php githubissuel('php/php-src', 11830); ?> (ParentNode methods should perform their checks upfront).</li>
4716  <li>Fix segfault when DOMParentNode::prepend() is called when the child disappears.</li>
4717</ul></li>
4718<li>FFI:
4719<ul>
4720  <li>Fix leaking definitions when using FFI::cdef()-&gt;new(...).</li>
4721</ul></li>
4722<li>MySQLnd:
4723<ul>
4724  <li>Fixed bug <?php githubissuel('php/php-src', 11440); ?> (authentication to a sha256_password account fails over SSL).</li>
4725  <li>Fixed bug <?php githubissuel('php/php-src', 11438); ?> (mysqlnd fails to authenticate with sha256_password accounts using passwords longer than 19 characters).</li>
4726  <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>
4727  <li>Fixed invalid error message "Malformed packet" when connection is dropped.</li>
4728</ul></li>
4729<li>Opcache:
4730<ul>
4731  <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>
4732  <li>Avoid adding an unnecessary read-lock when loading script from shm if restart is in progress.</li>
4733</ul></li>
4734<li>PCNTL:
4735<ul>
4736  <li>Revert behaviour of receiving SIGCHLD signals back to the behaviour before 8.1.22.</li>
4737</ul></li>
4738<li>SPL:
4739<ul>
4740  <li><?php bugfix(81992); ?> (SplFixedArray::setSize() causes use-after-free).</li>
4741</ul></li>
4742<li>Standard:
4743<ul>
4744  <li>Prevent int overflow on $decimals in number_format.</li>
4745  <li>Fixed bug <?php githubissuel('php/php-src', 11870); ?> (Fix off-by-one bug when truncating tempnam prefix) (athos-ribeiro)</li>
4746</ul></li>
4747</ul>
4748<!-- }}} --></section>
4749
4750
4751
4752<section class="version" id="8.1.22"><!-- {{{ 8.1.22 -->
4753<h3>Version 8.1.22</h3>
4754<b><?php release_date('03-Aug-2023'); ?></b>
4755<ul><li>Build:
4756<ul>
4757  <li>Fixed bug <?php githubissuel('php/php-src', 11522); ?> (PHP version check fails with '-' separator).</li>
4758</ul></li>
4759<li>CLI:
4760<ul>
4761  <li>Fix interrupted CLI output causing the process to exit.</li>
4762</ul></li>
4763<li>Core:
4764<ul>
4765  <li>Fixed oss-fuzz #60011 (Mis-compilation of by-reference nullsafe operator).</li>
4766  <li>Fixed use-of-uninitialized-value with ??= on assert.</li>
4767  <li>Fixed build for FreeBSD before the 11.0 releases.</li>
4768</ul></li>
4769<li>Curl:
4770<ul>
4771  <li>Fix crash when an invalid callback function is passed to CURLMOPT_PUSHFUNCTION.</li>
4772</ul></li>
4773<li>Date:
4774<ul>
4775  <li>Fixed bug <?php githubissuel('php/php-src', 11368); ?> (Date modify returns invalid datetime).</li>
4776</ul></li>
4777<li>DOM:
4778<ul>
4779  <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>
4780</ul></li>
4781<li>Fileinfo:
4782<ul>
4783  <li>Fixed bug <?php githubissuel('php/php-src', 11298); ?> (finfo returns wrong mime type for xz files).</li>
4784</ul></li>
4785<li>FTP:
4786<ul>
4787  <li>Fix context option check for "overwrite".</li>
4788  <li>Fixed bug <?php githubissuel('php/php-src', 10562); ?> (Memory leak and invalid state with consecutive ftp_nb_fget).</li>
4789</ul></li>
4790<li>GD:
4791<ul>
4792  <li>Fix most of the external libgd test failures.</li>
4793</ul></li>
4794<li>Hash:
4795<ul>
4796  <li>Fix use-of-uninitialized-value in hash_pbkdf2(), fix missing $options parameter in signature.</li>
4797</ul></li>
4798<li>Intl:
4799<ul>
4800  <li>Fix memory leak in MessageFormatter::format() on failure.</li>
4801</ul></li>
4802<li>Libxml:
4803<ul>
4804  <li>Fixed bug GHSA-3qrf-m4j2-pcrr (Security issue with external entity loading in XML without enabling it). (CVE-2023-3823)</li>
4805</ul></li>
4806<li>MBString:
4807<ul>
4808  <li>Fix <?php githubissuel('php/php-src', 11300); ?> (license issue: restricted unicode license headers).</li>
4809</ul></li>
4810<li>Opcache:
4811<ul>
4812  <li>Fixed bug <?php githubissuel('php/php-src', 10914); ?> (OPCache with Enum and Callback functions results in segmentation fault).</li>
4813  <li>Prevent potential deadlock if accelerated globals cannot be allocated.</li>
4814</ul></li>
4815<li>PCNTL:
4816<ul>
4817  <li>Fixed bug <?php githubissuel('php/php-src', 11498); ?> (SIGCHLD is not always returned from proc_open).</li>
4818</ul></li>
4819<li>PCRE:
4820<ul>
4821  <li>Mangle PCRE regex cache key with JIT option.</li>
4822</ul></li>
4823<li>PDO:
4824<ul>
4825  <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>
4826</ul></li>
4827<li>PDO SQLite:
4828<ul>
4829  <li>Fix <?php githubissuel('php/php-src', 11492); ?> (Make test failure: ext/pdo_sqlite/tests/bug_42589.phpt).</li>
4830</ul></li>
4831<li>Phar:
4832<ul>
4833  <li>Add missing check on EVP_VerifyUpdate() in phar util.</li>
4834  <li>Fixed bug GHSA-jqcx-ccgc-xwhv (Buffer mismanagement in phar_dir_read()). (CVE-2023-3824)</li>
4835</ul></li>
4836<li>PHPDBG:
4837<ul>
4838  <li>Fixed bug <?php githubissuel('php/php-src', 9669); ?> (phpdbg -h options doesn't list the -z option).</li>
4839</ul></li>
4840<li>Session:
4841<ul>
4842  <li>Removed broken url support for transferring session ID.</li>
4843</ul></li>
4844<li>Standard:
4845<ul>
4846  <li>Fix serialization of RC1 objects appearing in object graph twice.</li>
4847</ul></li>
4848<li>SQLite3:
4849<ul>
4850  <li>Fix replaced error handling in SQLite3Stmt::__construct.</li>
4851</ul></li>
4852</ul>
4853<!-- }}} --></section>
4854
4855
4856
4857<section class="version" id="8.1.21"><!-- {{{ 8.1.21 -->
4858<h3>Version 8.1.21</h3>
4859<b><?php release_date('06-Jul-2023'); ?></b>
4860<ul><li>CLI:
4861<ul>
4862  <li>Fixed bug <?php githubissuel('php/php-src', 11246); ?> (cli/get_set_process_title fails on MacOS).</li>
4863</ul></li>
4864<li>Core:
4865<ul>
4866  <li>Fixed build for the riscv64 architecture/GCC 12.</li>
4867</ul></li>
4868<li>Curl:
4869<ul>
4870  <li>Fixed bug <?php githubissuel('php/php-src', 11433); ?> (Unable to set CURLOPT_ACCEPT_ENCODING to NULL).</li>
4871</ul></li>
4872<li>DOM:
4873<ul>
4874  <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>
4875  <li>Fixed bug <?php githubissuel('php/php-src', 10234); ?> (Setting DOMAttr::textContent results in an empty attribute value).</li>
4876  <li>Fix return value in stub file for DOMNodeList::item.</li>
4877  <li>Fix spec compliance error with '*' namespace for DOMDocument::getElementsByTagNameNS.</li>
4878  <li>Fix DOMElement::append() and DOMElement::prepend() hierarchy checks.</li>
4879  <li>Fixed bug <?php githubissuel('php/php-src', 11347); ?> (Memory leak when calling a static method inside an xpath query).</li>
4880  <li><?php bugfix(67440); ?> (append_node of a DOMDocumentFragment does not reconcile namespaces).</li>
4881  <li><?php bugfix(81642); ?> (DOMChildNode::replaceWith() bug when replacing a node with itself).</li>
4882  <li><?php bugfix(77686); ?> (Removed elements are still returned by getElementById).</li>
4883  <li><?php bugfix(70359); ?> (print_r() on DOMAttr causes Segfault in php_libxml_node_free_list()).</li>
4884  <li><?php bugfix(78577); ?> (Crash in DOMNameSpace debug info handlers).</li>
4885  <li>Fix lifetime issue with getAttributeNodeNS().</li>
4886  <li>Fix "invalid state error" with cloned namespace declarations.</li>
4887  <li><?php bugfix(55294); ?> and #47530 and #47847 (various namespace reconciliation issues).</li>
4888  <li><?php bugfix(80332); ?> (Completely broken array access functionality with DOMNamedNodeMap).</li>
4889</ul></li>
4890<li>Opcache:
4891<ul>
4892  <li>Fix allocation loop in zend_shared_alloc_startup().</li>
4893  <li>Access violation on smm_shared_globals with ALLOC_FALLBACK.</li>
4894  <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>
4895</ul></li>
4896<li>OpenSSL:
4897<ul>
4898  <li>Fixed bug <?php githubissuel('php/php-src', 9356); ?> Incomplete validation of IPv6 Address fields in subjectAltNames (James Lucas, Jakub Zelenka).</li>
4899</ul></li>
4900<li>PGSQL:
4901<ul>
4902  <li>Fixed intermittent segfault with pg_trace.</li>
4903</ul></li>
4904<li>Phar:
4905<ul>
4906  <li>Fix cross-compilation check in phar generation for FreeBSD.</li>
4907</ul></li>
4908<li>SPL:
4909<ul>
4910  <li>Fixed bug <?php githubissuel('php/php-src', 11338); ?> (SplFileInfo empty getBasename with more than one slash).</li>
4911</ul></li>
4912<li>Standard:
4913<ul>
4914  <li>Fix access on NULL pointer in array_merge_recursive().</li>
4915  <li>Fix exception handling in array_multisort().</li>
4916</ul></li>
4917</ul>
4918<!-- }}} --></section>
4919
4920
4921
4922<section class="version" id="8.1.20"><!-- {{{ 8.1.20 -->
4923<h3>Version 8.1.20</h3>
4924<b><?php release_date('08-Jun-2023'); ?></b>
4925<ul><li>Core:
4926<ul>
4927  <li>Fixed bug <?php githubissuel('php/php-src', 9068); ?> (Conditional jump or move depends on uninitialised value(s)).</li>
4928  <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>
4929  <li>Fixed bug <?php githubissuel('php/php-src', 11222); ?> (foreach by-ref may jump over keys during a rehash).</li>
4930</ul></li>
4931<li>Date:
4932<ul>
4933  <li>Fixed bug <?php githubissuel('php/php-src', 11281); ?> (DateTimeZone::getName() does not include seconds in offset).</li>
4934</ul></li>
4935<li>Exif:
4936<ul>
4937  <li>Fixed bug <?php githubissuel('php/php-src', 10834); ?> (exif_read_data() cannot read smaller stream wrapper chunk sizes).</li>
4938</ul></li>
4939<li>FPM:
4940<ul>
4941  <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>
4942  <li><?php bugfix(64539); ?> (FPM status page: query_string not properly JSON encoded).</li>
4943  <li>Fixed memory leak for invalid primary script file handle.</li>
4944</ul></li>
4945<li>Hash:
4946<ul>
4947  <li>Fixed bug <?php githubissuel('php/php-src', 11180); ?> (hash_file() appears to be restricted to 3 arguments).</li>
4948</ul></li>
4949<li>LibXML:
4950<ul>
4951  <li>Fixed bug <?php githubissuel('php/php-src', 11160); ?> (Few tests failed building with new libxml 2.11.0).</li>
4952</ul></li>
4953<li>Opcache:
4954<ul>
4955  <li>Fixed bug <?php githubissuel('php/php-src', 11134); ?> (Incorrect match default branch optimization).</li>
4956  <li>Fixed too wide OR and AND range inference.</li>
4957  <li>Fixed bug <?php githubissuel('php/php-src', 11245); ?> (In some specific cases SWITCH with one default statement will cause segfault).</li>
4958</ul></li>
4959<li>PGSQL:
4960<ul>
4961  <li>Fixed parameter parsing of pg_lo_export().</li>
4962</ul></li>
4963<li>Phar:
4964<ul>
4965  <li>Fixed bug <?php githubissuel('php/php-src', 11099); ?> (Generating phar.php during cross-compile can't be done).</li>
4966</ul></li>
4967<li>Soap:
4968<ul>
4969  <li>Fixed bug GHSA-76gg-c692-v2mw (Missing error check and insufficient random bytes in HTTP Digest authentication for SOAP). (CVE-2023-3247)</li>
4970  <li>Fixed bug <?php githubissuel('php/php-src', 8426); ?> (make test fail while soap extension build).</li>
4971</ul></li>
4972<li>SPL:
4973<ul>
4974  <li>Fixed bug <?php githubissuel('php/php-src', 11178); ?> (Segmentation fault in spl_array_it_get_current_data (PHP 8.1.18)).</li>
4975</ul></li>
4976<li>Standard:
4977<ul>
4978  <li>Fixed bug <?php githubissuel('php/php-src', 11138); ?> (move_uploaded_file() emits open_basedir warning for source file).</li>
4979  <li>Fixed bug <?php githubissuel('php/php-src', 11274); ?> (POST/PATCH request switches to GET after a HTTP 308 redirect).</li>
4980</ul></li>
4981<li>Streams:
4982<ul>
4983  <li>Fixed bug <?php githubissuel('php/php-src', 10031); ?> ([Stream] STREAM_NOTIFY_PROGRESS over HTTP emitted irregularly for last chunk of data).</li>
4984  <li>Fixed bug <?php githubissuel('php/php-src', 11175); ?> (Stream Socket Timeout).</li>
4985  <li>Fixed bug <?php githubissuel('php/php-src', 11177); ?> (ASAN UndefinedBehaviorSanitizer when timeout = -1 passed to stream_socket_accept/stream_socket_client).</li>
4986</ul></li>
4987</ul>
4988<!-- }}} --></section>
4989
4990
4991
4992<section class="version" id="8.1.19"><!-- {{{ 8.1.19 -->
4993<h3>Version 8.1.19</h3>
4994<b><?php release_date('11-May-2023'); ?></b>
4995<ul><li>Core:
4996<ul>
4997  <li>Fix inconsistent float negation in constant expressions.</li>
4998  <li>Fixed bug <?php githubissuel('php/php-src', 8841); ?> (php-cli core dump calling a badly formed function).</li>
4999  <li>Fixed bug <?php githubissuel('php/php-src', 10737); ?> (PHP 8.1.16 segfaults on line 597 of sapi/apache2handler/sapi_apache2.c).</li>
5000  <li>Fixed bug <?php githubissuel('php/php-src', 11028); ?> (Heap Buffer Overflow in zval_undefined_cv.).</li>
5001  <li>Fixed bug <?php githubissuel('php/php-src', 11108); ?> (Incorrect CG(memoize_mode) state after bailout in ??=).</li>
5002</ul></li>
5003<li>DOM:
5004<ul>
5005  <li><?php bugfix(80602); ?> (Segfault when using DOMChildNode::before()).</li>
5006  <li>Fixed incorrect error handling in dom_zvals_to_fragment().</li>
5007</ul></li>
5008<li>Exif:
5009<ul>
5010  <li>Fixed bug <?php githubissuel('php/php-src', 9397); ?> (exif read : warnings and errors : Potentially invalid endianess, Illegal IFD size and Undefined index).</li>
5011</ul></li>
5012<li>Intl:
5013<ul>
5014  <li>Fixed bug <?php githubissuel('php/php-src', 11071); ?> (TZData version not displayed anymore).</li>
5015</ul></li>
5016<li>PCRE:
5017<ul>
5018  <li>Fixed bug <?php githubissuel('php/php-src', 10968); ?> (Segfault in preg_replace_callback_array()).</li>
5019</ul></li>
5020<li>Standard:
5021<ul>
5022  <li>Fixed bug <?php githubissuel('php/php-src', 10990); ?> (mail() throws TypeError after iterating over $additional_headers array by reference).</li>
5023  <li>Fixed bug <?php githubissuel('php/php-src', 9775); ?> (Duplicates returned by array_unique when using enums).</li>
5024</ul></li>
5025</ul>
5026<!-- }}} --></section>
5027
5028
5029
5030<section class="version" id="8.1.18"><!-- {{{ 8.1.18 -->
5031<h3>Version 8.1.18</h3>
5032<b><?php release_date('13-Apr-2023'); ?></b>
5033<ul><li>Core:
5034<ul>
5035  <li>Added optional support for max_execution_time in ZTS/Linux builds.</li>
5036  <li>Fixed use-after-free in recursive AST evaluation.</li>
5037  <li>Fixed bug <?php githubissuel('php/php-src', 8646); ?> (Memory leak PHP FPM 8.1).</li>
5038  <li>Fixed bug <?php githubissuel('php/php-src', 10801); ?> (Named arguments in CTE functions cause a segfault).</li>
5039  <li>Fixed bug <?php githubissuel('php/php-src', 8789); ?> (PHP 8.0.20 (ZTS) zend_signal_handler_defer crashes on apache).</li>
5040  <li>Fixed bug <?php githubissuel('php/php-src', 10015); ?> (zend_signal_handler_defer crashes on apache shutdown).</li>
5041  <li>Fixed bug <?php githubissuel('php/php-src', 10810); ?> (Fix NUL byte terminating Exception::__toString()).</li>
5042  <li>Fix potential memory corruption when mixing __callStatic() and FFI.</li>
5043</ul></li>
5044<li>Date:
5045<ul>
5046  <li>Fixed bug <?php githubissuel('php/php-src', 10583); ?> (DateTime modify with tz pattern should not update linked timezone).</li>
5047</ul></li>
5048<li>FPM:
5049<ul>
5050  <li>Fixed bug <?php githubissuel('php/php-src', 10611); ?> (fpm_env_init_main leaks environ).</li>
5051  <li>Destroy file_handle in fpm_main.</li>
5052  <li><?php bugfix(74129); ?> (Incorrect SCRIPT_NAME with apache ProxyPassMatch when spaces are in path).</li>
5053</ul></li>
5054<li>FTP:
5055<ul>
5056  <li>Propagate success status of ftp_close().</li>
5057  <li>Fixed bug <?php githubissuel('php/php-src', 10521); ?> (ftp_get/ftp_nb_get resumepos offset is maximum 10GB).</li>
5058</ul></li>
5059<li>IMAP:
5060<ul>
5061  <li>Fix build failure with Clang 16.</li>
5062</ul></li>
5063<li>MySQLnd:
5064<ul>
5065  <li>Fixed bug <?php githubissuel('php/php-src', 8979); ?> (Possible Memory Leak with SSL-enabled MySQL connections).</li>
5066</ul></li>
5067<li>Opcache:
5068<ul>
5069  <li>Fixed build for macOS to cater with pkg-config settings.</li>
5070  <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>
5071</ul></li>
5072<li>OpenSSL:
5073<ul>
5074  <li>Add missing error checks on file writing functions.</li>
5075</ul></li>
5076<li>PDO Firebird:
5077<ul>
5078  <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>
5079</ul></li>
5080<li>PDO ODBC:
5081<ul>
5082  <li>Fixed missing and inconsistent error checks on SQLAllocHandle.</li>
5083</ul></li>
5084<li>Phar:
5085<ul>
5086  <li>Fixed bug <?php githubissuel('php/php-src', 10766); ?> (PharData archive created with Phar::Zip format does not keep files metadata (datetime)).</li>
5087  <li>Add missing error checks on EVP_MD_CTX_create() and EVP_VerifyInit().</li>
5088</ul></li>
5089<li>PGSQL:
5090<ul>
5091  <li>Fixed typo in the array returned from pg_meta_data (extended mode).</li>
5092</ul></li>
5093<li>SPL:
5094<ul>
5095  <li>Fixed bug <?php githubissuel('php/php-src', 10519); ?> (Array Data Address Reference Issue).</li>
5096  <li>Fixed bug <?php githubissuel('php/php-src', 10844); ?> (ArrayIterator allows modification of readonly props).</li>
5097</ul></li>
5098<li>Standard:
5099<ul>
5100  <li>Fixed bug <?php githubissuel('php/php-src', 10885); ?> (stream_socket_server context leaks).</li>
5101  <li>Fixed bug <?php githubissuel('php/php-src', 10052); ?> (Browscap crashes PHP 8.1.12 on request shutdown (apache2)).</li>
5102  <li>Fixed oss-fuzz #57392 (Buffer-overflow in php_fgetcsv() with \0 delimiter and enclosure).</li>
5103  <li>Fixed undefined behaviour in unpack().</li>
5104</ul></li>
5105</ul>
5106<!-- }}} --></section>
5107
5108
5109
5110<section class="version" id="8.1.17"><!-- {{{ 8.1.17 -->
5111<h3>Version 8.1.17</h3>
5112<b><?php release_date('16-Mar-2023'); ?></b>
5113<ul><li>Core:
5114<ul>
5115  <li>Fixed incorrect check condition in ZEND_YIELD.</li>
5116  <li>Fixed incorrect check condition in type inference.</li>
5117  <li>Fixed overflow check in OnUpdateMemoryConsumption.</li>
5118  <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>
5119  <li>Fixed bug <?php githubissuel('php/php-src', 10437); ?> (Segfault/assertion when using fibers in shutdown function after bailout).</li>
5120  <li>Fixed SSA object type update for compound assignment opcodes.</li>
5121  <li>Fixed language scanner generation build.</li>
5122  <li>Fixed zend_update_static_property() calling zend_update_static_property_ex() misleadingly with the wrong return type.</li>
5123  <li>Fix bug <?php githubissuel('php/php-src', 10570); ?> (Fixed unknown string hash on property fetch with integer constant name).</li>
5124  <li>Fixed php_fopen_primary_script() call resulted on zend_destroy_file_handle() freeing dangling pointers on the handle as it was uninitialized.</li>
5125</ul></li>
5126<li>Curl:
5127<ul>
5128  <li>Fixed deprecation warning at compile time.</li>
5129  <li>Fixed bug <?php githubissuel('php/php-src', 10270); ?> (Unable to return CURL_READFUNC_PAUSE in readfunc callback).</li>
5130</ul></li>
5131<li>Date:
5132<ul>
5133  <li>Fix <?php githubissuel('php/php-src', 10447); ?> ('p' format specifier does not yield 'Z' for 00:00).</li>
5134</ul></li>
5135<li>FFI:
5136<ul>
5137  <li>Fixed incorrect bitshifting and masking in ffi bitfield.</li>
5138</ul></li>
5139<li>Fiber:
5140<ul>
5141  <li>Fixed assembly on alpine x86.</li>
5142  <li>Fixed bug <?php githubissuel('php/php-src', 10496); ?> (segfault when garbage collector is invoked inside of fiber).</li>
5143</ul></li>
5144<li>FPM:
5145<ul>
5146  <li>Fixed bug <?php githubissuel('php/php-src', 10315); ?> (FPM unknown child alert not valid).</li>
5147  <li>Fixed bug <?php githubissuel('php/php-src', 10385); ?> (FPM successful config test early exit).</li>
5148</ul></li>
5149<li>Intl:
5150<ul>
5151  <li>Fixed bug <?php githubissuel('php/php-src', 10647); ?> (Spoolchecker isSuspicious/areConfusable methods error code's argument always returning NULL0.</li>
5152</ul></li>
5153<li>JSON:
5154<ul>
5155  <li>Fixed JSON scanner and parser generation build.</li>
5156</ul></li>
5157<li>MBString:
5158<ul>
5159  <li>ext/mbstring: fix new_value length check.</li>
5160  <li>Fix bug <?php githubissuel('php/php-src', 10627); ?> (mb_convert_encoding crashes PHP on Windows).</li>
5161</ul></li>
5162<li>Opcache:
5163<ul>
5164  <li>Fix incorrect page_size check.</li>
5165</ul></li>
5166<li>OpenSSL:
5167<ul>
5168  <li>Fixed php_openssl_set_server_dh_param() DH params errors handling.</li>
5169</ul></li>
5170<li>PDO OCI:
5171<ul>
5172  <li><?php bugfix(60994); ?> (Reading a multibyte CLOB caps at 8192 chars).</li>
5173</ul></li>
5174<li>PHPDBG:
5175<ul>
5176  <li>Fixed bug <?php githubissuel('php/php-src', 10715); ?> (heap buffer overflow on --run option misuse).</li>
5177</ul></li>
5178<li>PGSQL:
5179<ul>
5180  <li>Fix <?php githubissuel('php/php-src', 10672); ?> (pg_lo_open segfaults in the strict_types mode).</li>
5181</ul></li>
5182<li>Phar:
5183<ul>
5184  <li>Fix incorrect check in phar tar parsing.</li>
5185</ul></li>
5186<li>Reflection:
5187<ul>
5188  <li>Fixed bug <?php githubissuel('php/php-src', 10623); ?> (Reflection::getClosureUsedVariables opcode fix with variadic arguments).</li>
5189  <li>Fix Segfault when using ReflectionFiber suspended by an internal function.</li>
5190</ul></li>
5191<li>Session:
5192<ul>
5193  <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>
5194</ul></li>
5195<li>Standard:
5196<ul>
5197  <li>Fixed bug <?php githubissuel('php/php-src', 10292); ?> (Made the default value of the first param of srand() and mt_srand() unknown).</li>
5198  <li>Fix incorrect check in cs_8559_5 in map_from_unicode().</li>
5199  <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>
5200  <li>Fix incorrect error check in browsecap for pcre2_match().</li>
5201</ul></li>
5202<li>Tidy:
5203<ul>
5204  <li>Fix memory leaks when attempting to open a non-existing file or a file over 4GB.</li>
5205  <li>Add missing error check on tidyLoadConfig.</li>
5206</ul></li>
5207<li>Zlib:
5208<ul>
5209  <li>Fixed output_handler directive value's length which counted the string terminator.</li>
5210</ul></li>
5211</ul>
5212<!-- }}} --></section>
5213
5214
5215
5216<section class="version" id="8.1.16"><!-- {{{ 8.1.16 -->
5217<h3>Version 8.1.16</h3>
5218<b><?php release_date('14-Feb-2023'); ?></b>
5219<ul><li>Core:
5220<ul>
5221  <li><?php bugfix(81744); ?> (Password_verify() always return true with some hash).</li>
5222  <li><?php bugfix(81746); ?> (1-byte array overrun in common path resolve code).</li>
5223</ul></li>
5224<li>SAPI:
5225<ul>
5226  <li>Fixed bug GHSA-54hq-v5wp-fqgv (DOS vulnerability when parsing multipart request body). (CVE-2023-0662)</li>
5227</ul></li>
5228</ul>
5229<!-- }}} --></section>
5230
5231
5232
5233<section class="version" id="8.1.15"><!-- {{{ 8.1.15 -->
5234<h3>Version 8.1.15</h3>
5235<b><?php release_date('02-Feb-2023'); ?></b>
5236<ul><li>Apache:
5237<ul>
5238  <li>Fixed bug <?php githubissuel('php/php-src', 9949); ?> (Partial content on incomplete POST request).</li>
5239</ul></li>
5240<li>Core:
5241<ul>
5242  <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>
5243  <li>Fix <?php githubissuel('php/php-src', 10251); ?> (Assertion `(flag &amp; (1&lt;&lt;3)) == 0' failed).</li>
5244  <li>Fix wrong comparison in block optimisation pass after opcode update.</li>
5245</ul></li>
5246<li>Date:
5247<ul>
5248  <li>Fixed bug <?php githubissuel('php/php-src', 9891); ?> (DateTime modify with unixtimestamp (@) must work like setTimestamp).</li>
5249  <li>Fixed bug <?php githubissuel('php/php-src', 10218); ?> (DateTimeZone fails to parse time zones that contain the "+" character).</li>
5250</ul></li>
5251<li>Fiber:
5252<ul>
5253  <li>Fix assertion on stack allocation size.</li>
5254</ul></li>
5255<li>FPM:
5256<ul>
5257  <li>Fixed bug <?php githubissuel('php/php-src', 9981); ?> (FPM does not reset fastcgi.error_header).</li>
5258  <li><?php bugfix(67244); ?> (Wrong owner:group for listening unix socket).</li>
5259</ul></li>
5260<li>Hash:
5261<ul>
5262  <li>Handle exceptions from __toString in XXH3's initialization (nielsdos)</li>
5263</ul></li>
5264<li>LDAP:
5265<ul>
5266  <li>Fixed bug <?php githubissuel('php/php-src', 10112); ?> (LDAP\Connection::__construct() refers to ldap_create()).</li>
5267</ul></li>
5268<li>MBString:
5269<ul>
5270  <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>
5271</ul></li>
5272<li>Opcache:
5273<ul>
5274  <li>Fix inverted bailout value in zend_runtime_jit() (Max Kellermann).</li>
5275  <li>Fix access to uninitialized variable in accel_preload().</li>
5276  <li>Fix zend_jit_find_trace() crashes.</li>
5277  <li>Added missing lock for EXIT_INVALIDATE in zend_jit_trace_exit.</li>
5278</ul></li>
5279<li>Phar:
5280<ul>
5281  <li>Fix wrong flags check for compression method in phar_object.c (nielsdos)</li>
5282</ul></li>
5283<li>PHPDBG:
5284<ul>
5285  <li>Fix undefined behaviour in phpdbg_load_module_or_extension().</li>
5286  <li>Fix NULL pointer dereference in phpdbg_create_conditional_breal().</li>
5287  <li>Fix <?php githubissuel('php/php-src', 9710); ?>: phpdbg memory leaks by option "-h" (nielsdos)</li>
5288  <li>Fix phpdbg segmentation fault in case of malformed input (nielsdos)</li>
5289</ul></li>
5290<li>Posix:
5291<ul>
5292  <li>Fix memory leak in posix_ttyname() (girgias)</li>
5293</ul></li>
5294<li>Standard:
5295<ul>
5296  <li>Fix <?php githubissuel('php/php-src', 10187); ?> (Segfault in stripslashes() with arm64).</li>
5297  <li>Fix substr_replace with slots in repl_ht being UNDEF.</li>
5298</ul></li>
5299<li>TSRM:
5300<ul>
5301  <li>Fixed Windows shmget() wrt. IPC_PRIVATE.</li>
5302</ul></li>
5303<li>XMLWriter:
5304<ul>
5305  <li>Fix missing check for xmlTextWriterEndElement (nielsdos)</li>
5306</ul></li>
5307</ul>
5308<!-- }}} --></section>
5309
5310
5311
5312<section class="version" id="8.1.14"><!-- {{{ 8.1.14 -->
5313<h3>Version 8.1.14</h3>
5314<b><?php release_date('05-Jan-2023'); ?></b>
5315<ul><li>Core:
5316<ul>
5317  <li>Fixed bug <?php githubissuel('php/php-src', 9905); ?> (constant() behaves inconsistent when class is undefined).</li>
5318  <li>Fixed bug <?php githubissuel('php/php-src', 9918); ?> (License information for xxHash is not included in README.REDIST.BINS file).</li>
5319  <li>Fixed bug <?php githubissuel('php/php-src', 9650); ?> (Can't initialize heap: [0x000001e7]).</li>
5320  <li>Fixed potentially undefined behavior in Windows ftok(3) emulation.</li>
5321</ul></li>
5322<li>Date:
5323<ul>
5324  <li>Fixed bug <?php githubissuel('php/php-src', 9699); ?> (DateTimeImmutable::diff differences in 8.1.10 onwards - timezone related).</li>
5325  <li>Fixed bug <?php githubissuel('php/php-src', 9700); ?> (DateTime::createFromFormat: Parsing TZID string is too greedy).</li>
5326  <li>Fixed bug <?php githubissuel('php/php-src', 9866); ?> (Time zone bug with \DateTimeInterface::diff()).</li>
5327  <li>Fixed bug <?php githubissuel('php/php-src', 9880); ?> (DateTime diff returns wrong sign on day count when using a timezone).</li>
5328</ul></li>
5329<li>FPM:
5330<ul>
5331  <li>Fixed bug <?php githubissuel('php/php-src', 9959); ?> (Solaris port event mechanism is still broken after bug #66694).</li>
5332  <li><?php bugfix(68207); ?> (Setting fastcgi.error_header can result in a WARNING).</li>
5333  <li>Fixed bug <?php githubissuel('php/php-src', 8517); ?> (Random crash of FPM master process in fpm_stdio_child_said).</li>
5334</ul></li>
5335<li>MBString:
5336<ul>
5337  <li>Fixed bug <?php githubissuel('php/php-src', 9535); ?> (The behavior of mb_strcut in mbstring has been changed in PHP8.1).</li>
5338</ul></li>
5339<li>Opcache:
5340<ul>
5341  <li>Fixed bug <?php githubissuel('php/php-src', 9968); ?> (Segmentation Fault during OPCache Preload).</li>
5342</ul></li>
5343<li>OpenSSL:
5344<ul>
5345  <li>Fixed bug <?php githubissuel('php/php-src', 9064); ?> (PHP fails to build if openssl was built with --no-ec).</li>
5346  <li>Fixed bug <?php githubissuel('php/php-src', 10000); ?> (OpenSSL test failures when OpenSSL compiled with no-dsa).</li>
5347</ul></li>
5348<li>Pcntl:
5349<ul>
5350  <li>Fixed bug <?php githubissuel('php/php-src', 9298); ?> (Signal handler called after rshutdown leads to crash).</li>
5351</ul></li>
5352<li>PDO_Firebird:
5353<ul>
5354  <li>Fixed bug <?php githubissuel('php/php-src', 9971); ?> (Incorrect NUMERIC value returned from PDO_Firebird).</li>
5355</ul></li>
5356<li>PDO/SQLite:
5357<ul>
5358  <li><?php bugfix(81740); ?> (PDO::quote() may return unquoted string). (CVE-2022-31631)</li>
5359</ul></li>
5360<li>Session:
5361<ul>
5362  <li>Fixed <?php githubissuel('php/php-src', 9932); ?> (session name silently fails with . and [).</li>
5363</ul></li>
5364<li>SPL:
5365<ul>
5366  <li>Fixed <?php githubissuel('php/php-src', 9883); ?> (SplFileObject::__toString() reads next line).</li>
5367  <li>Fixed <?php githubissuel('php/php-src', 10011); ?> (Trampoline autoloader will get reregistered and cannot be unregistered).</li>
5368</ul></li>
5369<li>SQLite3:
5370<ul>
5371  <li><?php bugfix(81742); ?> (open_basedir bypass in SQLite3 by using file URI).</li>
5372</ul></li>
5373</ul>
5374<!-- }}} --></section>
5375
5376
5377
5378<section class="version" id="8.1.13"><!-- {{{ 8.1.13 -->
5379<h3>Version 8.1.13</h3>
5380<b><?php release_date('24-Nov-2022'); ?></b>
5381<ul><li>CLI:
5382<ul>
5383  <li>Fixed bug <?php githubissuel('php/php-src', 9709); ?> (Null pointer dereference with -w/-s options).</li>
5384</ul></li>
5385<li>Core:
5386<ul>
5387  <li>Fixed bug <?php githubissuel('php/php-src', 9752); ?> (Generator crashes when interrupted during argument evaluation with extra named params).</li>
5388  <li>Fixed bug <?php githubissuel('php/php-src', 9801); ?> (Generator crashes when memory limit is exceeded during initialization).</li>
5389  <li>Fixed potential NULL pointer dereference Windows shm*() functions.</li>
5390  <li>Fixed bug <?php githubissuel('php/php-src', 9750); ?> (Generator memory leak when interrupted during argument evaluation.</li>
5391</ul></li>
5392<li>Date:
5393<ul>
5394  <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>
5395</ul></li>
5396<li>FPM:
5397<ul>
5398  <li>Fixed bug <?php githubissuel('php/php-src', 9754); ?> (SaltStack (using Python subprocess) hangs when running php-fpm 8.1.11).</li>
5399</ul></li>
5400<li>mysqli:
5401<ul>
5402  <li>Fixed bug <?php githubissuel('php/php-src', 9841); ?> (mysqli_query throws warning despite using silenced error mode).</li>
5403</ul></li>
5404<li>MySQLnd:
5405<ul>
5406  <li>Fixed potential heap corruption due to alignment mismatch.</li>
5407</ul></li>
5408<li>OpenSSL:
5409<ul>
5410  <li>Fixed bug <?php githubissuel('php/php-src', 8430); ?> (OpenSSL compiled with no-md2, no-md4 or no-rmd160 does not build).</li>
5411</ul></li>
5412<li>SOAP:
5413<ul>
5414  <li>Fixed <?php githubissuel('php/php-src', 9720); ?> (Null pointer dereference while serializing the response).</li>
5415</ul></li>
5416</ul>
5417<!-- }}} --></section>
5418
5419
5420
5421<section class="version" id="8.1.12"><!-- {{{ 8.1.12 -->
5422<h3>Version 8.1.12</h3>
5423<b><?php release_date('27-Oct-2022'); ?></b>
5424<ul><li>Core:
5425<ul>
5426  <li>Fixes segfault with Fiber on FreeBSD i386 architecture.</li>
5427</ul></li>
5428<li>Fileinfo:
5429<ul>
5430  <li>Fixed bug <?php githubissuel('php/php-src', 8805); ?> (finfo returns wrong mime type for woff/woff2 files).</li>
5431</ul></li>
5432<li>GD:
5433<ul>
5434  <li><?php bugfix(81739); ?>: OOB read due to insufficient input validation in imageloadfont(). (CVE-2022-31630)</li>
5435</ul></li>
5436<li>Hash:
5437<ul>
5438  <li><?php bugfix(81738); ?>: buffer overflow in hash_update() on long parameter. (CVE-2022-37454)</li>
5439</ul></li>
5440<li>MBString:
5441<ul>
5442  <li>Fixed bug <?php githubissuel('php/php-src', 9683); ?> (Problem when ISO-2022-JP-MS is specified in mb_ encode_mimeheader).</li>
5443</ul></li>
5444<li>Opcache:
5445<ul>
5446  <li>Added indirect call reduction for jit on x86 architectures.</li>
5447</ul></li>
5448<li>Session:
5449<ul>
5450  <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>
5451</ul></li>
5452<li>Streams:
5453<ul>
5454  <li>Fixed bug <?php githubissuel('php/php-src', 9590); ?> (stream_select does not abort upon exception or empty valid fd set).</li>
5455</ul></li>
5456</ul>
5457<!-- }}} --></section>
5458
5459
5460
5461<section class="version" id="8.1.11"><!-- {{{ 8.1.11 -->
5462<h3>Version 8.1.11</h3>
5463<b><?php release_date('29-Sep-2022'); ?></b>
5464<ul><li>Core:
5465<ul>
5466  <li><?php bugfix(81726); ?>: phar wrapper: DOS when using quine gzip file. (CVE-2022-31628)</li>
5467  <li><?php bugfix(81727); ?>: Don't mangle HTTP variable names that clash with ones that have a specific semantic meaning. (CVE-2022-31629)</li>
5468  <li>Fixed bug <?php githubissuel('php/php-src', 9323); ?> (Crash in ZEND_RETURN/GC/zend_call_function) (Tim Starling)</li>
5469  <li>Fixed bug <?php githubissuel('php/php-src', 9361); ?> (Segmentation fault on script exit #9379).</li>
5470  <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>
5471</ul></li>
5472<li>DOM:
5473<ul>
5474  <li><?php bugfix(79451); ?> (DOMDocument-&gt;replaceChild on doctype causes double free).</li>
5475</ul></li>
5476<li>FPM:
5477<ul>
5478  <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>
5479  <li><?php bugfix(77780); ?> ("Headers already sent..." when previous connection was aborted).</li>
5480</ul></li>
5481<li>GMP:
5482<ul>
5483  <li>Fixed bug <?php githubissuel('php/php-src', 9308); ?> (GMP throws the wrong error when a GMP object is passed to gmp_init()).</li>
5484</ul></li>
5485<li>Intl:
5486<ul>
5487  <li>Fixed bug <?php githubissuel('php/php-src', 9421); ?> (Incorrect argument number for ValueError in NumberFormatter).</li>
5488</ul></li>
5489<li>PCRE:
5490<ul>
5491  <li>Fixed pcre.jit on Apple Silicon.</li>
5492</ul></li>
5493<li>PDO_PGSQL:
5494<ul>
5495  <li>Fixed bug <?php githubissuel('php/php-src', 9411); ?> (PgSQL large object resource is incorrectly closed).</li>
5496</ul></li>
5497<li>Reflection:
5498<ul>
5499  <li>Fixed bug <?php githubissuel('php/php-src', 8932); ?> (ReflectionFunction provides no way to get the called class of a Closure).</li>
5500</ul></li>
5501<li>Streams:
5502<ul>
5503  <li>Fixed bug <?php githubissuel('php/php-src', 9316); ?> ($http_response_header is wrong for long status line).</li>
5504</ul></li>
5505</ul>
5506<!-- }}} --></section>
5507
5508
5509
5510<section class="version" id="8.1.10"><!-- {{{ 8.1.10 -->
5511<h3>Version 8.1.10</h3>
5512<b><?php release_date('01-Sep-2022'); ?></b>
5513<ul><li>Core:
5514<ul>
5515  <li>Fixed --CGI-- support of run-tests.php.</li>
5516  <li>Fixed incorrect double to long casting in latest clang.</li>
5517  <li>Fixed bug <?php githubissuel('php/php-src', 9266); ?> (GC root buffer keeps growing when dtors are present).</li>
5518</ul></li>
5519<li>Date:
5520<ul>
5521  <li>Fixed bug <?php githubissuel('php/php-src', 8730); ?> (DateTime::diff miscalculation is same time zone of different type).</li>
5522  <li>Fixed bug <?php githubissuel('php/php-src', 8964); ?> (DateTime object comparison after applying delta less than 1 second).</li>
5523  <li>Fixed bug <?php githubissuel('php/php-src', 9106); ?>: (DateInterval 1.5s added to DateTimeInterface is rounded down since PHP 8.1.0).</li>
5524  <li><?php bugfix(81263); ?> (Wrong result from DateTimeImmutable::diff).</li>
5525</ul></li>
5526<li>DBA:
5527<ul>
5528  <li>Fixed LMDB driver memory leak on DB creation failure.</li>
5529  <li>Fixed bug <?php githubissuel('php/php-src', 9155); ?> (dba_open("non-existing", "c-", "flatfile") segfaults).</li>
5530</ul></li>
5531<li>IMAP:
5532<ul>
5533  <li>Fixed bug <?php githubissuel('php/php-src', 9309); ?> (Segfault when connection is used after imap_close()).</li>
5534</ul></li>
5535<li>Intl:
5536<ul>
5537  <li>Fixed IntlDateFormatter::formatObject() parameter type.</li>
5538</ul></li>
5539<li>MBString:
5540<ul>
5541  <li>Fixed bug <?php githubissuel('php/php-src', 9008); ?> (mb_detect_encoding(): wrong results with null $encodings).</li>
5542</ul></li>
5543<li>OPcache:
5544<ul>
5545  <li>Fixed bug <?php githubissuel('php/php-src', 9033); ?> (Loading blacklist file can fail due to negative length).</li>
5546  <li>Fixed bug <?php githubissuel('php/php-src', 9164); ?> (Segfault in zend_accel_class_hash_copy).</li>
5547</ul></li>
5548<li>PDO_SQLite:
5549<ul>
5550  <li>Fixed bug <?php githubissuel('php/php-src', 9032); ?> (SQLite3 authorizer crashes on NULL values).</li>
5551</ul></li>
5552<li>SQLite3:
5553<ul>
5554  <li>Fixed bug <?php githubissuel('php/php-src', 9032); ?> (SQLite3 authorizer crashes on NULL values).</li>
5555</ul></li>
5556<li>Streams:
5557<ul>
5558  <li>Fixed bug <?php githubissuel('php/php-src', 8472); ?> (The resource returned by stream_socket_accept may have incorrect metadata).</li>
5559  <li>Fixed bug <?php githubissuel('php/php-src', 8409); ?> (SSL handshake timeout leaves persistent connections hanging).</li>
5560</ul></li>
5561</ul>
5562<!-- }}} --></section>
5563
5564
5565
5566<section class="version" id="8.1.9"><!-- {{{ 8.1.9 -->
5567<h3>Version 8.1.9</h3>
5568<b><?php release_date('04-Aug-2022'); ?></b>
5569<ul><li>CLI:
5570<ul>
5571  <li>Fixed potential overflow for the builtin server via the PHP_CLI_SERVER_WORKERS environment variable.</li>
5572  <li>Fixed <?php githubissuel('php/php-src', 8952); ?> (Intentionally closing std handles no longer possible).</li>
5573</ul></li>
5574<li>Core:
5575<ul>
5576  <li>Fixed bug <?php githubissuel('php/php-src', 8923); ?> (error_log on Windows can hold the file write lock).</li>
5577  <li>Fixed bug <?php githubissuel('php/php-src', 8995); ?> (WeakMap object reference offset causing TypeError).</li>
5578</ul></li>
5579<li>Date:
5580<ul>
5581  <li><?php bugfix(80047); ?> (DatePeriod doesn't warn with custom DateTimeImmutable).</li>
5582</ul></li>
5583<li>FPM:
5584<ul>
5585  <li>Fixed zlog message prepend, free on incorrect address.</li>
5586  <li>Fixed possible double free on configuration loading failure. (Heiko Weber).</li>
5587</ul></li>
5588<li>GD:
5589<ul>
5590  <li>Fixed bug <?php githubissuel('php/php-src', 8848); ?> (imagecopyresized() error refers to the wrong argument).</li>
5591</ul></li>
5592<li>Intl:
5593<ul>
5594  <li>Fixed build for ICU 69.x and onwards.</li>
5595</ul></li>
5596<li>OPcache:
5597<ul>
5598  <li>Fixed bug <?php githubissuel('php/php-src', 8847); ?> (PHP hanging infinitly at 100% cpu when check php syntax of a valid file).</li>
5599  <li>Fixed bug <?php githubissuel('php/php-src', 8030); ?> (Segfault with JIT and large match/switch statements).</li>
5600</ul></li>
5601<li>Reflection:
5602<ul>
5603  <li>Fixed bug <?php githubissuel('php/php-src', 8943); ?> (Fixed Reflection::getModifierNames() with readonly modifier).</li>
5604</ul></li>
5605<li>Standard:
5606<ul>
5607  <li>Fixed the crypt_sha256/512 api build with clang &gt; 12.</li>
5608  <li>Uses CCRandomGenerateBytes instead of arc4random_buf on macOs. (David Carlier).</li>
5609  <li>Fixed bug <?php githubissuel('php/php-src', 9017); ?> (php_stream_sock_open_from_socket could return NULL).</li>
5610</ul></li>
5611</ul>
5612<!-- }}} --></section>
5613
5614
5615
5616<section class="version" id="8.1.8"><!-- {{{ 8.1.8 -->
5617<h3>Version 8.1.8</h3>
5618<b><?php release_date('07-Jul-2022'); ?></b>
5619<ul><li>Core:
5620<ul>
5621  <li>Fixed bug <?php githubissuel('php/php-src',8338); ?> (Intel CET is disabled unintentionally).</li>
5622  <li>Fixed leak in Enum::from/tryFrom for internal enums when using JIT</li>
5623  <li>Fixed calling internal methods with a static return type from extension code.</li>
5624  <li>Fixed bug <?php githubissuel('php/php-src',8655); ?> (Casting an object to array does not unwrap refcount=1 references).</li>
5625  <li>Fixed potential use after free in php_binary_init().</li>
5626</ul></li>
5627<li>CLI:
5628<ul>
5629  <li>Fixed <?php githubissuel('php/php-src',8827); ?> (Intentionally closing std handles no longer possible).</li>
5630</ul></li>
5631<li>COM:
5632<ul>
5633  <li>Fixed bug <?php githubissuel('php/php-src',8778); ?> (Integer arithmethic with large number variants fails).</li>
5634</ul></li>
5635<li>Curl:
5636<ul>
5637  <li>Fixed CURLOPT_TLSAUTH_TYPE is not treated as a string option.</li>
5638</ul></li>
5639<li>Date:
5640<ul>
5641  <li><?php bugfix(72963); ?> (Null-byte injection in CreateFromFormat and related functions).</li>
5642  <li><?php bugfix(74671); ?> (DST timezone abbreviation has incorrect offset).</li>
5643  <li><?php bugfix(77243); ?> (Weekdays are calculated incorrectly for negative years).</li>
5644  <li><?php bugfix(78139); ?> (timezone_open accepts invalid timezone string argument).</li>
5645</ul></li>
5646<li>Fileinfo:
5647<ul>
5648  <li><?php bugfix(81723); ?> (Heap buffer overflow in finfo_buffer). (CVE-2022-31627)</li>
5649</ul></li>
5650<li>FPM:
5651<ul>
5652  <li><?php bugfix(67764); ?> (fpm: syslog.ident don't work).</li>
5653</ul></li>
5654<li>GD:
5655<ul>
5656  <li>Fixed imagecreatefromavif() memory leak.</li>
5657</ul></li>
5658<li>MBString:
5659<ul>
5660  <li>mb_detect_encoding recognizes all letters in Czech alphabet</li>
5661  <li>mb_detect_encoding recognizes all letters in Hungarian alphabet</li>
5662  <li>Fixed bug <?php githubissuel('php/php-src',8685); ?> (pcre not ready at mbstring startup).</li>
5663  <li>Backwards-compatible mappings for 0x5C/0x7E in Shift-JIS are restored, after they had been changed in 8.1.0.</li>
5664</ul></li>
5665<li>ODBC:
5666<ul>
5667  <li>Fixed handling of single-key connection strings.</li>
5668</ul></li>
5669<li>OPcache:
5670<ul>
5671  <li>Fixed bug <?php githubissuel('php/php-src',8591); ?> (tracing JIT crash after private instance method change).</li>
5672</ul></li>
5673<li>OpenSSL:
5674<ul>
5675  <li><?php bugfix(50293); ?> (Several openssl functions ignore the VCWD).</li>
5676  <li><?php bugfix(81713); ?> (NULL byte injection in several OpenSSL functions working with certificates).</li>
5677</ul></li>
5678<li>PDO_ODBC:
5679<ul>
5680  <li>Fixed handling of single-key connection strings.</li>
5681</ul></li>
5682<li>Zip:
5683<ul>
5684  <li>Fixed bug <?php githubissuel('php/php-src',8781); ?> (ZipArchive::close deletes zip file without updating stat cache).</li>
5685</ul></li>
5686</ul>
5687<!-- }}} --></section>
5688
5689
5690
5691<section class="version" id="8.1.7"><!-- {{{ 8.1.7 -->
5692<h3>Version 8.1.7</h3>
5693<b><?php release_date('09-Jun-2022'); ?></b>
5694<ul><li>CLI:
5695<ul>
5696  <li>Fixed bug <?php githubissuel('php/php-src',8575); ?> (CLI closes standard streams too early).</li>
5697</ul></li>
5698<li>Date:
5699<ul>
5700  <li><?php bugfix(51934); ?> (strtotime plurals / incorrect time).</li>
5701  <li><?php bugfix(51987); ?> (Datetime fails to parse an ISO 8601 ordinal date (extended format)).</li>
5702  <li><?php bugfix(66019); ?> (DateTime object does not support short ISO 8601 time format - YYYY-MM-DDTHH)</li>
5703  <li><?php bugfix(68549); ?> (Timezones and offsets are not properly used when working with dates)</li>
5704  <li><?php bugfix(81565); ?> (date parsing fails when provided with timezones including seconds).</li>
5705  <li>Fixed bug <?php githubissuel('php/php-src',7758); ?> (Problems with negative timestamps and fractions).</li>
5706</ul></li>
5707<li>FPM:
5708<ul>
5709  <li>Fixed ACL build check on MacOS.</li>
5710  <li><?php bugfix(72185); ?>: php-fpm writes empty fcgi record causing nginx 502.</li>
5711</ul></li>
5712<li>mysqlnd:
5713<ul>
5714  <li><?php bugfix(81719); ?>: mysqlnd/pdo password buffer overflow. (CVE-2022-31626)</li>
5715</ul></li>
5716<li>OPcache:
5717<ul>
5718  <li>Fixed bug <?php githubissuel('php/php-src',8461); ?> (tracing JIT crash after function/method change).</li>
5719</ul></li>
5720<li>OpenSSL:
5721<ul>
5722  <li><?php bugfix(79589); ?> (error:14095126:SSL routines:ssl3_read_n:unexpected eof while reading).</li>
5723</ul></li>
5724<li>Pcntl:
5725<ul>
5726  <li>Fixed Haiku build.</li>
5727</ul></li>
5728<li>pgsql:
5729<ul>
5730  <li><?php bugfix(81720); ?>: Uninitialized array in pg_query_params(). (CVE-2022-31625)</li>
5731</ul></li>
5732<li>Soap:
5733<ul>
5734  <li>Fixed bug <?php githubissuel('php/php-src',8578); ?> (Error on wrong parameter on SoapHeader constructor).</li>
5735  <li>Fixed bug <?php githubissuel('php/php-src',8538); ?> (SoapClient may strip parts of nmtokens).</li>
5736</ul></li>
5737<li>SPL:
5738<ul>
5739  <li>Fixed bug <?php githubissuel('php/php-src',8235); ?> (iterator_count() may run indefinitely).</li>
5740</ul></li>
5741<li>Standard:
5742<ul>
5743  <li>Fixed bug <?php githubissuel('php/php-src',8185); ?> (Crash during unloading of extension after dl() in ZTS).</li>
5744</ul></li>
5745<li>Zip:
5746<ul>
5747  <li>Fixed type for index in ZipArchive::replaceFile.</li>
5748</ul></li>
5749</ul>
5750<!-- }}} --></section>
5751
5752
5753
5754<section class="version" id="8.1.6"><!-- {{{ 8.1.6 -->
5755<h3>Version 8.1.6</h3>
5756<b><?php release_date('12-May-2022'); ?></b>
5757<ul><li>Core:
5758<ul>
5759  <li>Fixed bug <?php githubissuel('php/php-src',8310); ?> (Registry settings are no longer recognized).</li>
5760  <li>Fixed potential race condition during resource ID allocation.</li>
5761  <li>Fixed bug <?php githubissuel('php/php-src',8133); ?> (Preloading of constants containing arrays with enums segfaults).</li>
5762  <li>Fixed Haiku ZTS builds.</li>
5763</ul></li>
5764<li>Date:
5765<ul>
5766  <li>Fixed bug <?php githubissuel('php/php-src',7752); ?> (DateTimeZone::getTransitions() returns insufficient data).</li>
5767  <li>Fixed bug <?php githubissuel('php/php-src',8108); ?> (Timezone doesn't work as intended).</li>
5768  <li><?php bugfix(81660); ?> (DateTimeZone::getTransitions() returns invalid data).</li>
5769  <li>Fixed bug <?php githubissuel('php/php-src',8289); ?> (Exceptions thrown within a yielded from iterator are not rethrown into the generator).</li>
5770</ul></li>
5771<li>FFI:
5772<ul>
5773  <li>Fixed bug <?php githubissuel('php/php-src',8433); ?> (Assigning function pointers to structs in FFI leaks).</li>
5774</ul></li>
5775<li>FPM:
5776<ul>
5777  <li><?php bugfix(76003); ?> (FPM /status reports wrong number of active processe).</li>
5778  <li><?php bugfix(77023); ?> (FPM cannot shutdown processes).</li>
5779  <li>Fixed comment in kqueue remove callback log message.</li>
5780</ul></li>
5781<li>Hash:
5782<ul>
5783  <li><?php bugfix(81714); ?> (segfault when serializing finalized HashContext).</li>
5784</ul></li>
5785<li>Iconv:
5786<ul>
5787  <li>Fixed bug <?php githubissuel('php/php-src',8218); ?> (ob_end_clean does not reset Content-Encoding header).</li>
5788</ul></li>
5789<li>Intl:
5790<ul>
5791  <li>Fixed bug <?php githubissuel('php/php-src',8364); ?> (msgfmt_format $values may not support references).</li>
5792</ul></li>
5793<li>MBString:
5794<ul>
5795  <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>
5796</ul></li>
5797<li>MySQLi:
5798<ul>
5799  <li>Fixed bug <?php githubissuel('php/php-src',8267); ?> (MySQLi uses unsupported format specifier on Windows).</li>
5800</ul></li>
5801<li>SPL:
5802<ul>
5803  <li>Fixed bug <?php githubissuel('php/php-src',8366); ?> (ArrayIterator may leak when calling __construct()).</li>
5804  <li>Fixed bug <?php githubissuel('php/php-src',8273); ?> (SplFileObject: key() returns wrong value).</li>
5805</ul></li>
5806<li>Streams:
5807<ul>
5808  <li>Fixed php://temp does not preserve file-position when switched to temporary file.</li>
5809</ul></li>
5810<li>zlib:
5811<ul>
5812  <li>Fixed bug <?php githubissuel('php/php-src',8218); ?> (ob_end_clean does not reset Content-Encoding header).</li>
5813</ul></li>
5814</ul>
5815<!-- }}} --></section>
5816
5817
5818
5819<section class="version" id="8.1.5"><!-- {{{ 8.1.5 -->
5820<h3>Version 8.1.5</h3>
5821<b><?php release_date('14-Apr-2022'); ?></b>
5822<ul><li>Core:
5823<ul>
5824  <li>Fixed bug <?php githubissuel('php/php-src',8176); ?> (Enum values in property initializers leak).</li>
5825  <li>Fixed freeing of internal attribute arguments.</li>
5826  <li>Fixed bug <?php githubissuel('php/php-src',8070); ?> (memory leak of internal function attribute hash).</li>
5827  <li>Fixed bug <?php githubissuel('php/php-src',8160); ?> (ZTS support on Alpine is broken).</li>
5828</ul></li>
5829<li>Filter:
5830<ul>
5831  <li>Fixed signedness confusion in php_filter_validate_domain().</li>
5832</ul></li>
5833<li>Intl:
5834<ul>
5835  <li>Fixed bug <?php githubissuel('php/php-src',8115); ?> (Can't catch arg type deprecation when instantiating Intl classes).</li>
5836  <li>Fixed bug <?php githubissuel('php/php-src',8142); ?> (Compilation error on cygwin).</li>
5837  <li>Fixed bug <?php githubissuel('php/php-src',7734); ?> (Fix IntlPartsIterator key off-by-one error and first key).</li>
5838</ul></li>
5839<li>MBString:
5840<ul>
5841  <li>Fixed bug <?php githubissuel('php/php-src',8208); ?> (mb_encode_mimeheader: $indent functionality broken).</li>
5842</ul></li>
5843<li>MySQLi:
5844<ul>
5845  <li>Fixed bug <?php githubissuel('php/php-src',8068); ?> (mysqli_fetch_object creates inaccessible properties).</li>
5846</ul></li>
5847<li>Pcntl:
5848<ul>
5849  <li>Fixed bug <?php githubissuel('php/php-src',8142); ?> (Compilation error on cygwin).</li>
5850</ul></li>
5851<li>PgSQL:
5852<ul>
5853  <li>Fixed result_type related stack corruption on LLP64 architectures.</li>
5854  <li>Fixed bug <?php githubissuel('php/php-src',8253); ?> (pg_insert() fails for references).</li>
5855</ul></li>
5856<li>Sockets:
5857<ul>
5858  <li>Fixed Solaris builds.</li>
5859</ul></li>
5860<li>SPL:
5861<ul>
5862  <li>Fixed bug <?php githubissuel('php/php-src',8121); ?> (SplFileObject - seek and key with csv file inconsistent).</li>
5863  <li>Fixed bug <?php githubissuel('php/php-src',8192); ?> (Cannot override DirectoryIterator::current() without return typehint in 8.1).</li>
5864</ul></li>
5865<li>Standard:
5866<ul>
5867  <li>Fixed bug <?php githubissuel('php/php-src',8048); ?> (Force macOS to use statfs).</li>
5868</ul></li>
5869</ul>
5870<!-- }}} --></section>
5871
5872
5873
5874<section class="version" id="8.1.4"><!-- {{{ 8.1.4 -->
5875<h3>Version 8.1.4</h3>
5876<b><?php release_date('17-Mar-2022'); ?></b>
5877<ul><li>Core:
5878<ul>
5879  <li>Fixed Haiku ZTS build.</li>
5880  <li>Fixed bug <?php githubissuel('php/php-src',8059); ?> arginfo not regenerated for extension.</li>
5881  <li>Fixed bug <?php githubissuel('php/php-src',8083); ?> Segfault when dumping uncalled fake closure with static variables.</li>
5882  <li>Fixed bug <?php githubissuel('php/php-src',7958); ?> (Nested CallbackFilterIterator is leaking memory).</li>
5883  <li>Fixed bug <?php githubissuel('php/php-src',8074); ?> (Wrong type inference of range() result).</li>
5884  <li>Fixed bug <?php githubissuel('php/php-src',8140); ?> (Wrong first class callable by name optimization).</li>
5885  <li>Fixed bug <?php githubissuel('php/php-src',8082); ?> (op_arrays with temporary run_time_cache leak memory when observed).</li>
5886</ul></li>
5887<li>GD:
5888<ul>
5889  <li>Fixed libpng warning when loading interlaced images.</li>
5890</ul></li>
5891<li>FPM:
5892<ul>
5893  <li><?php bugfix(76109); ?> (Unsafe access to fpm scoreboard).</li>
5894</ul></li>
5895<li>Iconv:
5896<ul>
5897  <li>Fixed bug <?php githubissuel('php/php-src',7953); ?> (ob_clean() only does not set Content-Encoding).</li>
5898  <li>Fixed bug <?php githubissuel('php/php-src',7980); ?> (Unexpected result for iconv_mime_decode).</li>
5899</ul></li>
5900<li>MBString:
5901<ul>
5902  <li>Fixed bug <?php githubissuel('php/php-src',8128); ?> (mb_check_encoding wrong result for 7bit).</li>
5903</ul></li>
5904<li>MySQLnd:
5905<ul>
5906  <li>Fixed bug <?php githubissuel('php/php-src',8058); ?> (NULL pointer dereference in mysqlnd package).</li>
5907</ul></li>
5908<li>Reflection:
5909<ul>
5910  <li>Fixed bug <?php githubissuel('php/php-src',8080); ?> (ReflectionClass::getConstants() depends on def. order).</li>
5911</ul></li>
5912<li>Zlib:
5913<ul>
5914  <li>Fixed bug <?php githubissuel('php/php-src',7953); ?> (ob_clean() only does not set Content-Encoding).</li>
5915</ul></li>
5916</ul>
5917<!-- }}} --></section>
5918
5919
5920
5921<section class="version" id="8.1.3"><!-- {{{ 8.1.3 -->
5922<h3>Version 8.1.3</h3>
5923<b><?php release_date('17-Feb-2022'); ?></b>
5924<ul><li>Core:
5925<ul>
5926  <li><?php bugfix(81430); ?> (Attribute instantiation leaves dangling pointer).</li>
5927  <li>Fixed bug <?php githubissuel('php/php-src',7896); ?> (Environment vars may be mangled on Windows).</li>
5928  <li>Fixed bug <?php githubissuel('php/php-src',7883); ?> (Segfault when INI file is not readable).</li>
5929</ul></li>
5930<li>FFI:
5931<ul>
5932  <li>Fixed bug <?php githubissuel('php/php-src',7867); ?> (FFI::cast() from pointer to array is broken).</li>
5933</ul></li>
5934<li>Filter:
5935<ul>
5936  <li>Fix #81708: UAF due to php_filter_float() failing for ints. (CVE-2021-21708)</li>
5937</ul></li>
5938<li>FPM:
5939<ul>
5940  <li>Fixed memory leak on invalid port.</li>
5941  <li>Fixed bug <?php githubissuel('php/php-src',7842); ?> (Invalid OpenMetrics response format returned by FPM status page.</li>
5942</ul></li>
5943<li>MBString:
5944<ul>
5945  <li>Fixed bug <?php githubissuel('php/php-src',7902); ?> (mb_send_mail may delimit headers with LF only).</li>
5946</ul></li>
5947<li>MySQLnd:
5948<ul>
5949  <li>Fixed bug <?php githubissuel('php/php-src',7972); ?> (MariaDB version prefix 5.5.5- is not stripped).</li>
5950</ul></li>
5951<li>pcntl:
5952<ul>
5953  <li>Fixed pcntl_rfork build for DragonFlyBSD.</li>
5954</ul></li>
5955<li>Sockets:
5956<ul>
5957  <li>Fixed bug <?php githubissuel('php/php-src',7978); ?> (sockets extension compilation errors).</li>
5958</ul></li>
5959<li>Standard:
5960<ul>
5961  <li>Fixed bug <?php githubissuel('php/php-src',7899); ?> (Regression in unpack for negative int value).</li>
5962  <li>Fixed bug <?php githubissuel('php/php-src',7875); ?> (mails are sent even if failure to log throws exception).</li>
5963</ul></li>
5964</ul>
5965<!-- }}} --></section>
5966
5967
5968
5969<section class="version" id="8.1.2"><!-- {{{ 8.1.2 -->
5970<h3>Version 8.1.2</h3>
5971<b><?php release_date('20-Jan-2022'); ?></b>
5972<ul><li>Core:
5973<ul>
5974  <li><?php bugfix(81216); ?> (Nullsafe operator leaks dynamic property name).</li>
5975  <li><?php bugfix(81684); ?> (Using null coalesce assignment with $GLOBALS["x"] produces opcode error).</li>
5976  <li><?php bugfix(81656); ?> (GCC-11 silently ignores -R).</li>
5977  <li><?php bugfix(81683); ?> (Misleading "access type ... must be public" error message on final or abstract interface methods).</li>
5978  <li><?php bugfix(81585); ?> (cached_chunks are not counted to real_size on shutdown).</li>
5979  <li>Fixed bug <?php githubissuel('php/php-src',7757); ?> (Multi-inherited final constant causes fatal error).</li>
5980  <li>Fixed zend_fibers.c build with ZEND_FIBER_UCONTEXT.</li>
5981  <li>Added riscv64 support for fibers.</li>
5982</ul></li>
5983<li>Filter:
5984<ul>
5985  <li>Fixed FILTER_FLAG_NO_RES_RANGE flag.</li>
5986</ul></li>
5987<li>Hash:
5988<ul>
5989  <li>Fixed bug <?php githubissuel('php/php-src',7759); ?> (Incorrect return types for hash() and hash_hmac()).</li>
5990  <li>Fixed bug <?php githubissuel('php/php-src',7826); ?> (Inconsistent argument name in hash_hmac_file and hash_file).</li>
5991</ul></li>
5992<li>MBString:
5993<ul>
5994  <li><?php bugfix(81693); ?> (mb_check_encoding(7bit) segfaults).</li>
5995</ul></li>
5996<li>MySQLi:
5997<ul>
5998  <li><?php bugfix(81658); ?> (MYSQL_OPT_LOAD_DATA_LOCAL_DIR not available in MariaDB).</li>
5999  <li>Introduced MYSQLI_IS_MARIADB.</li>
6000  <li>Fixed bug <?php githubissuel('php/php-src',7746); ?> (mysqli_sql_exception-&gt;getSqlState()).</li>
6001</ul></li>
6002<li>MySQLnd:
6003<ul>
6004  <li>Fixed bug where large bigints may be truncated.</li>
6005</ul></li>
6006<li>OCI8:
6007<ul>
6008  <li>Fixed bug <?php githubissuel('php/php-src',7765); ?> (php_oci_cleanup_global_handles segfaults at second call).</li>
6009</ul></li>
6010<li>OPcache:
6011<ul>
6012  <li><?php bugfix(81679); ?> (Tracing JIT crashes on reattaching).</li>
6013</ul></li>
6014<li>Readline:
6015<ul>
6016  <li><?php bugfix(81598); ?> (Cannot input unicode characters in PHP 8 interactive shell).</li>
6017</ul></li>
6018<li>Reflection:
6019<ul>
6020  <li><?php bugfix(81681); ?> (ReflectionEnum throwing exceptions).</li>
6021</ul></li>
6022<li>PDO_PGSQL:
6023<ul>
6024  <li>Fixed error message allocation of PDO PgSQL.</li>
6025</ul></li>
6026<li>Sockets:
6027<ul>
6028  <li>Avoid void* arithmetic in sockets/multicast.c on NetBSD.</li>
6029  <li>Fixed ext/sockets build on Haiku.</li>
6030</ul></li>
6031<li>Spl:
6032<ul>
6033  <li><?php bugfix(75917); ?> (SplFileObject::seek broken with CSV flags).</li>
6034  <li>Fixed bug <?php githubissuel('php/php-src',7809); ?> (Cloning a faked SplFileInfo object may segfault).</li>
6035</ul></li>
6036<li>Standard:
6037<ul>
6038  <li>Fixed bug <?php githubissuel('php/php-src',7748); ?> (gethostbyaddr outputs binary string).</li>
6039  <li>Fixed bug <?php githubissuel('php/php-src',7815); ?> (php_uname doesn't recognise latest Windows versions).</li>
6040</ul></li>
6041</ul>
6042<!-- }}} --></section>
6043
6044
6045
6046<section class="version" id="8.1.1"><!-- {{{ 8.1.1 -->
6047<h3>Version 8.1.1</h3>
6048<b><?php release_date('02-Dec-2021'); ?></b>
6049<ul><li>IMAP:
6050<ul>
6051  <li><?php bugfix(81649); ?> (imap_(un)delete accept sequences, not single numbers).</li>
6052</ul></li>
6053<li>PCRE:
6054<ul>
6055  <li>Update bundled PCRE2 to 10.39.</li>
6056  <li><?php bugfix(74604); ?> (Out of bounds in php_pcre_replace_impl).</li>
6057</ul></li>
6058<li>Standard:
6059<ul>
6060  <li><?php bugfix(81659); ?> (stream_get_contents() may unnecessarily overallocate).</li>
6061</ul></li>
6062</ul>
6063<!-- }}} --></section>
6064
6065
6066
6067<section class="version" id="8.1.0"><!-- {{{ 8.1.0 -->
6068<h3>Version 8.1.0</h3>
6069<b><?php release_date('25-Nov-2021'); ?></b>
6070<ul><li>Core:
6071<ul>
6072  <li>Fixed inclusion order for phpize builds on Windows.</li>
6073  <li>Added missing hashtable insertion APIs for arr/obj/ref.</li>
6074  <li><?php implemented(77372); ?> (Relative file path is removed from uploaded file).</li>
6075  <li><?php bugfix(81607); ?> (CE_CACHE allocation with concurrent access).</li>
6076  <li><?php bugfix(81507); ?> (Fiber does not compile on AIX).</li>
6077  <li><?php bugfix(78647); ?> (SEGFAULT in zend_do_perform_implementation_check).</li>
6078  <li><?php bugfix(81518); ?> (Header injection via default_mimetype / default_charset).</li>
6079  <li><?php bugfix(75941); ?> (Fix compile failure on Solaris with clang).</li>
6080  <li><?php bugfix(81380); ?> (Observer may not be initialized properly).</li>
6081  <li><?php bugfix(81514); ?> (Using Enum as key in WeakMap triggers GC + SegFault).</li>
6082  <li><?php bugfix(81520); ?> (TEST_PHP_CGI_EXECUTABLE badly set in run-tests.php).</li>
6083  <li><?php bugfix(81377); ?> (unset() of $GLOBALS sub-key yields warning).</li>
6084  <li><?php bugfix(81342); ?> (New ampersand token parsing depends on new line after it).</li>
6085  <li><?php bugfix(81280); ?> (Unicode characters in cli.prompt causes segfault).</li>
6086  <li><?php bugfix(81192); ?> ("Declaration should be compatible with" gives incorrect line number with traits).</li>
6087  <li><?php bugfix(78919); ?> (CLI server: insufficient cleanup if request startup fails).</li>
6088  <li><?php bugfix(81303); ?> (match error message improvements).</li>
6089  <li><?php bugfix(81238); ?> (Fiber support missing for Solaris Sparc).</li>
6090  <li><?php bugfix(81237); ?> (Comparison of fake closures doesn't work).</li>
6091  <li><?php bugfix(81202); ?> (powerpc64 build fails on fibers).</li>
6092  <li><?php bugfix(80072); ?> (Cyclic unserialize in TMPVAR operand may leak).</li>
6093  <li><?php bugfix(81163); ?> (__sleep allowed to return non-array).</li>
6094  <li><?php bugfix(75474); ?> (function scope static variables are not bound to a unique function).</li>
6095  <li><?php bugfix(53826); ?> (__callStatic fired in base class through a parent call if the method is private).</li>
6096  <li><?php bugfix(81076); ?> (incorrect debug info on Closures with implicit binds).</li>
6097</ul></li>
6098<li>CLI:
6099<ul>
6100  <li><?php bugfix(81496); ?> (Server logs incorrect request method).</li>
6101</ul></li>
6102<li>COM:
6103<ul>
6104  <li>Dispatch using LANG_NEUTRAL instead of LOCALE_SYSTEM_DEFAULT.</li>
6105</ul></li>
6106<li>Curl:
6107<ul>
6108  <li><?php bugfix(81085); ?> (Support CURLOPT_SSLCERT_BLOB for cert strings).</li>
6109</ul></li>
6110<li>Date:
6111<ul>
6112  <li><?php bugfix(81458); ?> (Regression Incorrect difference after timezone change).</li>
6113  <li><?php bugfix(81500); ?> (Interval serialization regression since 7.3.14 / 7.4.2).</li>
6114  <li><?php bugfix(81504); ?> (Incorrect timezone transition details for POSIX data).</li>
6115  <li><?php bugfix(80998); ?> (Missing second with inverted interval).</li>
6116  <li>Speed up finding timezone offset information.</li>
6117  <li><?php bugfix(79580); ?> (date_create_from_format misses leap year).</li>
6118  <li><?php bugfix(80963); ?> (DateTimeZone::getTransitions() truncated).</li>
6119  <li><?php bugfix(80974); ?> (Wrong diff between 2 dates in different timezones).</li>
6120  <li><?php bugfix(80998); ?> (Missing second with inverted interval).</li>
6121  <li><?php bugfix(81097); ?> (DateTimeZone silently falls back to UTC when providing an offset with seconds).</li>
6122  <li><?php bugfix(81106); ?> (Regression in 8.1: add() now truncate -&gt;f).</li>
6123  <li><?php bugfix(81273); ?> (Date interval calculation not correct).</li>
6124  <li><?php bugfix(52480); ?> (Incorrect difference using DateInterval).</li>
6125  <li><?php bugfix(62326); ?> (date_diff() function returns false result).</li>
6126  <li><?php bugfix(64992); ?> (dst not handled past 2038).</li>
6127  <li><?php bugfix(65003); ?> (Wrong date diff).</li>
6128  <li><?php bugfix(66545); ?> (DateTime. diff returns negative values).</li>
6129  <li><?php bugfix(68503); ?> (date_diff on two dates with timezone set localised returns wrong results).</li>
6130  <li><?php bugfix(69806); ?> (Incorrect date from timestamp).</li>
6131  <li><?php bugfix(71700); ?> (Extra day on diff between begin and end of march 2016).</li>
6132  <li><?php bugfix(71826); ?> (DateTime::diff confuse on timezone 'Asia/Tokyo').</li>
6133  <li><?php bugfix(73460); ?> (Datetime add not realising it already applied DST change).</li>
6134  <li><?php bugfix(74173); ?> (DateTimeImmutable::getTimestamp() triggers DST switch in incorrect time).</li>
6135  <li><?php bugfix(74274); ?> (Handling DST transitions correctly).</li>
6136  <li><?php bugfix(74524); ?> (Date diff is bad calculated, in same time zone).</li>
6137  <li><?php bugfix(75167); ?> (DateTime::add does only care about backward DST transition, not forward).</li>
6138  <li><?php bugfix(76032); ?> (DateTime-&gt;diff having issues with leap days for timezones ahead of UTC).</li>
6139  <li><?php bugfix(76374); ?> (Date difference varies according day time).</li>
6140  <li><?php bugfix(77571); ?> (DateTime's diff DateInterval incorrect in timezones from UTC+01:00 to UTC+12:00).</li>
6141  <li><?php bugfix(78452); ?> (diff makes wrong in hour for Asia/Tehran).</li>
6142  <li><?php bugfix(79452); ?> (DateTime::diff() generates months differently between time zones).</li>
6143  <li><?php bugfix(79698); ?> (timelib mishandles future timestamps (triggered by 'zic -b slim')).</li>
6144  <li><?php bugfix(79716); ?> (Invalid date time created (with day "00")).</li>
6145  <li><?php bugfix(80610); ?> (DateTime calculate wrong with DateInterval).</li>
6146  <li><?php bugfix(80664); ?> (DateTime objects behave incorrectly around DST transition).</li>
6147  <li><?php bugfix(80913); ?> (DateTime(Immutable)::sub around DST yield incorrect time).</li>
6148</ul></li>
6149<li>DBA:
6150<ul>
6151  <li><?php bugfix(81588); ?> (TokyoCabinet driver leaks memory).</li>
6152</ul></li>
6153<li>DOM:
6154<ul>
6155  <li><?php bugfix(81433); ?> (DOMElement::setIdAttribute() called twice may remove ID).</li>
6156</ul></li>
6157<li>FFI:
6158<ul>
6159  <li><?php bugfix(79576); ?> ("TYPE *" shows unhelpful message when type is not defined).</li>
6160</ul></li>
6161<li>Filter:
6162<ul>
6163  <li><?php bugfix(61700); ?> (FILTER_FLAG_IPV6/FILTER_FLAG_NO_PRIV|RES_RANGE failing).</li>
6164</ul></li>
6165<li>FPM:
6166<ul>
6167  <li><?php bugfix(81513); ?> (Future possibility for heap overflow in FPM zlog).</li>
6168  <li><?php bugfix(81026); ?> (PHP-FPM oob R/W in root process leading to privilege escalation) (CVE-2021-21703).</li>
6169  <li>Added openmetrics status format.</li>
6170  <li>Enable process renaming on macOS.</li>
6171  <li>Added pm.max_spawn_rate option to configure max spawn child processes rate.</li>
6172  <li><?php bugfix(65800); ?> (Events port mechanism).</li>
6173</ul></li>
6174<li>FTP:
6175<ul>
6176  <li>Convert resource&lt;ftp&gt; to object \FTP\Connection.</li>
6177</ul></li>
6178<li>GD:
6179<ul>
6180  <li><?php bugfix(71316); ?> (libpng warning from imagecreatefromstring).</li>
6181  <li>Convert resource&lt;gd font&gt; to object \GdFont.</li>
6182  <li>Added support for Avif images</li>
6183</ul></li>
6184<li>hash:
6185<ul>
6186  <li><?php implemented(68109); ?> (Add MurmurHash V3).</li>
6187  <li><?php implemented(73385); ?> (Add xxHash support).</li>
6188</ul></li>
6189<li>JSON:
6190<ul>
6191  <li><?php bugfix(81532); ?> (Change of $depth behaviour in json_encode() on PHP 8.1).</li>
6192</ul></li>
6193<li>LDAP:
6194<ul>
6195  <li>Convert resource&lt;ldap link&gt; to object \LDAP\Connection.</li>
6196  <li>Convert resource&lt;ldap result&gt; to object \LDAP\Result.</li>
6197  <li>Convert resource&lt;ldap result entry&gt; to object \LDAP\ResultEntry.</li>
6198</ul></li>
6199<li>MBString:
6200<ul>
6201  <li><?php bugfix(76167); ?> (mbstring may use pointer from some previous request).</li>
6202  <li><?php bugfix(81390); ?> (mb_detect_encoding() regression).</li>
6203  <li><?php bugfix(81349); ?> (mb_detect_encoding misdetcts ASCII in some cases).</li>
6204  <li><?php bugfix(81298); ?> (mb_detect_encoding() segfaults when 7bit encoding is specified).</li>
6205</ul></li>
6206<li>MySQLi:
6207<ul>
6208  <li><?php bugfix(70372); ?> (Emulate mysqli_fetch_all() for libmysqlclient).</li>
6209  <li><?php bugfix(80330); ?> (Replace language in APIs and source code/docs).</li>
6210  <li><?php bugfix(80329); ?> (Add option to specify LOAD DATA LOCAL white list folder (including libmysql)).</li>
6211</ul></li>
6212<li>MySQLnd:
6213<ul>
6214  <li><?php bugfix(63327); ?> (Crash (Bus Error) in mysqlnd due to wrong alignment).</li>
6215  <li><?php bugfix(80761); ?> (PDO uses too much memory).</li>
6216</ul></li>
6217<li>Opcache:
6218<ul>
6219  <li><?php bugfix(81409); ?> (Incorrect JIT code for ADD with a reference to array).</li>
6220  <li><?php bugfix(81255); ?> (Memory leak in PHPUnit with functional JIT).</li>
6221  <li><?php bugfix(80959); ?> (infinite loop in building cfg during JIT compilation).</li>
6222  <li><?php bugfix(81225); ?> (Wrong result with pow operator with JIT enabled).</li>
6223  <li><?php bugfix(81249); ?> (Intermittent property assignment failure with JIT enabled).</li>
6224  <li><?php bugfix(81256); ?> (Assertion `zv != ((void *)0)' failed for "preload" with JIT).</li>
6225  <li><?php bugfix(81133); ?> (building opcache with phpize fails).</li>
6226  <li><?php bugfix(81136); ?> (opcache header not installed).</li>
6227  <li>Added inheritance cache.</li>
6228</ul></li>
6229<li>OpenSSL:
6230<ul>
6231  <li><?php bugfix(81502); ?> ($tag argument of openssl_decrypt() should accept null/empty string).</li>
6232  <li>Bump minimal OpenSSL version to 1.0.2.</li>
6233</ul></li>
6234<li>PCRE:
6235<ul>
6236  <li><?php bugfix(81424); ?> (PCRE2 10.35 JIT performance regression).</li>
6237  <li>Bundled PCRE2 is 10.37.</li>
6238</ul></li>
6239<li>PDO:
6240<ul>
6241  <li><?php bugfix(40913); ?> (PDO_MYSQL: PDO::PARAM_LOB does not bind to a stream for fetching a BLOB).</li>
6242</ul></li>
6243<li>PDO MySQL:
6244<ul>
6245  <li><?php bugfix(80908); ?> (PDO::lastInsertId() return wrong).</li>
6246  <li><?php bugfix(81037); ?> (PDO discards error message text from prepared statement).</li>
6247</ul></li>
6248<li>PDO OCI:
6249<ul>
6250  <li><?php bugfix(77120); ?> (Support 'success with info' at connection).</li>
6251</ul></li>
6252<li>PDO ODBC:
6253<ul>
6254  <li>Implement PDO_ATTR_SERVER_VERSION and PDO_ATTR_SERVER_INFO for PDO::getAttribute().</li>
6255</ul></li>
6256<li>PDO PgSQL:
6257<ul>
6258  <li><?php bugfix(81343); ?> (pdo_pgsql: Inconsitent boolean conversion after calling closeCursor()).</li>
6259</ul></li>
6260<li>PDO SQLite:
6261<ul>
6262  <li><?php bugfix(38334); ?> (Proper data-type support for PDO_SQLITE).</li>
6263</ul></li>
6264<li>PgSQL:
6265<ul>
6266  <li><?php bugfix(81509); ?> (pg_end_copy still expects a resource).</li>
6267  <li>Convert resource&lt;pgsql link&gt; to object \PgSql\Connection.</li>
6268  <li>Convert resource&lt;pgsql result&gt; to object \PgSql\Result.</li>
6269  <li>Convert resource&lt;pgsql large object&gt; to object \PgSql\Lob.</li>
6270</ul></li>
6271<li>Phar:
6272<ul>
6273  <li>Use SHA256 by default for signature.</li>
6274  <li>Add support for OpenSSL_SHA256 and OpenSSL_SHA512 signature.</li>
6275</ul></li>
6276<li>phpdbg:
6277<ul>
6278  <li><?php bugfix(81135); ?> (unknown help topic causes assertion failure).</li>
6279</ul></li>
6280<li>PSpell:
6281<ul>
6282  <li>Convert resource&lt;pspell&gt; to object \PSpell\Dictionary.</li>
6283  <li>Convert resource&lt;pspell config&gt; to object \PSpell\Config.</li>
6284</ul></li>
6285<li>readline:
6286<ul>
6287  <li><?php bugfix(72998); ?> (invalid read in readline completion).</li>
6288</ul></li>
6289<li>Reflection:
6290<ul>
6291  <li><?php bugfix(81611); ?> (ArgumentCountError when getting default value from ReflectionParameter with new).</li>
6292  <li><?php bugfix(81630); ?> (PHP 8.1: ReflectionClass-&gt;getTraitAliases() crashes with Internal error).</li>
6293  <li><?php bugfix(81457); ?> (Enum: ReflectionMethod-&gt;getDeclaringClass() return a ReflectionClass).</li>
6294  <li><?php bugfix(81474); ?> (Make ReflectionEnum and related class non-final).</li>
6295  <li><?php bugfix(80821); ?> (ReflectionProperty::getDefaultValue() returns current value for statics).</li>
6296  <li><?php bugfix(80564); ?> (ReflectionProperty::__toString() renders current value, not default value).</li>
6297  <li><?php bugfix(80097); ?> (ReflectionAttribute is not a Reflector).</li>
6298  <li><?php bugfix(81200); ?> (no way to determine if Closure is static).</li>
6299  <li>Implement ReflectionFunctionAbstract::getClosureUsedVariables.</li>
6300</ul></li>
6301<li>Shmop:
6302<ul>
6303  <li><?php bugfix(81407); ?> (shmop_open won't attach and causes php to crash).</li>
6304</ul></li>
6305<li>SimpleXML:
6306<ul>
6307  <li><?php bugfix(81325); ?> (Segfault in zif_simplexml_import_dom).</li>
6308</ul></li>
6309<li>SNMP:
6310<ul>
6311  <li>Implement SHA256 and SHA512 for security protocol.</li>
6312</ul></li>
6313<li>Sodium:
6314<ul>
6315  <li>Added the XChaCha20 stream cipher functions.</li>
6316  <li>Added the Ristretto255 functions, which are available in libsodium 1.0.18.</li>
6317</ul></li>
6318<li>SPL:
6319<ul>
6320  <li><?php bugfix(66588); ?> (SplFileObject::fgetcsv incorrectly returns a row on premature EOF).</li>
6321  <li><?php bugfix(80663); ?> (Recursive SplFixedArray::setSize() may cause double-free).</li>
6322  <li><?php bugfix(81477); ?> (LimitIterator + SplFileObject regression in 8.0.1).</li>
6323  <li><?php bugfix(81112); ?> (Special json_encode behavior for SplFixedArray).</li>
6324  <li><?php bugfix(80945); ?> ("Notice: Undefined index" on unset() ArrayObject non-existing key).</li>
6325  <li><?php bugfix(80724); ?> (FilesystemIterator::FOLLOW_SYMLINKS remove KEY_AS_FILE from bitmask).</li>
6326</ul></li>
6327<li>Standard:
6328<ul>
6329  <li><?php bugfix(81441); ?> (gethostbyaddr('::1') returns ip instead of name after calling some other method).</li>
6330  <li><?php bugfix(81491); ?> (Incorrectly using libsodium for argon2 hashing).</li>
6331  <li><?php bugfix(81142); ?> (PHP 7.3+ memory leak when unserialize() is used on an associative array).</li>
6332  <li><?php bugfix(81111); ?> (Serialization is unexpectedly allowed on anonymous classes with __serialize()).</li>
6333  <li><?php bugfix(81137); ?> (hrtime breaks build on OSX before Sierra).</li>
6334  <li><?php bugfix(77627); ?> (method_exists on Closure::__invoke inconsistency).</li>
6335</ul></li>
6336<li>Streams:
6337<ul>
6338  <li><?php bugfix(81475); ?> (stream_isatty emits warning with attached stream wrapper).</li>
6339</ul></li>
6340<li>XML:
6341<ul>
6342  <li><?php bugfix(79971); ?> (special character is breaking the path in xml function) (CVE-2021-21707).</li>
6343  <li><?php bugfix(70962); ?> (XML_OPTION_SKIP_WHITE strips embedded whitespace).</li>
6344</ul></li>
6345<li>Zip:
6346<ul>
6347  <li><?php bugfix(81490); ?> (ZipArchive::extractTo() may leak memory).</li>
6348  <li><?php bugfix(77978); ?> (Dirname ending in colon unzips to wrong dir).</li>
6349  <li><?php bugfix(81420); ?> (ZipArchive::extractTo extracts outside of destination) (CVE-2021-21706).</li>
6350  <li><?php bugfix(80833); ?> (ZipArchive::getStream doesn't use setPassword).</li>
6351</ul></li>
6352</ul>
6353<!-- }}} --></section>
6354
6355
6356
6357<a id="PHP_8_0"></a>
6358
6359<section class="version" id="8.0.30"><!-- {{{ 8.0.30 -->
6360<h3>Version 8.0.30</h3>
6361<b><?php release_date('03-Aug-2023'); ?></b>
6362<ul><li>Libxml:
6363<ul>
6364  <li>Fixed bug GHSA-3qrf-m4j2-pcrr (Security issue with external entity loading in XML without enabling it). (CVE-2023-3823)</li>
6365</ul></li>
6366<li>Phar:
6367<ul>
6368  <li>Fixed bug GHSA-jqcx-ccgc-xwhv (Buffer mismanagement in phar_dir_read()). (CVE-2023-3824)</li>
6369</ul></li>
6370</ul>
6371<!-- }}} --></section>
6372
6373
6374
6375<section class="version" id="8.0.29"><!-- {{{ 8.0.29 -->
6376<h3>Version 8.0.29</h3>
6377<b><?php release_date('08-Jun-2023'); ?></b>
6378<ul><li>Soap:
6379<ul>
6380  <li>Fixed bug GHSA-76gg-c692-v2mw (Missing error check and insufficient random bytes in HTTP Digest authentication for SOAP). (CVE-2023-3247)</li>
6381</ul></li>
6382</ul>
6383<!-- }}} --></section>
6384
6385
6386
6387<section class="version" id="8.0.28"><!-- {{{ 8.0.28 -->
6388<h3>Version 8.0.28</h3>
6389<b><?php release_date('14-Feb-2023'); ?></b>
6390<ul><li>Core:
6391<ul>
6392  <li><?php bugfix(81744); ?> (Password_verify() always return true with some hash).</li>
6393  <li><?php bugfix(81746); ?> (1-byte array overrun in common path resolve code).</li>
6394</ul></li>
6395<li>SAPI:
6396<ul>
6397  <li>Fixed bug GHSA-54hq-v5wp-fqgv (DOS vulnerability when parsing multipart request body). (CVE-2023-0662)</li>
6398</ul></li>
6399</ul>
6400<!-- }}} --></section>
6401
6402
6403
6404<section class="version" id="8.0.27"><!-- {{{ 8.0.27 -->
6405<h3>Version 8.0.27</h3>
6406<b><?php release_date('05-Jan-2023'); ?></b>
6407<ul><li>PDO/SQLite:
6408<ul>
6409  <li><?php bugfix(81740); ?> (PDO::quote() may return unquoted string). (CVE-2022-31631)</li>
6410</ul></li>
6411</ul>
6412<!-- }}} --></section>
6413
6414
6415
6416<section class="version" id="8.0.26"><!-- {{{ 8.0.26 -->
6417<h3>Version 8.0.26</h3>
6418<b><?php release_date('24-Nov-2022'); ?></b>
6419<ul><li>CLI:
6420<ul>
6421  <li>Fixed bug <?php githubissuel('php/php-src', 9709); ?> (Null pointer dereference with -w/-s options).</li>
6422</ul></li>
6423<li>Core:
6424<ul>
6425  <li>Fixed bug <?php githubissuel('php/php-src', 9752); ?> (Generator crashes when interrupted during argument evaluation with extra named params).</li>
6426  <li>Fixed bug <?php githubissuel('php/php-src', 9801); ?> (Generator crashes when memory limit is exceeded during initialization).</li>
6427  <li>Fixed potential NULL pointer dereference in Windows shm*() functions.</li>
6428  <li>Fixed bug <?php githubissuel('php/php-src', 9750); ?> (Generator memory leak when interrupted during argument evaluation.</li>
6429</ul></li>
6430<li>Date:
6431<ul>
6432  <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>
6433</ul></li>
6434<li>FPM:
6435<ul>
6436  <li>Fixed bug <?php githubissuel('php/php-src', 9754); ?> (SaltStack (using Python subprocess) hangs when running php-fpm 8.1.11).</li>
6437</ul></li>
6438<li>mysqli:
6439<ul>
6440  <li>Fixed bug <?php githubissuel('php/php-src', 9841); ?> (mysqli_query throws warning despite using silenced error mode).</li>
6441</ul></li>
6442<li>OpenSSL:
6443<ul>
6444  <li>Fixed bug <?php githubissuel('php/php-src', 8430); ?> (OpenSSL compiled with no-md2, no-md4 or no-rmd160 does not build).</li>
6445</ul></li>
6446<li>SOAP:
6447<ul>
6448  <li>Fixed <?php githubissuel('php/php-src', 9720); ?> (Null pointer dereference while serializing the response).</li>
6449</ul></li>
6450</ul>
6451<!-- }}} --></section>
6452
6453
6454
6455<section class="version" id="8.0.25"><!-- {{{ 8.0.25 -->
6456<h3>Version 8.0.25</h3>
6457<b><?php release_date('27-Oct-2022'); ?></b>
6458<ul><li>GD:
6459<ul>
6460  <li><?php bugfix(81739); ?>: OOB read due to insufficient input validation in imageloadfont(). (CVE-2022-31630)</li>
6461</ul></li>
6462<li>Hash:
6463<ul>
6464  <li><?php bugfix(81738); ?>: buffer overflow in hash_update() on long parameter. (CVE-2022-37454)</li>
6465</ul></li>
6466<li>Session:
6467<ul>
6468  <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>
6469</ul></li>
6470<li>Streams:
6471<ul>
6472  <li>Fixed bug <?php githubissuel('php/php-src', 9590); ?> (stream_select does not abort upon exception or empty valid fd set).</li>
6473</ul></li>
6474</ul>
6475<!-- }}} --></section>
6476
6477
6478
6479<section class="version" id="8.0.24"><!-- {{{ 8.0.24 -->
6480<h3>Version 8.0.24</h3>
6481<b><?php release_date('29-Sep-2022'); ?></b>
6482<ul><li>Core:
6483<ul>
6484  <li>Fixed bug <?php githubissuel('php/php-src', 9323); ?> (Crash in ZEND_RETURN/GC/zend_call_function) (Tim Starling)</li>
6485  <li>Fixed bug <?php githubissuel('php/php-src', 9361); ?> (Segmentation fault on script exit #9379).</li>
6486  <li>Fixed bug <?php githubissuel('php/php-src', 9407); ?> (LSP error in eval'd code refers to wrong class for static type).</li>
6487  <li><?php bugfix(81727); ?>: Don't mangle HTTP variable names that clash with ones that have a specific semantic meaning. (CVE-2022-31629)</li>
6488</ul></li>
6489<li>DOM:
6490<ul>
6491  <li><?php bugfix(79451); ?> (DOMDocument-&gt;replaceChild on doctype causes double free).</li>
6492</ul></li>
6493<li>FPM:
6494<ul>
6495  <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>
6496  <li><?php bugfix(77780); ?> ("Headers already sent..." when previous connection was aborted).</li>
6497</ul></li>
6498<li>GMP:
6499<ul>
6500  <li>Fixed bug <?php githubissuel('php/php-src', 9308); ?> (GMP throws the wrong error when a GMP object is passed to gmp_init()).</li>
6501</ul></li>
6502<li>Intl:
6503<ul>
6504  <li>Fixed bug <?php githubissuel('php/php-src', 9421); ?> (Incorrect argument number for ValueError in NumberFormatter).</li>
6505</ul></li>
6506<li>Phar:
6507<ul>
6508  <li><?php bugfix(81726); ?>: phar wrapper: DOS when using quine gzip file. (CVE-2022-31628)</li>
6509</ul></li>
6510<li>PDO_PGSQL:
6511<ul>
6512  <li>Fixed bug <?php githubissuel('php/php-src', 9411); ?> (PgSQL large object resource is incorrectly closed).</li>
6513</ul></li>
6514<li>Reflection:
6515<ul>
6516  <li>Fixed bug <?php githubissuel('php/php-src', 8932); ?> (ReflectionFunction provides no way to get the called class of a Closure).</li>
6517  <li>Fixed bug <?php githubissuel('php/php-src', 9409); ?> (Private method is incorrectly dumped as "overwrites").</li>
6518</ul></li>
6519<li>Streams:
6520<ul>
6521  <li>Fixed bug <?php githubissuel('php/php-src', 9316); ?> ($http_response_header is wrong for long status line).</li>
6522</ul></li>
6523</ul>
6524<!-- }}} --></section>
6525
6526
6527
6528<section class="version" id="8.0.23"><!-- {{{ 8.0.23 -->
6529<h3>Version 8.0.23</h3>
6530<b><?php release_date('01-Sep-2022'); ?></b>
6531<ul><li>Core:
6532<ul>
6533  <li>Fixed incorrect double to long casting in latest clang.</li>
6534</ul></li>
6535<li>DBA:
6536<ul>
6537  <li>Fixed LMDB driver memory leak on DB creation failure.</li>
6538  <li>Fixed bug <?php githubissuel('php/php-src', 9155); ?> (dba_open("non-existing", "c-", "flatfile") segfaults).</li>
6539</ul></li>
6540<li>Intl:
6541<ul>
6542  <li>Fixed IntlDateFormatter::formatObject() parameter type.</li>
6543</ul></li>
6544<li>OPcache:
6545<ul>
6546  <li>Fixed bug <?php githubissuel('php/php-src', 9033); ?> (Loading blacklist file can fail due to negative length).</li>
6547</ul></li>
6548<li>PDO_SQLite:
6549<ul>
6550  <li>Fixed bug <?php githubissuel('php/php-src', 9032); ?> (SQLite3 authorizer crashes on NULL values).</li>
6551</ul></li>
6552<li>SQLite3:
6553<ul>
6554  <li>Fixed bug <?php githubissuel('php/php-src', 9032); ?> (SQLite3 authorizer crashes on NULL values).</li>
6555</ul></li>
6556<li>Standard:
6557<ul>
6558  <li>Fixed bug <?php githubissuel('php/php-src', 9017); ?> (php_stream_sock_open_from_socket could return NULL).</li>
6559</ul></li>
6560<li>Streams:
6561<ul>
6562  <li>Fixed bug <?php githubissuel('php/php-src', 8472); ?> (The resource returned by stream_socket_accept may have incorrect metadata).</li>
6563  <li>Fixed bug <?php githubissuel('php/php-src', 8409); ?> (SSL handshake timeout leaves persistent connections hanging).</li>
6564</ul></li>
6565</ul>
6566<!-- }}} --></section>
6567
6568
6569
6570<section class="version" id="8.0.22"><!-- {{{ 8.0.22 -->
6571<h3>Version 8.0.22</h3>
6572<b><?php release_date('04-Aug-2022'); ?></b>
6573<ul><li>CLI:
6574<ul>
6575  <li>Fixed potential overflow for the builtin server via the PHP_CLI_SERVER_WORKERS environment variable.</li>
6576</ul></li>
6577<li>Core:
6578<ul>
6579  <li>Fixed bug <?php githubissuel('php/php-src', 8923); ?> (error_log on Windows can hold the file write lock).</li>
6580  <li>Fixed bug <?php githubissuel('php/php-src', 8995); ?> (WeakMap object reference offset causing TypeError).</li>
6581</ul></li>
6582<li>Date:
6583<ul>
6584  <li><?php bugfix(80047); ?> (DatePeriod doesn't warn with custom DateTimeImmutable).</li>
6585</ul></li>
6586<li>DBA:
6587<ul>
6588  <li>Fixed LMDB driver hanging when attempting to delete a non-existing key.</li>
6589</ul></li>
6590<li>FPM:
6591<ul>
6592  <li>Fixed zlog message prepend, free on incorrect address.</li>
6593  <li>Fixed possible double free on configuration loading failure.</li>
6594</ul></li>
6595<li>GD:
6596<ul>
6597  <li>Fixed bug <?php githubissuel('php/php-src', 8848); ?> (imagecopyresized() error refers to the wrong argument).</li>
6598</ul></li>
6599<li>Intl:
6600<ul>
6601  <li>Fixed build for ICU 69.x and onwards.</li>
6602</ul></li>
6603<li>OPcache:
6604<ul>
6605  <li>Fixed bug <?php githubissuel('php/php-src', 8847); ?> (PHP hanging infinitly at 100% cpu when check php syntaxe of a valid file).</li>
6606</ul></li>
6607<li>Standard:
6608<ul>
6609  <li>Fixed the crypt_sha256/512 api build with clang &gt; 12.</li>
6610  <li>Uses CCRandomGenerateBytes instead of arc4random_buf on macOs.</li>
6611</ul></li>
6612</ul>
6613<!-- }}} --></section>
6614
6615
6616
6617<section class="version" id="8.0.21"><!-- {{{ 8.0.21 -->
6618<h3>Version 8.0.21</h3>
6619<b><?php release_date('07-Jul-2022'); ?></b>
6620<ul><li>Core:
6621<ul>
6622  <li>Fixed potential use after free in php_binary_init().</li>
6623</ul></li>
6624<li>CLI:
6625<ul>
6626  <li>Fixed <?php githubissuel('php/php-src',8827); ?> (Intentionally closing std handles no longer possible).</li>
6627</ul></li>
6628<li>COM:
6629<ul>
6630  <li>Fixed bug <?php githubissuel('php/php-src',8778); ?> (Integer arithmethic with large number variants fails).</li>
6631</ul></li>
6632<li>Curl:
6633<ul>
6634  <li>Fixed CURLOPT_TLSAUTH_TYPE is not treated as a string option.</li>
6635</ul></li>
6636<li>Date:
6637<ul>
6638  <li><?php bugfix(74671); ?> (DST timezone abbreviation has incorrect offset).</li>
6639  <li><?php bugfix(77243); ?> (Weekdays are calculated incorrectly for negative years).</li>
6640  <li><?php bugfix(78139); ?> (timezone_open accepts invalid timezone string argument).</li>
6641</ul></li>
6642<li>FPM:
6643<ul>
6644  <li><?php bugfix(67764); ?> (fpm: syslog.ident don't work).</li>
6645</ul></li>
6646<li>MBString:
6647<ul>
6648  <li>Fixed bug <?php githubissuel('php/php-src',8685); ?> (pcre not ready at mbstring startup).</li>
6649</ul></li>
6650<li>ODBC:
6651<ul>
6652  <li>Fixed handling of single-key connection strings.</li>
6653</ul></li>
6654<li>OpenSSL:
6655<ul>
6656  <li><?php bugfix(50293); ?> (Several openssl functions ignore the VCWD).</li>
6657  <li><?php bugfix(81713); ?> (NULL byte injection in several OpenSSL functions working with certificates).</li>
6658</ul></li>
6659<li>PDO_ODBC:
6660<ul>
6661  <li>Fixed errorInfo() result on successful PDOStatement-&gt;execute().</li>
6662  <li>Fixed handling of single-key connection strings.</li>
6663</ul></li>
6664<li>Zip:
6665<ul>
6666  <li>Fixed bug <?php githubissuel('php/php-src',8781); ?> (ZipArchive::close deletes zip file without updating stat cache).</li>
6667</ul></li>
6668</ul>
6669<!-- }}} --></section>
6670
6671
6672
6673<section class="version" id="8.0.20"><!-- {{{ 8.0.20 -->
6674<h3>Version 8.0.20</h3>
6675<b><?php release_date('09-Jun-2022'); ?></b>
6676<ul><li>CLI:
6677<ul>
6678  <li>Fixed bug <?php githubissuel('php/php-src',8575); ?> (CLI closes standard streams too early).</li>
6679</ul></li>
6680<li>Core:
6681<ul>
6682  <li>Fixed Haiku ZTS builds.</li>
6683</ul></li>
6684<li>Date:
6685<ul>
6686  <li>Fixed bug <?php githubissuel('php/php-src',8471); ?> (Segmentation fault when converting immutable and mutable DateTime instances created using reflection).</li>
6687</ul></li>
6688<li>FPM:
6689<ul>
6690  <li>Fixed ACL build check on MacOS.</li>
6691  <li><?php bugfix(72185); ?>: php-fpm writes empty fcgi record causing nginx 502.</li>
6692</ul></li>
6693<li>Mysqlnd:
6694<ul>
6695  <li><?php bugfix(81719); ?>: mysqlnd/pdo password buffer overflow. (CVE-2022-31626)</li>
6696</ul></li>
6697<li>OPcache:
6698<ul>
6699  <li>Fixed bug <?php githubissuel('php/php-src',8466); ?> (ini_get() is optimized out when the option does not exist).</li>
6700</ul></li>
6701<li>Pcntl:
6702<ul>
6703  <li>Fixed Haiku build.</li>
6704</ul></li>
6705<li>Pgsql:
6706<ul>
6707  <li><?php bugfix(81720); ?>: Uninitialized array in pg_query_params(). (CVE-2022-31625)</li>
6708</ul></li>
6709<li>Soap:
6710<ul>
6711  <li>Fixed bug <?php githubissuel('php/php-src',8578); ?> (Error on wrong parameter on SoapHeader constructor).</li>
6712  <li>Fixed bug <?php githubissuel('php/php-src',8538); ?> (SoapClient may strip parts of nmtokens).</li>
6713</ul></li>
6714<li>SPL:
6715<ul>
6716  <li>Fixed bug <?php githubissuel('php/php-src',8235); ?> (iterator_count() may run indefinitely).</li>
6717</ul></li>
6718<li>Zip:
6719<ul>
6720  <li>Fixed type for index in ZipArchive::replaceFile.</li>
6721</ul></li>
6722</ul>
6723<!-- }}} --></section>
6724
6725
6726
6727<section class="version" id="8.0.19"><!-- {{{ 8.0.19 -->
6728<h3>Version 8.0.19</h3>
6729<b><?php release_date('12-May-2022'); ?></b>
6730<ul><li>Core:
6731<ul>
6732  <li>Fixed bug <?php githubissuel('php/php-src',8289); ?> (Exceptions thrown within a yielded from iterator are not rethrown into the generator).</li>
6733</ul></li>
6734<li>Date:
6735<ul>
6736  <li>Fixed bug <?php githubissuel('php/php-src',7979); ?> (DatePeriod iterator advances when checking if valid).</li>
6737</ul></li>
6738<li>FFI:
6739<ul>
6740  <li>Fixed bug <?php githubissuel('php/php-src',8433); ?> (Assigning function pointers to structs in FFI leaks).</li>
6741</ul></li>
6742<li>FPM:
6743<ul>
6744  <li><?php bugfix(76003); ?> (FPM /status reports wrong number of active processe).</li>
6745  <li><?php bugfix(77023); ?> (FPM cannot shutdown processes).</li>
6746  <li>Fixed comment in kqueue remove callback log message.</li>
6747</ul></li>
6748<li>Iconv:
6749<ul>
6750  <li>Fixed bug <?php githubissuel('php/php-src',8218); ?> (ob_end_clean does not reset Content-Encoding header).</li>
6751</ul></li>
6752<li>Intl:
6753<ul>
6754  <li>Fixed bug <?php githubissuel('php/php-src',8364); ?> (msgfmt_format $values may not support references).</li>
6755</ul></li>
6756<li>MySQLi:
6757<ul>
6758  <li>Fixed bug <?php githubissuel('php/php-src',8267); ?> (MySQLi uses unsupported format specifier on Windows).</li>
6759</ul></li>
6760<li>SPL:
6761<ul>
6762  <li>Fixed bug <?php githubissuel('php/php-src',8366); ?> (ArrayIterator may leak when calling __construct()).</li>
6763  <li>Fixed bug <?php githubissuel('php/php-src',8273); ?> (SplFileObject: key() returns wrong value).</li>
6764</ul></li>
6765<li>Streams:
6766<ul>
6767  <li>Fixed php://temp does not preserve file-position when switched to temporary file.</li>
6768</ul></li>
6769<li>zlib:
6770<ul>
6771  <li>Fixed bug <?php githubissuel('php/php-src',8218); ?> (ob_end_clean does not reset Content-Encoding header).</li>
6772</ul></li>
6773</ul>
6774<!-- }}} --></section>
6775
6776
6777
6778<section class="version" id="8.0.18"><!-- {{{ 8.0.18 -->
6779<h3>Version 8.0.18</h3>
6780<b><?php release_date('14-Apr-2022'); ?></b>
6781<ul><li>Core:
6782<ul>
6783  <li>Fixed freeing of internal attribute arguments.</li>
6784  <li>Fixed bug <?php githubissuel('php/php-src',8070); ?> (memory leak of internal function attribute hash).</li>
6785  <li>Fixed bug <?php githubissuel('php/php-src',8160); ?> (ZTS support on Alpine is broken).</li>
6786</ul></li>
6787<li>Filter:
6788<ul>
6789  <li>Fixed signedness confusion in php_filter_validate_domain().</li>
6790</ul></li>
6791<li>Intl:
6792<ul>
6793  <li>Fixed bug <?php githubissuel('php/php-src',8142); ?> (Compilation error on cygwin).</li>
6794</ul></li>
6795<li>MBString:
6796<ul>
6797  <li>Fixed bug <?php githubissuel('php/php-src',8208); ?> (mb_encode_mimeheader: $indent functionality broken).</li>
6798</ul></li>
6799<li>MySQLi:
6800<ul>
6801  <li>Fixed bug <?php githubissuel('php/php-src',8068); ?> (mysqli_fetch_object creates inaccessible properties).</li>
6802</ul></li>
6803<li>Pcntl:
6804<ul>
6805  <li>Fixed bug <?php githubissuel('php/php-src',8142); ?> (Compilation error on cygwin).</li>
6806</ul></li>
6807<li>PgSQL:
6808<ul>
6809  <li>Fixed result_type related stack corruption on LLP64 architectures.</li>
6810  <li>Fixed bug <?php githubissuel('php/php-src',8253); ?> (pg_insert() fails for references).</li>
6811</ul></li>
6812<li>Sockets:
6813<ul>
6814  <li>Fixed Solaris builds.</li>
6815</ul></li>
6816<li>SPL:
6817<ul>
6818  <li>Fixed bug <?php githubissuel('php/php-src',8121); ?> (SplFileObject - seek and key with csv file inconsistent).</li>
6819</ul></li>
6820<li>Standard:
6821<ul>
6822  <li>Fixed bug <?php githubissuel('php/php-src',8048); ?> (Force macOS to use statfs).</li>
6823</ul></li>
6824</ul>
6825<!-- }}} --></section>
6826
6827
6828
6829<section class="version" id="8.0.17"><!-- {{{ 8.0.17 -->
6830<h3>Version 8.0.17</h3>
6831<b><?php release_date('17-Mar-2022'); ?></b>
6832<ul><li>Core:
6833<ul>
6834  <li>Fixed Haiku ZTS build.</li>
6835</ul></li>
6836<li>GD:
6837<ul>
6838  <li>Fixed libpng warning when loading interlaced images.</li>
6839</ul></li>
6840<li>FPM:
6841<ul>
6842  <li><?php bugfix(76109); ?> (Unsafe access to fpm scoreboard).</li>
6843</ul></li>
6844<li>Iconv:
6845<ul>
6846  <li>Fixed bug <?php githubissuel('php/php-src',7953); ?> (ob_clean() only does not set Content-Encoding).</li>
6847  <li>Fixed bug <?php githubissuel('php/php-src',7980); ?> (Unexpected result for iconv_mime_decode).</li>
6848</ul></li>
6849<li>MySQLnd:
6850<ul>
6851  <li>Fixed bug <?php githubissuel('php/php-src',8058); ?> (NULL pointer dereference in mysqlnd package).</li>
6852</ul></li>
6853<li>OPcache:
6854<ul>
6855  <li>Fixed bug <?php githubissuel('php/php-src',8074); ?> (Wrong type inference of range() result).</li>
6856</ul></li>
6857<li>Reflection:
6858<ul>
6859  <li>Fixed bug <?php githubissuel('php/php-src',8080); ?> (ReflectionClass::getConstants() depends on def. order).</li>
6860</ul></li>
6861<li>Zlib:
6862<ul>
6863  <li>Fixed bug <?php githubissuel('php/php-src',7953); ?> (ob_clean() only does not set Content-Encoding).</li>
6864</ul></li>
6865</ul>
6866<!-- }}} --></section>
6867
6868
6869
6870<section class="version" id="8.0.16"><!-- {{{ 8.0.16 -->
6871<h3>Version 8.0.16</h3>
6872<b><?php release_date('17-Feb-2022'); ?></b>
6873<ul><li>Core:
6874<ul>
6875  <li><?php bugfix(81430); ?> (Attribute instantiation leaves dangling pointer).</li>
6876  <li>Fixed bug <?php githubissuel('php/php-src',7896); ?> (Environment vars may be mangled on Windows).</li>
6877</ul></li>
6878<li>FFI:
6879<ul>
6880  <li>Fixed bug <?php githubissuel('php/php-src',7867); ?> (FFI::cast() from pointer to array is broken).</li>
6881</ul></li>
6882<li>Filter:
6883<ul>
6884  <li>Fix #81708: UAF due to php_filter_float() failing for ints.</li>
6885</ul></li>
6886<li>FPM:
6887<ul>
6888  <li>Fixed memory leak on invalid port.</li>
6889</ul></li>
6890<li>MBString:
6891<ul>
6892  <li>Fixed bug <?php githubissuel('php/php-src',7902); ?> (mb_send_mail may delimit headers with LF only).</li>
6893</ul></li>
6894<li>MySQLnd:
6895<ul>
6896  <li>Fixed bug <?php githubissuel('php/php-src',7972); ?> (MariaDB version prefix 5.5.5- is not stripped).</li>
6897</ul></li>
6898<li>Sockets:
6899<ul>
6900  <li>Fixed ext/sockets build on Haiku.</li>
6901  <li>Fixed bug <?php githubissuel('php/php-src',7978); ?> (sockets extension compilation errors).</li>
6902</ul></li>
6903<li>Standard:
6904<ul>
6905  <li>Fixed bug <?php githubissuel('php/php-src',7875); ?> (mails are sent even if failure to log throws exception).</li>
6906</ul></li>
6907</ul>
6908<!-- }}} --></section>
6909
6910
6911
6912<section class="version" id="8.0.15"><!-- {{{ 8.0.15 -->
6913<h3>Version 8.0.15</h3>
6914<b><?php release_date('20-Jan-2022'); ?></b>
6915<ul><li>Core:
6916<ul>
6917  <li><?php bugfix(81656); ?> (GCC-11 silently ignores -R).</li>
6918  <li><?php bugfix(81585); ?> (cached_chunks are not counted to real_size on shutdown).</li>
6919</ul></li>
6920<li>Filter:
6921<ul>
6922  <li>Fixed FILTER_FLAG_NO_RES_RANGE flag.</li>
6923</ul></li>
6924<li>Hash:
6925<ul>
6926  <li>Fixed bug <?php githubissuel('php/php-src',7759); ?> (Incorrect return types for hash() and hash_hmac()).</li>
6927  <li>Fixed bug <?php githubissuel('php/php-src',7826); ?> (Inconsistent argument name in hash_hmac_file and hash_file).</li>
6928</ul></li>
6929<li>MySQLnd:
6930<ul>
6931  <li>Fixed bug where large bigints may be truncated.</li>
6932</ul></li>
6933<li>OCI8:
6934<ul>
6935  <li>Fixed bug <?php githubissuel('php/php-src',7765); ?> (php_oci_cleanup_global_handles segfaults at second call).</li>
6936</ul></li>
6937<li>OPcache:
6938<ul>
6939  <li><?php bugfix(81679); ?> (Tracing JIT crashes on reattaching).</li>
6940</ul></li>
6941<li>PDO_PGSQL:
6942<ul>
6943  <li>Fixed error message allocation of PDO PgSQL.</li>
6944</ul></li>
6945<li>Sockets:
6946<ul>
6947  <li>Avoid void* arithmetic in sockets/multicast.c on NetBSD.</li>
6948</ul></li>
6949<li>Spl:
6950<ul>
6951  <li><?php bugfix(75917); ?> (SplFileObject::seek broken with CSV flags).</li>
6952</ul></li>
6953</ul>
6954<!-- }}} --></section>
6955
6956
6957
6958<section class="version" id="8.0.14"><!-- {{{ 8.0.14 -->
6959<h3>Version 8.0.14</h3>
6960<b><?php release_date('16-Dec-2021'); ?></b>
6961<ul><li>Core:
6962<ul>
6963  <li><?php bugfix(81582); ?> (Stringable not implicitly declared if __toString() came from a trait).</li>
6964  <li><?php bugfix(81591); ?> (Fatal Error not properly logged in particular cases).</li>
6965  <li><?php bugfix(81626); ?> (Error on use static:: in __сallStatic() wrapped to Closure::fromCallable()).</li>
6966  <li><?php bugfix(81631); ?> (::class with dynamic class name may yield wrong line number).</li>
6967</ul></li>
6968<li>FPM:
6969<ul>
6970  <li><?php bugfix(81513); ?> (Future possibility for heap overflow in FPM zlog).</li>
6971</ul></li>
6972<li>GD:
6973<ul>
6974  <li><?php bugfix(71316); ?> (libpng warning from imagecreatefromstring).</li>
6975</ul></li>
6976<li>IMAP:
6977<ul>
6978  <li><?php bugfix(81649); ?> (imap_(un)delete accept sequences, not single numbers).</li>
6979</ul></li>
6980<li>OpenSSL:
6981<ul>
6982  <li><?php bugfix(75725); ?> (./configure: detecting RAND_egd).</li>
6983</ul></li>
6984<li>PCRE:
6985<ul>
6986  <li><?php bugfix(74604); ?> (Out of bounds in php_pcre_replace_impl).</li>
6987</ul></li>
6988<li>SPL:
6989<ul>
6990  <li><?php bugfix(81587); ?> (MultipleIterator Segmentation fault w/ SimpleXMLElement attached).</li>
6991</ul></li>
6992<li>Standard:
6993<ul>
6994  <li><?php bugfix(81618); ?> (dns_get_record fails on FreeBSD for missing type).</li>
6995  <li><?php bugfix(81659); ?> (stream_get_contents() may unnecessarily overallocate).</li>
6996</ul></li>
6997</ul>
6998<!-- }}} --></section>
6999
7000
7001
7002<section class="version" id="8.0.13"><!-- {{{ 8.0.13 -->
7003<h3>Version 8.0.13</h3>
7004<b><?php release_date('18-Nov-2021'); ?></b>
7005<ul><li>Core:
7006<ul>
7007  <li><?php bugfix(81518); ?> (Header injection via default_mimetype / default_charset).</li>
7008</ul></li>
7009<li>Date:
7010<ul>
7011  <li><?php bugfix(81500); ?> (Interval serialization regression since 7.3.14 / 7.4.2).</li>
7012</ul></li>
7013<li>DBA:
7014<ul>
7015  <li><?php bugfix(81588); ?> (TokyoCabinet driver leaks memory).</li>
7016</ul></li>
7017<li>MBString:
7018<ul>
7019  <li><?php bugfix(76167); ?> (mbstring may use pointer from some previous request).</li>
7020</ul></li>
7021<li>Opcache:
7022<ul>
7023  <li><?php bugfix(81512); ?> (Unexpected behavior with arrays and JIT).</li>
7024</ul></li>
7025<li>PCRE:
7026<ul>
7027  <li><?php bugfix(81424); ?> (PCRE2 10.35 JIT performance regression).</li>
7028</ul></li>
7029<li>XML:
7030<ul>
7031  <li><?php bugfix(79971); ?> (special character is breaking the path in xml function). (CVE-2021-21707)</li>
7032</ul></li>
7033<li>XMLReader:
7034<ul>
7035  <li><?php bugfix(81521); ?> (XMLReader::getParserProperty may throw with a valid property).</li>
7036</ul></li>
7037</ul>
7038<!-- }}} --></section>
7039
7040
7041
7042<section class="version" id="8.0.12"><!-- {{{ 8.0.12 -->
7043<h3>Version 8.0.12</h3>
7044<b><?php release_date('21-Oct-2021'); ?></b>
7045<ul><li>CLI:
7046<ul>
7047  <li><?php bugfix(81496); ?> (Server logs incorrect request method).</li>
7048</ul></li>
7049<li>Core:
7050<ul>
7051  <li><?php bugfix(81435); ?> (Observer current_observed_frame may point to an old (overwritten) frame).</li>
7052  <li><?php bugfix(81380); ?> (Observer may not be initialized properly).</li>
7053</ul></li>
7054<li>DOM:
7055<ul>
7056  <li><?php bugfix(81433); ?> (DOMElement::setIdAttribute() called twice may remove ID).</li>
7057</ul></li>
7058<li>FFI:
7059<ul>
7060  <li><?php bugfix(79576); ?> ("TYPE *" shows unhelpful message when type is not defined).</li>
7061</ul></li>
7062<li>FPM:
7063<ul>
7064  <li><?php bugfix(81026); ?> (PHP-FPM oob R/W in root process leading to privilege escalation) (CVE-2021-21703).</li>
7065</ul></li>
7066<li>Fileinfo:
7067<ul>
7068  <li><?php bugfix(78987); ?> (High memory usage during encoding detection).</li>
7069</ul></li>
7070<li>Filter:
7071<ul>
7072  <li><?php bugfix(61700); ?> (FILTER_FLAG_IPV6/FILTER_FLAG_NO_PRIV|RES_RANGE failing).</li>
7073</ul></li>
7074<li>Opcache:
7075<ul>
7076  <li><?php bugfix(81472); ?> (Cannot support large linux major/minor device number when read /proc/self/maps).</li>
7077</ul></li>
7078<li>Reflection:
7079<ul>
7080  <li>ReflectionAttribute is no longer final.</li>
7081</ul></li>
7082<li>SPL:
7083<ul>
7084  <li><?php bugfix(80663); ?> (Recursive SplFixedArray::setSize() may cause double-free).</li>
7085  <li><?php bugfix(81477); ?> (LimitIterator + SplFileObject regression in 8.0.1).</li>
7086</ul></li>
7087<li>Standard:
7088<ul>
7089  <li><?php bugfix(69751); ?> (Change Error message of sprintf/printf for missing/typo position specifier).</li>
7090</ul></li>
7091<li>Streams:
7092<ul>
7093  <li><?php bugfix(81475); ?> (stream_isatty emits warning with attached stream wrapper).</li>
7094</ul></li>
7095<li>XML:
7096<ul>
7097  <li><?php bugfix(70962); ?> (XML_OPTION_SKIP_WHITE strips embedded whitespace).</li>
7098</ul></li>
7099<li>Zip:
7100<ul>
7101  <li><?php bugfix(81490); ?> (ZipArchive::extractTo() may leak memory).</li>
7102  <li><?php bugfix(77978); ?> (Dirname ending in colon unzips to wrong dir).</li>
7103</ul></li>
7104</ul>
7105<!-- }}} --></section>
7106
7107
7108
7109<section class="version" id="8.0.11"><!-- {{{ 8.0.11 -->
7110<h3>Version 8.0.11</h3>
7111<b><?php release_date('23-Sep-2021'); ?></b>
7112<ul><li>Core:
7113<ul>
7114  <li><?php bugfix(81302); ?> (Stream position after stream filter removed).</li>
7115  <li><?php bugfix(81346); ?> (Non-seekable streams don't update position after write).</li>
7116  <li><?php bugfix(73122); ?> (Integer Overflow when concatenating strings).</li>
7117</ul></li>
7118<li>GD:
7119<ul>
7120  <li><?php bugfix(53580); ?> (During resize gdImageCopyResampled cause colors change).</li>
7121</ul></li>
7122<li>Opcache:
7123<ul>
7124  <li><?php bugfix(81353); ?> (segfault with preloading and statically bound closure).</li>
7125</ul></li>
7126<li>Shmop:
7127<ul>
7128  <li><?php bugfix(81407); ?> (shmop_open won't attach and causes php to crash).</li>
7129</ul></li>
7130<li>Standard:
7131<ul>
7132  <li><?php bugfix(71542); ?> (disk_total_space does not work with relative paths).</li>
7133  <li><?php bugfix(81400); ?> (Unterminated string in dns_get_record() results).</li>
7134</ul></li>
7135<li>SysVMsg:
7136<ul>
7137  <li><?php bugfix(78819); ?> (Heap Overflow in msg_send).</li>
7138</ul></li>
7139<li>XML:
7140<ul>
7141  <li><?php bugfix(81351); ?> (xml_parse may fail, but has no error code).</li>
7142</ul></li>
7143<li>Zip:
7144<ul>
7145  <li><?php bugfix(80833); ?> (ZipArchive::getStream doesn't use setPassword).</li>
7146  <li><?php bugfix(81420); ?> (ZipArchive::extractTo extracts outside of destination).</li>
7147</ul></li>
7148</ul>
7149<!-- }}} --></section>
7150
7151
7152
7153<section class="version" id="8.0.10"><!-- {{{ 8.0.10 -->
7154<h3>Version 8.0.10</h3>
7155<b><?php release_date('26-Aug-2021'); ?></b>
7156<ul><li>Core:
7157<ul>
7158  <li><?php bugfix(72595); ?> (php_output_handler_append illegal write access).</li>
7159  <li><?php bugfix(66719); ?> (Weird behaviour when using get_called_class() with call_user_func()).</li>
7160  <li><?php bugfix(81305); ?> (Built-in Webserver Drops Requests With "Upgrade" Header).</li>
7161</ul></li>
7162<li>BCMath:
7163<ul>
7164  <li><?php bugfix(78238); ?> (BCMath returns "-0").</li>
7165</ul></li>
7166<li>CGI:
7167<ul>
7168  <li><?php bugfix(80849); ?> (HTTP Status header truncation).</li>
7169</ul></li>
7170<li>Date:
7171<ul>
7172  <li><?php bugfix(64975); ?> (Error parsing when AM/PM not at the end).</li>
7173  <li><?php bugfix(78984); ?> (DateTimeZone accepting invalid UTC timezones).</li>
7174  <li><?php bugfix(79580); ?> (date_create_from_format misses leap year).</li>
7175  <li><?php bugfix(80409); ?> (DateTime::modify() loses time with 'weekday' parameter).</li>
7176</ul></li>
7177<li>GD:
7178<ul>
7179  <li><?php bugfix(51498); ?> (imagefilledellipse does not work for large circles).</li>
7180</ul></li>
7181<li>MySQLi:
7182<ul>
7183  <li><?php bugfix(74544); ?> (Integer overflow in mysqli_real_escape_string()).</li>
7184</ul></li>
7185<li>Opcache:
7186<ul>
7187  <li><?php bugfix(81225); ?> (Wrong result with pow operator with JIT enabled).</li>
7188  <li><?php bugfix(81249); ?> (Intermittent property assignment failure with JIT enabled).</li>
7189  <li><?php bugfix(81206); ?> (Multiple PHP processes crash with JIT enabled).</li>
7190  <li><?php bugfix(81272); ?> (Segfault in var[] after array_slice with JIT).</li>
7191  <li><?php bugfix(81255); ?> (Memory leak in PHPUnit with functional JIT).</li>
7192  <li><?php bugfix(80959); ?> (Infinite loop in building cfg during JIT compilation) (Nikita, Dmitry)</li>
7193  <li><?php bugfix(81226); ?> (Integer overflow behavior is different with JIT enabled).</li>
7194</ul></li>
7195<li>OpenSSL:
7196<ul>
7197  <li><?php bugfix(81327); ?> (Error build openssl extension on php 7.4.22).</li>
7198</ul></li>
7199<li>PDO_ODBC:
7200<ul>
7201  <li><?php bugfix(81252); ?> (PDO_ODBC doesn't account for SQL_NO_TOTAL).</li>
7202</ul></li>
7203<li>Phar:
7204<ul>
7205  <li><?php bugfix(81211); ?>: Symlinks are followed when creating PHAR archive</li>
7206</ul></li>
7207<li>Shmop:
7208<ul>
7209  <li><?php bugfix(81283); ?> (shmop can't read beyond 2147483647 bytes).</li>
7210</ul></li>
7211<li>SimpleXML:
7212<ul>
7213  <li><?php bugfix(81325); ?> (Segfault in zif_simplexml_import_dom).</li>
7214</ul></li>
7215<li>Standard:
7216<ul>
7217  <li><?php bugfix(72146); ?> (Integer overflow on substr_replace).</li>
7218  <li><?php bugfix(81265); ?> (getimagesize returns 0 for 256px ICO images).</li>
7219  <li><?php bugfix(74960); ?> (Heap buffer overflow via str_repeat).</li>
7220</ul></li>
7221<li>Streams:
7222<ul>
7223  <li><?php bugfix(81294); ?> (Segfault when removing a filter).</li>
7224</ul></li>
7225</ul>
7226<!-- }}} --></section>
7227
7228
7229
7230<section class="version" id="8.0.9"><!-- {{{ 8.0.9 -->
7231<h3>Version 8.0.9</h3>
7232<b><?php release_date('29-Jul-2021'); ?></b>
7233<ul><li>Core:
7234<ul>
7235  <li><?php bugfix(81145); ?> (copy() and stream_copy_to_stream() fail for +4GB files).</li>
7236  <li><?php bugfix(81163); ?> (incorrect handling of indirect vars in __sleep).</li>
7237  <li><?php bugfix(81159); ?> (Object to int warning when using an object as a string offset).</li>
7238  <li><?php bugfix(80728); ?> (PHP built-in web server resets timeout when it can kill the process).</li>
7239  <li><?php bugfix(73630); ?> (Built-in Webserver - overwrite $_SERVER['request_uri']).</li>
7240  <li><?php bugfix(80173); ?> (Using return value of zend_assign_to_variable() is not safe).</li>
7241  <li><?php bugfix(73226); ?> (--r[fcez] always return zero exit code).</li>
7242</ul></li>
7243<li>Intl:
7244<ul>
7245  <li><?php bugfix(72809); ?> (Locale::lookup() wrong result with canonicalize option).</li>
7246  <li><?php bugfix(68471); ?> (IntlDateFormatter fails for "GMT+00:00" timezone).</li>
7247  <li><?php bugfix(74264); ?> (grapheme_strrpos() broken for negative offsets).</li>
7248</ul></li>
7249<li>OpenSSL:
7250<ul>
7251  <li><?php bugfix(52093); ?> (openssl_csr_sign truncates $serial).</li>
7252</ul></li>
7253<li>PCRE:
7254<ul>
7255  <li><?php bugfix(81101); ?> (PCRE2 10.37 shows unexpected result).</li>
7256  <li><?php bugfix(81243); ?> (Too much memory is allocated for preg_replace()).</li>
7257</ul></li>
7258<li>Reflection:
7259<ul>
7260  <li><?php bugfix(81208); ?> (Segmentation fault while create newInstance from attribute).</li>
7261</ul></li>
7262<li>Standard:
7263<ul>
7264  <li><?php bugfix(81223); ?> (flock() only locks first byte of file).</li>
7265</ul></li>
7266</ul>
7267<!-- }}} --></section>
7268
7269
7270
7271<section class="version" id="8.0.8"><!-- {{{ 8.0.8 -->
7272<h3>Version 8.0.8</h3>
7273<b><?php release_date('01-Jul-2021'); ?></b>
7274<ul><li>Core:
7275<ul>
7276  <li><?php bugfix(81076); ?> (incorrect debug info on Closures with implicit binds).</li>
7277  <li><?php bugfix(81068); ?> (Double free in realpath_cache_clean()).</li>
7278  <li><?php bugfix(76359); ?> (open_basedir bypass through adding "..").</li>
7279  <li><?php bugfix(81090); ?> (Typed property performance degradation with .= operator).</li>
7280  <li><?php bugfix(81070); ?> (Integer underflow in memory limit comparison).</li>
7281  <li><?php bugfix(81122); ?> (SSRF bypass in FILTER_VALIDATE_URL). (CVE-2021-21705)</li>
7282</ul></li>
7283<li>Bzip2:
7284<ul>
7285  <li><?php bugfix(81092); ?> (fflush before stream_filter_remove corrupts stream).</li>
7286</ul></li>
7287<li>Fileinfo:
7288<ul>
7289  <li><?php bugfix(80197); ?> (implicit declaration of function 'magic_stream' is invalid).</li>
7290</ul></li>
7291<li>GMP:
7292<ul>
7293  <li><?php bugfix(81119); ?> (GMP operators throw errors with wrong parameter names).</li>
7294</ul></li>
7295<li>OCI8:
7296<ul>
7297  <li><?php bugfix(81088); ?> (error in regression test for oci_fetch_object() and oci_fetch_array()).</li>
7298</ul></li>
7299<li>Opcache:
7300<ul>
7301  <li><?php bugfix(81051); ?> (Broken property type handling after incrementing reference).</li>
7302  <li><?php bugfix(80968); ?> (JIT segfault with return from required file).</li>
7303</ul></li>
7304<li>OpenSSL:
7305<ul>
7306  <li><?php bugfix(76694); ?> (native Windows cert verification uses CN as server name).</li>
7307</ul></li>
7308<li>MySQLnd:
7309<ul>
7310  <li><?php bugfix(80761); ?> (PDO uses too much memory).</li>
7311</ul></li>
7312<li>PDO_Firebird:
7313<ul>
7314  <li><?php bugfix(76448); ?> (Stack buffer overflow in firebird_info_cb). (CVE-2021-21704)</li>
7315  <li><?php bugfix(76449); ?> (SIGSEGV in firebird_handle_doer). (CVE-2021-21704)</li>
7316  <li><?php bugfix(76450); ?> (SIGSEGV in firebird_stmt_execute). (CVE-2021-21704)</li>
7317  <li><?php bugfix(76452); ?> (Crash while parsing blob data in firebird_fetch_blob). (CVE-2021-21704)</li>
7318</ul></li>
7319<li>readline:
7320<ul>
7321  <li><?php bugfix(72998); ?> (invalid read in readline completion).</li>
7322</ul></li>
7323<li>Standard:
7324<ul>
7325  <li><?php bugfix(81048); ?> (phpinfo(INFO_VARIABLES) "Array to string conversion").</li>
7326  <li><?php bugfix(77627); ?> (method_exists on Closure::__invoke inconsistency).</li>
7327</ul></li>
7328<li>Windows:
7329<ul>
7330  <li><?php bugfix(81120); ?> (PGO data for main PHP DLL are not used).</li>
7331</ul></li>
7332</ul>
7333<!-- }}} --></section>
7334
7335
7336
7337<section class="version" id="8.0.7"><!-- {{{ 8.0.7 -->
7338<h3>Version 8.0.7</h3>
7339<b><?php release_date('03-Jun-2021'); ?></b>
7340<ul><li>Core:
7341<ul>
7342  <li><?php bugfix(80960); ?> (opendir() warning wrong info when failed on Windows).</li>
7343  <li><?php bugfix(67792); ?> (HTTP Authorization schemes are treated as case-sensitive).</li>
7344  <li><?php bugfix(80972); ?> (Memory exhaustion on invalid string offset).</li>
7345</ul></li>
7346<li>FPM:
7347<ul>
7348  <li><?php bugfix(65800); ?> (Events port mechanism).</li>
7349</ul></li>
7350<li>FTP:
7351<ul>
7352  <li><?php bugfix(80901); ?> (Info leak in ftp extension).</li>
7353  <li><?php bugfix(79100); ?> (Wrong FTP error messages).</li>
7354</ul></li>
7355<li>GD:
7356<ul>
7357  <li><?php bugfix(81032); ?> (GD install is affected by external libgd installation).</li>
7358</ul></li>
7359<li>Intl:
7360<ul>
7361  <li><?php bugfix(81019); ?> (Unable to clone NumberFormatter after failed parse()).</li>
7362</ul></li>
7363<li>MBString:
7364<ul>
7365  <li><?php bugfix(81011); ?> (mb_convert_encoding removes references from arrays).</li>
7366</ul></li>
7367<li>ODBC:
7368<ul>
7369  <li><?php bugfix(80460); ?> (ODBC doesn't account for SQL_NO_TOTAL indicator).</li>
7370</ul></li>
7371<li>Opcache:
7372<ul>
7373  <li><?php bugfix(81007); ?> (JIT "not supported" on 32-bit x86 -- build problem?).</li>
7374  <li><?php bugfix(81015); ?> (Opcache optimization assumes wrong part of ternary operator in if-condition).</li>
7375  <li><?php bugfix(81046); ?> (Literal compaction merges non-equal related literals).</li>
7376</ul></li>
7377<li>PDO_MySQL:
7378<ul>
7379  <li><?php bugfix(81037); ?> (PDO discards error message text from prepared statement).</li>
7380</ul></li>
7381<li>PDO_ODBC:
7382<ul>
7383  <li><?php bugfix(44643); ?> (bound parameters ignore explicit type definitions).</li>
7384</ul></li>
7385<li>pgsql:
7386<ul>
7387  <li>Fixed php_pgsql_fd_cast() wrt. php_stream_can_cast().</li>
7388</ul></li>
7389<li>SPL:
7390<ul>
7391  <li><?php bugfix(80933); ?> (SplFileObject::DROP_NEW_LINE is broken for NUL and CR).</li>
7392</ul></li>
7393<li>XMLReader:
7394<ul>
7395  <li><?php bugfix(73246); ?> (XMLReader: encoding length not checked).</li>
7396</ul></li>
7397<li>Zip:
7398<ul>
7399  <li><?php bugfix(80863); ?> (ZipArchive::extractTo() ignores references).</li>
7400</ul></li>
7401</ul>
7402<!-- }}} --></section>
7403
7404
7405
7406<section class="version" id="8.0.6"><!-- {{{ 8.0.6 -->
7407<h3>Version 8.0.6</h3>
7408<b><?php release_date('06-May-2021'); ?></b>
7409<ul><li>PDO_pgsql:
7410<ul>
7411  <li>Revert "<?php bugfix(80892); ?> (PDO::PARAM_INT is treated the same as PDO::PARAM_STR)"</li>
7412</ul></li>
7413</ul>
7414<!-- }}} --></section>
7415
7416
7417
7418<section class="version" id="8.0.5"><!-- {{{ 8.0.5 -->
7419<h3>Version 8.0.5</h3>
7420<b><?php release_date('29-Apr-2021'); ?></b>
7421<ul><li>Core:
7422<ul>
7423  <li><?php bugfix(75776); ?> (Flushing streams with compression filter is broken).</li>
7424  <li><?php bugfix(80811); ?> (Function exec without $output but with $restult_code parameter crashes).</li>
7425  <li><?php bugfix(80814); ?> (threaded mod_php won't load on FreeBSD: No space available for static Thread Local Storage).</li>
7426  <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>
7427</ul></li>
7428<li>Dba:
7429<ul>
7430  <li><?php bugfix(80817); ?> (dba_popen() may cause segfault during RSHUTDOWN).</li>
7431</ul></li>
7432<li>DOM:
7433<ul>
7434  <li><?php bugfix(66783); ?> (UAF when appending DOMDocument to element).</li>
7435</ul></li>
7436<li>FFI:
7437<ul>
7438  <li><?php bugfix(80847); ?> (CData structs with fields of type struct can't be passed as C function argument).</li>
7439</ul></li>
7440<li>FPM:
7441<ul>
7442  <li><?php bugfix(80024); ?> (Duplication of info about inherited socket after pool removing).</li>
7443</ul></li>
7444<li>FTP:
7445<ul>
7446  <li><?php bugfix(80880); ?> (SSL_read on shutdown, ftp/proc_open).</li>
7447</ul></li>
7448<li>IMAP:
7449<ul>
7450  <li><?php bugfix(80800); ?> (imap_open() fails when the flags parameter includes CL_EXPUNGE).</li>
7451  <li><?php bugfix(80710); ?> (imap_mail_compose() header injection).</li>
7452</ul></li>
7453<li>Intl:
7454<ul>
7455  <li><?php bugfix(80763); ?> (msgfmt_format() does not accept DateTime references).</li>
7456</ul></li>
7457<li>LibXML:
7458<ul>
7459  <li><?php bugfix(73533); ?> (Invalid memory access in php_libxml_xmlCheckUTF8).</li>
7460  <li><?php bugfix(51903); ?> (simplexml_load_file() doesn't use HTTP headers).</li>
7461</ul></li>
7462<li>MySQLnd:
7463<ul>
7464  <li><?php bugfix(80837); ?> (Calling stmt_store_result after fetch doesn't throw an error).</li>
7465</ul></li>
7466<li>Opcache:
7467<ul>
7468  <li><?php bugfix(80839); ?> (PHP problem with JIT).</li>
7469  <li><?php bugfix(80861); ?> (erronous array key overflow in 2D array with JIT).</li>
7470  <li><?php bugfix(80786); ?> (PHP crash using JIT).</li>
7471  <li><?php bugfix(80782); ?> (DASM_S_RANGE_VREG on PHP_INT_MIN-1).</li>
7472</ul></li>
7473<li>Pcntl:
7474<ul>
7475  <li><?php bugfix(79812); ?> (Potential integer overflow in pcntl_exec()).</li>
7476</ul></li>
7477<li>PCRE:
7478<ul>
7479  <li><?php bugfix(80866); ?> (preg_split ignores limit flag when pattern with \K has 0-width fullstring match).</li>
7480</ul></li>
7481<li>PDO_ODBC:
7482<ul>
7483  <li><?php bugfix(80783); ?> (PDO ODBC truncates BLOB records at every 256th byte).</li>
7484</ul></li>
7485<li>PDO_pgsql:
7486<ul>
7487  <li><?php bugfix(80892); ?> (PDO::PARAM_INT is treated the same as PDO::PARAM_STR).</li>
7488</ul></li>
7489<li>Session:
7490<ul>
7491  <li><?php bugfix(80889); ?> (Cannot set save handler when save_handler is invalid).</li>
7492  <li><?php bugfix(80774); ?> (session_name() problem with backslash).</li>
7493</ul></li>
7494<li>SOAP:
7495<ul>
7496  <li><?php bugfix(69668); ?> (SOAP special XML characters in namespace URIs not encoded).</li>
7497</ul></li>
7498<li>Standard:
7499<ul>
7500  <li><?php bugfix(80915); ?> (Taking a reference to $_SERVER hides its values from phpinfo()).</li>
7501  <li><?php bugfix(80914); ?> ('getdir' accidentally defined as an alias of 'dir').</li>
7502  <li><?php bugfix(80771); ?> (phpinfo(INFO_CREDITS) displays nothing in CLI).</li>
7503  <li><?php bugfix(78719); ?> (http wrapper silently ignores long Location headers).</li>
7504  <li><?php bugfix(80838); ?> (HTTP wrapper waits for HTTP 1 response after HTTP 101).</li>
7505</ul></li>
7506<li>Zip:
7507<ul>
7508  <li><?php bugfix(80825); ?> (ZipArchive::isCompressionMethodSupported does not exist).</li>
7509</ul></li>
7510</ul>
7511<!-- }}} --></section>
7512
7513
7514
7515<section class="version" id="8.0.3"><!-- {{{ 8.0.3 -->
7516<h3>Version 8.0.3</h3>
7517<b><?php release_date('04-Mar-2021'); ?></b>
7518<ul><li>Core:
7519<ul>
7520  <li><?php bugfix(80706); ?> (mail(): Headers after Bcc headers may be ignored).</li>
7521</ul></li>
7522<li>DOM:
7523<ul>
7524  <li><?php bugfix(80600); ?> (DOMChildNode::remove() doesn't work on CharacterData nodes).</li>
7525</ul></li>
7526<li>Gettext:
7527<ul>
7528  <li><?php bugfix(53251); ?> (bindtextdomain with null dir doesn't return old value).</li>
7529</ul></li>
7530<li>MySQLnd:
7531<ul>
7532  <li><?php bugfix(78680); ?> (mysqlnd's mysql_clear_password does not transmit null-terminated password).</li>
7533  <li><?php bugfix(80713); ?> (SegFault when disabling ATTR_EMULATE_PREPARES and MySQL 8.0).</li>
7534</ul></li>
7535<li>MySQLi:
7536<ul>
7537  <li><?php bugfix(74779); ?> (x() and y() truncating floats to integers).</li>
7538</ul></li>
7539<li>Opcache:
7540<ul>
7541  <li><?php bugfix(80634); ?> (write_property handler of internal classes is skipped on preloaded JITted code).</li>
7542  <li><?php bugfix(80682); ?> (opcache doesn't honour pcre.jit option).</li>
7543  <li><?php bugfix(80742); ?> (Opcache JIT makes some boolean logic unexpectedly be true).</li>
7544  <li><?php bugfix(80745); ?> (JIT produces Assert failure and UNKNOWN:0 var_dumps in code involving bitshifts).</li>
7545</ul></li>
7546<li>OpenSSL:
7547<ul>
7548  <li><?php bugfix(80747); ?> (Providing RSA key size &lt; 512 generates key that crash PHP).</li>
7549</ul></li>
7550<li>Phar:
7551<ul>
7552  <li><?php bugfix(75850); ?> (Unclear error message wrt. __halt_compiler() w/o semicolon)</li>
7553  <li><?php bugfix(70091); ?> (Phar does not mark UTF-8 filenames in ZIP archives).</li>
7554  <li><?php bugfix(53467); ?> (Phar cannot compress large archives).</li>
7555</ul></li>
7556<li>Socket:
7557<ul>
7558  <li><?php bugfix(80723); ?> (Different sockets compare as equal (regression in 8.0)).</li>
7559</ul></li>
7560<li>SPL:
7561<ul>
7562  <li><?php bugfix(80719); ?> (Iterating after failed ArrayObject::setIteratorClass() causes Segmentation fault).</li>
7563</ul></li>
7564<li>Standard:
7565<ul>
7566  <li><?php bugfix(80654); ?> (file_get_contents() maxlen fails above (2**31)-1 bytes).</li>
7567  <li><?php bugfix(80718); ?> (ext/standard/dl.c fallback code path with syntax error).</li>
7568</ul></li>
7569</ul>
7570<!-- }}} --></section>
7571
7572
7573
7574<section class="version" id="8.0.2"><!-- {{{ 8.0.2 -->
7575<h3>Version 8.0.2</h3>
7576<b><?php release_date('04-Feb-2021'); ?></b>
7577<ul><li>Core:
7578<ul>
7579  <li><?php bugfix(80523); ?> (bogus parse error on &gt;4GB source code).</li>
7580  <li><?php bugfix(80384); ?> (filter buffers entire read until file closed).</li>
7581  <li><?php bugfix(80596); ?> (Invalid union type TypeError in anonymous classes).</li>
7582  <li><?php bugfix(80617); ?> (GCC throws warning about type narrowing in ZEND_TYPE_INIT_CODE).</li>
7583</ul></li>
7584<li>BCMath:
7585<ul>
7586  <li><?php bugfix(80545); ?> (bcadd('a', 'a') doesn't throw an exception).</li>
7587</ul></li>
7588<li>Curl:
7589<ul>
7590  <li><?php bugfix(80595); ?> (Resetting POSTFIELDS to empty array breaks request).</li>
7591</ul></li>
7592<li>Date:
7593<ul>
7594  <li><?php bugfix(80376); ?> (last day of the month causes runway cpu usage).</li>
7595</ul></li>
7596<li>DOM:
7597<ul>
7598  <li><?php bugfix(80537); ?> (Wrong parameter type in DOMElement::removeAttributeNode stub).</li>
7599</ul></li>
7600<li>Filter:
7601<ul>
7602  <li><?php bugfix(80584); ?> (0x and 0X are considered valid hex numbers by filter_var()).</li>
7603</ul></li>
7604<li>GMP:
7605<ul>
7606  <li><?php bugfix(80560); ?> (Strings containing only a base prefix return 0 object).</li>
7607</ul></li>
7608<li>Intl:
7609<ul>
7610  <li><?php bugfix(80644); ?> (Missing resource causes subsequent get() calls to fail).</li>
7611</ul></li>
7612<li>MySQLi:
7613<ul>
7614  <li><?php bugfix(67983); ?> (mysqlnd with MYSQLI_OPT_INT_AND_FLOAT_NATIVE fails to interpret bit columns).</li>
7615  <li><?php bugfix(64638); ?> (Fetching resultsets from stored procedure with cursor fails).</li>
7616  <li><?php bugfix(72862); ?> (segfault using prepared statements on stored procedures that use a cursor).</li>
7617  <li><?php bugfix(77935); ?> (Crash in mysqlnd_fetch_stmt_row_cursor when calling an SP with a cursor).</li>
7618</ul></li>
7619<li>ODBC:
7620<ul>
7621  <li><?php bugfix(80592); ?> (all floats are the same in ODBC parameters).</li>
7622</ul></li>
7623<li>Opcache:
7624<ul>
7625  <li><?php bugfix(80422); ?> (php_opcache.dll crashes when using Apache 2.4 with JIT).</li>
7626</ul></li>
7627<li>PDO_Firebird:
7628<ul>
7629  <li><?php bugfix(80521); ?> (Parameters with underscores no longer recognized).</li>
7630</ul></li>
7631<li>Phar:
7632<ul>
7633  <li><?php bugfix(76929); ?> (zip-based phar does not respect phar.require_hash).</li>
7634  <li><?php bugfix(77565); ?> (Incorrect locator detection in ZIP-based phars).</li>
7635  <li><?php bugfix(69279); ?> (Compressed ZIP Phar extractTo() creates garbage files).</li>
7636</ul></li>
7637<li>Phpdbg:
7638<ul>
7639  <li>Reverted fix for bug <?php bugl(76813); ?> (Access violation near NULL on source operand).</li>
7640</ul></li>
7641<li>SOAP:
7642<ul>
7643  <li><?php bugfix(80672); ?> (Null Dereference in SoapClient). (CVE-2021-21702)</li>
7644</ul></li>
7645</ul>
7646<!-- }}} --></section>
7647
7648
7649
7650<section class="version" id="8.0.1"><!-- {{{ 8.0.1 -->
7651<h3>Version 8.0.1</h3>
7652<b><?php release_date('07-Jan-2021'); ?></b>
7653<ul><li>Core:
7654<ul>
7655  <li><?php bugfix(80345); ?> (PHPIZE configuration has outdated PHP_RELEASE_VERSION).</li>
7656  <li><?php bugfix(72964); ?> (White space not unfolded for CC/Bcc headers).</li>
7657  <li><?php bugfix(80391); ?> (Iterable not covariant to mixed).</li>
7658  <li><?php bugfix(80393); ?> (Build of PHP extension fails due to configuration gap with libtool).</li>
7659  <li><?php bugfix(77069); ?> (stream filter loses final block of data).</li>
7660</ul></li>
7661<li>Fileinfo:
7662<ul>
7663  <li><?php bugfix(77961); ?> (finfo_open crafted magic parsing SIGABRT).</li>
7664</ul></li>
7665<li>FPM:
7666<ul>
7667  <li><?php bugfix(69625); ?> (FPM returns 200 status on request without SCRIPT_FILENAME env).</li>
7668</ul></li>
7669<li>IMAP:
7670<ul>
7671  <li><?php bugfix(80438); ?> (imap_msgno() incorrectly warns and return false on valid UIDs in PHP 8).</li>
7672  <li>Fix a regression with valid UIDs in imap_savebody().</li>
7673  <li>Make warnings for invalid message numbers/UIDs between functions consistent.</li>
7674</ul></li>
7675<li>Intl:
7676<ul>
7677  <li><?php bugfix(80425); ?> (MessageFormatAdapter::getArgTypeList redefined).</li>
7678</ul></li>
7679<li>Opcache:
7680<ul>
7681  <li><?php bugfix(80404); ?> (Incorrect range inference result when division results in float).</li>
7682  <li><?php bugfix(80377); ?> (Opcache misses executor_globals).</li>
7683  <li><?php bugfix(80433); ?> (Unable to disable the use of the AVX command when using JIT).</li>
7684  <li><?php bugfix(80447); ?> (Strange out of memory error when running with JIT).</li>
7685  <li><?php bugfix(80480); ?> (Segmentation fault with JIT enabled).</li>
7686  <li><?php bugfix(80506); ?> (Immediate SIGSEGV upon ini_set("opcache.jit_debug", 1)).</li>
7687</ul></li>
7688<li>OpenSSL:
7689<ul>
7690  <li><?php bugfix(80368); ?> (OpenSSL extension fails to build against LibreSSL due to lack of OCB support).</li>
7691</ul></li>
7692<li>PDO MySQL:
7693<ul>
7694  <li><?php bugfix(80458); ?> (PDOStatement::fetchAll() throws for upsert queries).</li>
7695  <li><?php bugfix(63185); ?> (nextRowset() ignores MySQL errors with native prepared statements).</li>
7696  <li><?php bugfix(78152); ?> (PDO::exec() - Bad error handling with multiple commands).</li>
7697  <li><?php bugfix(66878); ?> (Multiple rowsets not returned unless PDO statement object is unset()).</li>
7698  <li><?php bugfix(70066); ?> (Unexpected "Cannot execute queries while other unbuffered queries").</li>
7699  <li><?php bugfix(71145); ?> (Multiple statements in init command triggers unbuffered query error).</li>
7700  <li><?php bugfix(76815); ?> (PDOStatement cannot be GCed/closeCursor-ed when a PROCEDURE resultset SIGNAL).</li>
7701  <li><?php bugfix(79872); ?> (Can't execute query with pending result sets).</li>
7702  <li><?php bugfix(79131); ?> (PDO does not throw an exception when parameter values are missing).</li>
7703  <li><?php bugfix(72368); ?> (PdoStatement-&gt;execute() fails but does not throw an exception).</li>
7704  <li><?php bugfix(62889); ?> (LOAD DATA INFILE broken).</li>
7705  <li><?php bugfix(67004); ?> (Executing PDOStatement::fetch() more than once prevents releasing resultset).</li>
7706  <li><?php bugfix(79132); ?> (PDO re-uses parameter values from earlier calls to execute()).</li>
7707</ul></li>
7708<li>Phar:
7709<ul>
7710  <li><?php bugfix(73809); ?> (Phar Zip parse crash - mmap fail).</li>
7711  <li><?php bugfix(75102); ?> (`PharData` says invalid checksum for valid tar).</li>
7712  <li><?php bugfix(77322); ?> (PharData::addEmptyDir('/') Possible integer overflow).</li>
7713</ul></li>
7714<li>Phpdbg:
7715<ul>
7716  <li><?php bugfix(76813); ?> (Access violation near NULL on source operand).</li>
7717</ul></li>
7718<li>SPL:
7719<ul>
7720  <li><?php bugfix(62004); ?> (SplFileObject: fgets after seek returns wrong line).</li>
7721</ul></li>
7722<li>Standard:
7723<ul>
7724  <li><?php bugfix(80366); ?> (Return Value of zend_fstat() not Checked).</li>
7725  <li><?php bugfix(77423); ?> (FILTER_VALIDATE_URL accepts URLs with invalid userinfo). (CVE-2020-7071)</li>
7726</ul></li>
7727<li>Tidy:
7728<ul>
7729  <li><?php bugfix(77594); ?> (ob_tidyhandler is never reset).</li>
7730</ul></li>
7731<li>Tokenizer:
7732<ul>
7733  <li><?php bugfix(80462); ?> (Nullsafe operator tokenize with TOKEN_PARSE flag fails).</li>
7734</ul></li>
7735<li>XML:
7736<ul>
7737  <li>XmlParser opaque object renamed to XMLParser for consistency with other XML objects.</li>
7738</ul></li>
7739<li>Zlib:
7740<ul>
7741  <li><?php bugfix(48725); ?> (Support for flushing in zlib stream).</li>
7742</ul></li>
7743</ul>
7744<!-- }}} --></section>
7745
7746
7747
7748<section class="version" id="8.0.0"><!-- {{{ 8.0.0 -->
7749<h3>Version 8.0.0</h3>
7750<b><?php release_date('26-Nov-2020'); ?></b>
7751<ul><li>BZ2:
7752<ul>
7753  <li><?php bugfix(71263); ?> (fread() does not report bzip2.decompress errors).</li>
7754</ul></li>
7755<li>CLI:
7756<ul>
7757  <li>Allow debug server binding to an ephemeral port via `-S localhost:0`.</li>
7758</ul></li>
7759<li>COM:
7760<ul>
7761  <li><?php bugfix(55847); ?> (DOTNET .NET 4.0 GAC new location).</li>
7762  <li><?php bugfix(62474); ?> (com_event_sink crashes on certain arguments).</li>
7763</ul></li>
7764<li>Calendar:
7765<ul>
7766  <li><?php bugfix(80007); ?> (Potential type confusion in unixtojd() parameter parsing).</li>
7767</ul></li>
7768<li>Core:
7769<ul>
7770  <li><?php bugfix(36365); ?> (scandir duplicates file name at every 65535th file).</li>
7771  <li><?php bugfix(49555); ?> (Fatal error "Function must be a string" message should be renamed).</li>
7772  <li><?php bugfix(62294); ?> (register_shutdown_function() does not correctly handle exit code).</li>
7773  <li><?php bugfix(62609); ?> (Allow implementing Traversable on abstract classes).</li>
7774  <li><?php bugfix(65274); ?> (Enhance undefined class constant error with class name).</li>
7775  <li><?php bugfix(65275); ?> (Calling exit() in a shutdown function does not change the exit value in CLI).</li>
7776  <li><?php bugfix(69084); ?> (Unclear error message when not implementing a renamed abstract trait function).</li>
7777  <li><?php bugfix(70839); ?> (Converting optional argument to variadic forbidden by LSP checks).</li>
7778  <li><?php bugfix(74558); ?> (Can't rebind closure returned by Closure::fromCallable()).</li>
7779  <li><?php bugfix(77561); ?> (Shebang line not stripped for non-primary script).</li>
7780  <li><?php bugfix(77619); ?> (Wrong reflection on MultipleIterator::__construct).</li>
7781  <li><?php bugfix(77966); ?> (Cannot alias a method named "namespace").</li>
7782  <li><?php bugfix(78236); ?> (convert error on receiving variables when duplicate [).</li>
7783  <li><?php bugfix(78770); ?> (Incorrect callability check inside internal methods).</li>
7784  <li><?php bugfix(79108); ?> (Referencing argument in a function makes it a reference in the stack trace).</li>
7785  <li><?php bugfix(79368); ?> ("Unexpected end of file" is not an acceptable error message).</li>
7786  <li><?php bugfix(79462); ?> (method_exists and property_exists incoherent behavior).</li>
7787  <li><?php bugfix(79467); ?> (data:// wrappers are writable).</li>
7788  <li><?php bugfix(79521); ?> (Check __set_state structure).</li>
7789  <li><?php bugfix(79790); ?> ("Illegal offset type" exception during AST evaluation not handled properly).</li>
7790  <li><?php bugfix(79791); ?> (Assertion failure when unsetting variable during binary op).</li>
7791  <li><?php bugfix(79828); ?> (Segfault when trying to access non-existing variable).</li>
7792  <li><?php bugfix(79841); ?> (Syntax error in configure / unescaped "[]" in php.m4).</li>
7793  <li><?php bugfix(79852); ?> (count(DOMNodeList) doesn't match count(IteratorIterator(DOMNodeList))).</li>
7794  <li><?php bugfix(79867); ?> (Promoted untyped properties should get null default value).</li>
7795  <li><?php bugfix(79897); ?> (Promoted constructor params with attribs cause crash).</li>
7796  <li><?php bugfix(79927); ?> (Generator doesn't throw exception after multiple yield from iterable).</li>
7797  <li><?php bugfix(79946); ?> (Build fails due to undeclared UINT32_C).</li>
7798  <li><?php bugfix(79948); ?> (Exit in auto-prepended file does not abort PHP execution).</li>
7799  <li><?php bugfix(80045); ?> (memleak after two set_exception_handler calls with __call).</li>
7800  <li><?php bugfix(80096); ?> (Segmentation fault with named arguments in nested call).</li>
7801  <li><?php bugfix(80109); ?> (Cannot skip arguments when extended debug is enabled).</li>
7802  <li><?php bugfix(80225); ?> (broken namespace usage in eval code).</li>
7803  <li><?php bugfix(80258); ?> (Windows Deduplication Enabled, randon permission errors).</li>
7804  <li><?php bugfix(80280); ?> (ADD_EXTENSION_DEP() fails for ext/standard and ext/date).</li>
7805  <li><?php bugfix(80334); ?> (assert() vs named parameters - confusing error).</li>
7806  <li><?php bugfix(80055); ?> (Abstract trait methods returning "self" cannot be fulfilled by traits).</li>
7807  <li>Fixed faulty generator cleanup with yield from.</li>
7808  <li>Implement #[Attr] Attribute syntax as per final vote in RFC https://wiki.php.net/rfc/shorter_attribute_syntax_change</li>
7809  <li><?php implemented(47074); ?> (phpinfo() reports "On" as 1 for the some extensions).</li>
7810  <li><?php implemented(72089); ?> (require() throws fatal error instead of exception).</li>
7811  <li>Removed the pdo_odbc.db2_instance_name php.ini directive.</li>
7812  <li>Use SSE2 instructions do locale independent strtolower.</li>
7813</ul></li>
7814<li>Curl:
7815<ul>
7816  <li>Bumped required libcurl version to 7.29.0.</li>
7817  <li><?php bugfix(80121); ?> (Null pointer deref if CurlHandle directly instantiated).</li>
7818</ul></li>
7819<li>DOM:
7820<ul>
7821  <li>Add property DOMXPath::$registerNodeNamespaces and constructor argument that allow global flag to configure query() or evaluate() calls.</li>
7822  <li><?php bugfix(79968); ?> (DOMChildNode API crash on unattached nodes).</li>
7823  <li><?php bugfix(80268); ?> (loadHTML() truncates at NUL bytes).</li>
7824</ul></li>
7825<li>Date:
7826<ul>
7827  <li><?php bugfix(60302); ?> (DateTime::createFromFormat should new static(), not new self()).</li>
7828  <li><?php bugfix(65547); ?> (Default value for sunrise/sunset zenith still wrong).</li>
7829  <li><?php bugfix(69044); ?> (discrepancy between time and microtime).</li>
7830  <li><?php bugfix(80057); ?> (DateTimeImmutable::createFromFormat() does not populate time).</li>
7831  <li><?php implemented(79903); ?> (datetime: new format "p", same as "P" but returning "Z" for UTC).</li>
7832</ul></li>
7833<li>Enchant:
7834<ul>
7835  <li>Add LIBENCHANT_VERSION macro.</li>
7836  <li>Add enchant_dict_add and enchant_dict_is_added functions.</li>
7837  <li>Deprecate enchant_broker_set_dict_path, enchant_broker_get_dict_path, enchant_dict_add_to_personal and enchant_dict_is_in_session.</li>
7838  <li>Use libenchant-2 when available.</li>
7839</ul></li>
7840<li>FFI:
7841<ul>
7842  <li>Added FFI\CType::getName() method.</li>
7843  <li><?php bugfix(79177); ?> (FFI doesn't handle well PHP exceptions within callback).</li>
7844  <li><?php bugfix(79749); ?> (Converting FFI instances to bool fails).</li>
7845</ul></li>
7846<li>FPM:
7847<ul>
7848  <li>Add pm.status_listen option.</li>
7849</ul></li>
7850<li>Fileinfo:
7851<ul>
7852  <li>Upgrade to libmagic 5.39.</li>
7853</ul></li>
7854<li>GD:
7855<ul>
7856  <li>Added imagegetinterpolation().</li>
7857  <li><?php bugfix(55005); ?> (imagepolygon num_points requirement).</li>
7858  <li>Made the $num_points parameter of php_imagepolygon optional.</li>
7859  <li>Removed deprecated image2wbmp().</li>
7860  <li>Removed deprecated png2wbmp() and jpeg2wbmp().</li>
7861  <li>Replaced gd resources with objects.</li>
7862</ul></li>
7863<li>IMAP:
7864<ul>
7865  <li><?php bugfix(64076); ?> (imap_sort() does not return FALSE on failure).</li>
7866  <li><?php bugfix(76618); ?> (segfault on imap_reopen).</li>
7867  <li><?php bugfix(80213); ?> (imap_mail_compose() segfaults on certain $bodies).</li>
7868  <li><?php bugfix(80215); ?> (imap_mail_compose() may modify by-val parameters).</li>
7869  <li><?php bugfix(80216); ?> (imap_mail_compose() does not validate types/encodings).</li>
7870  <li><?php bugfix(80220); ?> (imap_mail_compose() may leak memory).</li>
7871  <li><?php bugfix(80223); ?> (imap_mail_compose() leaks envelope on malformed bodies).</li>
7872  <li><?php bugfix(80226); ?> (imap_sort() leaks sortpgm memory).</li>
7873  <li><?php bugfix(80239); ?> (imap_rfc822_write_address() leaks memory).</li>
7874  <li><?php bugfix(80242); ?> (imap_mail_compose() segfaults for multipart with rfc822).</li>
7875  <li>Fixed minor regression caused by fixing bug <?php bugl(80220); ?>.</li>
7876</ul></li>
7877<li>Iconv:
7878<ul>
7879  <li>Dropped support for iconv without proper errno setting.</li>
7880</ul></li>
7881<li>Intl:
7882<ul>
7883  <li>Removed deprecated INTL_IDNA_VARIANT_2003.</li>
7884</ul></li>
7885<li>JIT:
7886<ul>
7887  <li><?php bugfix(77857); ?> (Wrong result if executed with JIT).</li>
7888  <li><?php bugfix(79255); ?> (PHP cannot be compiled with enable JIT).</li>
7889  <li><?php bugfix(79582); ?> (Crash seen when opcache.jit=1235 and opcache.jit_debug=2).</li>
7890  <li><?php bugfix(79743); ?> (Fatal error when assigning to array property with JIT enabled).</li>
7891  <li><?php bugfix(79864); ?> (JIT segfault in Symfony OptionsResolver).</li>
7892  <li><?php bugfix(79888); ?> (Incorrect execution with JIT enabled).</li>
7893</ul></li>
7894<li>JSON:
7895<ul>
7896  <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>
7897</ul></li>
7898<li>LDAP:
7899<ul>
7900  <li>Fixed memory leaks.</li>
7901  <li>Removed deprecated ldap_sort.</li>
7902</ul></li>
7903<li>MBString:
7904<ul>
7905  <li><?php bugfix(76999); ?> (mb_regex_set_options() return current options).</li>
7906  <li>Removed the unused $is_hex parameter from mb_decode_numericentity().</li>
7907</ul></li>
7908<li>MySQLi:
7909<ul>
7910  <li><?php bugfix(76809); ?> (SSL settings aren't respected when persistent connections are used).</li>
7911</ul></li>
7912<li>Mysqlnd:
7913<ul>
7914  <li><?php bugfix(60594); ?> (mysqlnd exposes 160 lines of stats in phpinfo).</li>
7915</ul></li>
7916<li>OCI8:
7917<ul>
7918  <li>Deprecated old OCI8 function aliases.</li>
7919  <li>Modernized oci_register_taf_callback() callable argument parsing implementation.</li>
7920  <li>Removed obsolete no-op function oci_internal_debug().</li>
7921</ul></li>
7922<li>ODBC:
7923<ul>
7924  <li><?php bugfix(22986); ?> (odbc_connect() may reuse persistent connection).</li>
7925  <li><?php bugfix(44618); ?> (Fetching may rely on uninitialized data).</li>
7926</ul></li>
7927<li>Opcache:
7928<ul>
7929  <li><?php bugfix(76535); ?> (Opcache does not replay compile-time warnings).</li>
7930  <li><?php bugfix(78654); ?> (Incorrectly computed opcache checksum on files with non-ascii characters).</li>
7931  <li><?php bugfix(79665); ?> (ini_get() and opcache_get_configuration() inconsistency).</li>
7932  <li><?php bugfix(80030); ?> (Optimizer segfault with isset on static property with undef dynamic class name).</li>
7933  <li><?php bugfix(80175); ?> (PHP8 RC1 - JIT Buffer not working).</li>
7934  <li><?php bugfix(80184); ?> (Complex expression in while / if statements resolves to false incorrectly).</li>
7935  <li><?php bugfix(80255); ?> (Opcache bug (bad condition result) in 8.0.0rc1).</li>
7936  <li>Fixed run-time binding of preloaded dynamically declared function.</li>
7937</ul></li>
7938<li>OpenSSL:
7939<ul>
7940  <li>Added Cryptographic Message Syntax (CMS) support.</li>
7941</ul></li>
7942<li>PCRE:
7943<ul>
7944  <li>Don't ignore invalid escape sequences.</li>
7945  <li>Updated to PCRE2 10.35.</li>
7946</ul></li>
7947<li>PDO:
7948<ul>
7949  <li>Changed default PDO error mode to exceptions.</li>
7950  <li><?php bugfix(77849); ?> (Disable cloning of PDO handle/connection objects).</li>
7951</ul></li>
7952<li>PDO_Firebird:
7953<ul>
7954  <li><?php bugfix(64937); ?> (Firebird PDO preprocessing sql).</li>
7955</ul></li>
7956<li>PDO_OCI:
7957<ul>
7958  <li>Added support for setting and getting the oracle OCI 18c call timeout.</li>
7959</ul></li>
7960<li>PDO_PGSQL:
7961<ul>
7962  <li>Bumped required libpq version to 9.1.</li>
7963</ul></li>
7964<li>PGSQL:
7965<ul>
7966  <li>Bumped required libpq version to 9.1.</li>
7967</ul></li>
7968<li>Phpdbg:
7969<ul>
7970  <li><?php bugfix(76596); ?> (phpdbg support for display_errors=stderr).</li>
7971  <li><?php bugfix(76801); ?> (too many open files).</li>
7972  <li><?php bugfix(77800); ?> (phpdbg segfaults on listing some conditional breakpoints).</li>
7973  <li><?php bugfix(77805); ?> (phpdbg build fails when readline is shared).</li>
7974</ul></li>
7975<li>Reflection:
7976<ul>
7977  <li><?php bugfix(64592); ?> (ReflectionClass::getMethods() returns methods out of scope).</li>
7978  <li><?php bugfix(69180); ?> (Reflection does not honor trait conflict resolution / method aliasing).</li>
7979  <li><?php bugfix(74939); ?> (Nested traits' aliased methods are lowercased).</li>
7980  <li><?php bugfix(77325); ?> (ReflectionClassConstant::$class returns wrong class when extending).</li>
7981  <li><?php bugfix(78697); ?> (ReflectionClass::implementsInterface - inaccurate error message with traits).</li>
7982  <li><?php bugfix(80190); ?> (ReflectionMethod::getReturnType() does not handle static as part of union type).</li>
7983  <li><?php bugfix(80299); ?> (ReflectionFunction-&gt;invokeArgs confused in arguments).</li>
7984  <li><?php bugfix(80370); ?> (getAttributes segfault on dynamic properties).</li>
7985  <li><?php implemented(79628); ?> (Add $filter parameter for ReflectionClass::getConstants and ReflectionClass::getReflectionConstants) (carusogabriel)</li>
7986  <li>Implement ReflectionProperty::hasDefaultValue and Reflection::getDefaultValue (beberlei)</li>
7987</ul></li>
7988<li>SNMP:
7989<ul>
7990  <li><?php bugfix(70461); ?> (disable md5 code when it is not supported in net-snmp).</li>
7991</ul></li>
7992<li>SPL:
7993<ul>
7994  <li><?php bugfix(65006); ?> (spl_autoload_register fails with multiple callables using self, same method).</li>
7995  <li><?php bugfix(65387); ?> (Circular references in SPL iterators are not garbage collected).</li>
7996  <li><?php bugfix(71236); ?> (Second call of spl_autoload_register() does nothing if it has no arguments).</li>
7997  <li><?php bugfix(79987); ?> (Memory leak in SplFileInfo because of missing zend_restore_error_handling()).</li>
7998  <li>SplFixedArray is now IteratorAggregate rather than Iterator.</li>
7999</ul></li>
8000<li>SQLite3:
8001<ul>
8002  <li>Added SQLite3::setAuthorizer() and respective class constants.</li>
8003</ul></li>
8004<li>Session:
8005<ul>
8006  <li><?php bugfix(73529); ?> (session_decode() silently fails on wrong input).</li>
8007  <li><?php bugfix(78624); ?> (session_gc return value for user defined session handlers).</li>
8008</ul></li>
8009<li>Shmop:
8010<ul>
8011  <li>Converted shmop resources to objects.</li>
8012</ul></li>
8013<li>SimpleXML:
8014<ul>
8015  <li><?php bugfix(63575); ?> (Root elements are not properly cloned).</li>
8016  <li><?php bugfix(75245); ?> (Don't set content of elements with only whitespaces).</li>
8017</ul></li>
8018<li>Sodium:
8019<ul>
8020  <li><?php bugfix(77646); ?> (sign_detached() strings not terminated).</li>
8021</ul></li>
8022<li>Standard:
8023<ul>
8024  <li>Don't force rebuild of symbol table, when populating $http_response_header variable by the HTTP stream wrapper.</li>
8025  <li><?php bugfix(47983); ?> (mixed LF and CRLF line endings in mail()).</li>
8026  <li><?php bugfix(64060); ?> (lstat_stat_variation7.phpt fails on certain file systems).</li>
8027  <li><?php bugfix(75902); ?> (str_replace should warn when misused with nested arrays).</li>
8028  <li><?php bugfix(76859); ?> (stream_get_line skips data if used with data-generating filter).</li>
8029  <li><?php bugfix(77204); ?> (getimagesize(): Read error! should mention file path).</li>
8030  <li><?php bugfix(78385); ?> (parse_url() does not include 'query' when question mark is the last char).</li>
8031  <li><?php bugfix(79868); ?> (Sorting with array_unique gives unwanted result).</li>
8032  <li><?php bugfix(80256); ?> (file_get_contents strip first line with chunked encoding redirect).</li>
8033  <li><?php bugfix(80266); ?> (parse_url silently drops port number 0).</li>
8034  <li><?php bugfix(80290); ?> (Double free when ASSERT_CALLBACK is used with a dynamic message).</li>
8035  <li><?php implemented(78638); ?> (__PHP_Incomplete_Class should be final).</li>
8036  <li>Made quoting of cmd execution functions consistent.</li>
8037</ul></li>
8038<li>Tidy:
8039<ul>
8040  <li>Removed the unused $use_include_path parameter from tidy_repair_string().</li>
8041</ul></li>
8042<li>Tokenizer:
8043<ul>
8044  <li><?php bugfix(80328); ?> (PhpToken::getAll() confusing name).</li>
8045</ul></li>
8046<li>XML:
8047<ul>
8048  <li><?php bugfix(76874); ?> (xml_parser_free() should never leak memory).</li>
8049</ul></li>
8050<li>XMLWriter:
8051<ul>
8052  <li>Changed functions to accept/return XMLWriter objects instead of resources.</li>
8053  <li><?php implemented(79344); ?> (xmlwriter_write_attribute_ns: $prefix should be nullable).</li>
8054  <li>Removed return types from XMLWriter stubs.</li>
8055</ul></li>
8056<li>Zip:
8057<ul>
8058  <li>Add "flags" options to ZipArchive::addGlob and addPattern methods keeping previous behavior having FL_OVERWRITE by default.</li>
8059  <li>Add ZipArchive::EM_UNKNOWN and ZipArchive::EM_TRAD_PKWARE constants.</li>
8060  <li>Add ZipArchive::isCompressionMethodSupported() and ZipArchive::isEncryptionMethodSupported() method (libzip 1.7.0).</li>
8061  <li>Add ZipArchive::replaceFile() method.</li>
8062  <li>Add ZipArchive::setCancelCallback method (since libzip 1.6.0).</li>
8063  <li>Add ZipArchive::setMtimeName and ZipArchive::setMtimeIndex methods.</li>
8064  <li>Add ZipArchive::setProgressCallback method (since libzip 1.3.0).</li>
8065  <li>Add lastId property to ZipArchive.</li>
8066  <li>Add optional "flags" parameter to ZipArchive::addEmptyDir, addFile and addFromString methods.</li>
8067  <li><?php bugfix(50678); ?> (files extracted by ZipArchive class lost their original modified time).</li>
8068  <li><?php bugfix(72374); ?> (remove_path strips first char of filename).</li>
8069  <li><?php implemented(77960); ?> (add compression / encryption options for ZipArchive::addGlob and ZipArchive::addPattern).</li>
8070  <li>ZipArchive::status and ZipArchive::statusSys properties and ZipArchive::getStatusString() method stay valid after the archive is closed.</li>
8071</ul></li>
8072<li>Zlib:
8073<ul>
8074  <li><?php bugfix(71417); ?> (fread() does not report zlib.inflate errors).</li>
8075  <li><?php bugfix(78792); ?> (zlib.output_compression disabled by Content-Type: image/).</li>
8076</ul></li>
8077</ul>
8078<!-- }}} --></section>
8079
8080<?php
8081changelog_footer(8, $MINOR_VERSIONS);
8082