xref: /PHP-8.3/NEWS (revision 19bba837)
1PHP                                                                        NEWS
2|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
3?? ??? ????, PHP 8.3.13
4
5- Core:
6  . Fixed bug GH-16054 (Segmentation fault when resizing hash table iterator
7    list while adding). (nielsdos)
8  . Fixed bug GH-15905 (Assertion failure for TRACK_VARS_SERVER). (cmb)
9  . Fixed bug GH-15907 (Failed assertion when promoting Serialize deprecation to
10    exception). (ilutov)
11  . Fixed bug GH-15851 (Segfault when printing backtrace during cleanup of
12    nested generator frame). (ilutov)
13
14- DOM:
15  . Fixed bug GH-16039 (Segmentation fault (access null pointer) in
16    ext/dom/parentnode/tree.c). (nielsdos)
17
18- LDAP:
19  . Fixed bug GH-16032 (Various NULL pointer dereferencements in
20    ldap_modify_batch()). (Girgias)
21  . Fixed bug GH-16101 (Segfault in ldap_list(), ldap_read(), and ldap_search()
22    when LDAPs array is not a list). (Girgias)
23
24- OpenSSL:
25  . Fixed stub for openssl_csr_new. (Jakub Zelenka)
26
27- PHPDBG:
28  . Fixed bug GH-15901 (phpdbg: Assertion failure on i funcs). (cmb)
29
30- SimpleXML:
31  . Fixed bug GH-15837 (Segmentation fault in ext/simplexml/simplexml.c).
32    (nielsdos)
33
34- SOAP:
35  . Fixed bug #73182 (PHP SOAPClient does not support stream context HTTP
36    headers in array form). (nielsdos)
37  . Fixed bug #62900 (Wrong namespace on xsd import error message). (nielsdos)
38  . Fixed bug GH-15711 (SoapClient can't convert BackedEnum to scalar value).
39    (nielsdos)
40
41- SPL:
42  . Fixed bug GH-15918 (Assertion failure in ext/spl/spl_fixedarray.c).
43    (nielsdos)
44
45- Streams:
46  . Fixed bugs GH-15908 and GH-15026 (leak / assertion failure in streams.c).
47    (nielsdos)
48  . Fixed bug GH-15980 (Signed integer overflow in main/streams/streams.c).
49    (cmb)
50
51- TSRM:
52  . Prevent closing of unrelated handles. (cmb)
53
54- Windows:
55  . Fixed minimal Windows version. (cmb)
56
5726 Sep 2024, PHP 8.3.12
58
59- CGI:
60  . Fixed bug GHSA-p99j-rfp4-xqvq (Bypass of CVE-2024-4577, Parameter Injection
61    Vulnerability). (CVE-2024-8926) (nielsdos)
62  . Fixed bug GHSA-94p6-54jq-9mwp (cgi.force_redirect configuration is
63    bypassable due to the environment variable collision). (CVE-2024-8927)
64    (nielsdos)
65
66- Core:
67  . Fixed bug GH-15408 (MSan false-positve on zend_max_execution_timer).
68    (zeriyoshi)
69  . Fixed bug GH-15515 (Configure error grep illegal option q). (Peter Kokot)
70  . Fixed bug GH-15514 (Configure error: genif.sh: syntax error). (Peter Kokot)
71  . Fixed bug GH-15565 (--disable-ipv6 during compilation produces error
72    EAI_SYSTEM not found). (nielsdos)
73  . Fixed bug GH-15587 (CRC32 API build error on arm 32-bit).
74    (Bernd Kuhls, Thomas Petazzoni)
75  . Fixed bug GH-15330 (Do not scan generator frames more than once). (Arnaud)
76  . Fixed uninitialized lineno in constant AST of internal enums. (ilutov)
77
78- Curl:
79  . FIxed bug GH-15547 (curl_multi_select overflow on timeout argument).
80    (David Carlier)
81
82- DOM:
83  . Fixed bug GH-15551 (Segmentation fault (access null pointer) in
84    ext/dom/xml_common.h). (nielsdos)
85  . Fixed bug GH-15654 (Signed integer overflow in ext/dom/nodelist.c).
86    (nielsdos)
87
88- Fileinfo:
89  . Fixed bug GH-15752 (Incorrect error message for finfo_file
90    with an empty filename argument). (DanielEScherzer)
91
92- FPM:
93  . Fixed bug GHSA-865w-9rf3-2wh5 (Logs from childrens may be altered).
94    (CVE-2024-9026) (Jakub Zelenka)
95
96- MySQLnd:
97  . Fixed bug GH-15432 (Heap corruption when querying a vector). (cmb,
98    Kamil Tekiela)
99
100- Opcache:
101  . Fixed bug GH-15661 (Access null pointer in
102    Zend/Optimizer/zend_inference.c). (nielsdos)
103  . Fixed bug GH-15658 (Segmentation fault in Zend/zend_vm_execute.h).
104    (nielsdos)
105
106- SAPI:
107  . Fixed bug GHSA-9pqp-7h25-4f32 (Erroneous parsing of multipart form data).
108    (CVE-2024-8925) (Arnaud)
109
110- Standard:
111  . Fixed bug GH-15552 (Signed integer overflow in ext/standard/scanf.c). (cmb)
112
113- Streams:
114  . Fixed bug GH-15628 (php_stream_memory_get_buffer() not zero-terminated).
115    (cmb)
116
11729 Aug 2024, PHP 8.3.11
118
119- Core:
120  . Fixed bug GH-15020 (Memory leak in Zend/Optimizer/escape_analysis.c).
121    (nielsdos)
122  . Fixed bug GH-15023 (Memory leak in Zend/zend_ini.c). (nielsdos)
123  . Fixed bug GH-13330 (Append -Wno-implicit-fallthrough flag conditionally).
124    (Peter Kokot)
125  . Fix uninitialized memory in network.c. (nielsdos)
126  . Fixed bug GH-15108 (Segfault when destroying generator during shutdown).
127    (Arnaud)
128  . Fixed bug GH-15275 (Crash during GC of suspended generator delegate).
129    (Arnaud)
130
131- Curl:
132  . Fixed case when curl_error returns an empty string.
133    (David Carlier)
134
135- DOM:
136  . Fix UAF when removing doctype and using foreach iteration. (nielsdos)
137
138- FFI:
139  . Fixed bug GH-14286 (ffi enum type (when enum has no name) make memory
140    leak). (nielsdos, dstogov)
141
142- Hash:
143  . Fix crash when converting array data for array in shm in xxh3. (nielsdos)
144
145- Intl:
146  . Fixed bug GH-15087 (IntlChar::foldCase()'s $option is not optional). (cmb)
147
148- Opcache:
149  . Fixed bug GH-13817 (Segmentation fault for enabled observers after pass 4).
150    (Bob)
151  . Fixed bug GH-13775 (Memory leak possibly related to opcache SHM placement).
152    (Arnaud, nielsdos)
153
154- Output:
155  . Fixed bug GH-15179 (Segmentation fault (null pointer dereference) in
156    ext/standard/url_scanner_ex.re). (nielsdos)
157
158- PDO_Firebird:
159  . Fix bogus fallthrough path in firebird_handle_get_attribute(). (nielsdos)
160
161- PHPDBG:
162  . Fixed bug GH-13199 (EOF emits redundant prompt in phpdbg local console mode
163    with libedit/readline). (Peter Kokot)
164  . Fixed bug GH-15268 (heap buffer overflow in phpdbg
165    (zend_hash_num_elements() Zend/zend_hash.h)). (nielsdos)
166  . Fixed bug GH-15210 use-after-free on watchpoint allocations. (nielsdos)
167
168- Random:
169  . Fixed part of bug GH-15381, checking getrandom availability on solaris.
170    (David Carlier)
171
172- Soap:
173  . Fixed bug #55639 (Digest autentication dont work). (nielsdos)
174  . Fix SoapFault property destruction. (nielsdos)
175  . Fixed bug GH-15252 (SOAP XML broken since PHP 8.3.9 when using classmap
176    constructor option). (nielsdos)
177
178- Standard:
179  . Fix passing non-finite timeout values in stream functions. (nielsdos)
180  . Fixed GH-14780 p(f)sockopen timeout overflow. (David Carlier)
181  . Fixed GH-15653 overflow on fgetcsv length parameter. (David Carlier)
182
183- Streams:
184  . Fixed bug GH-15028 (Memory leak in ext/phar/stream.c). (nielsdos)
185  . Fixed bug GH-15034 (Integer overflow on stream_notification_callback
186    byte_max parameter with files bigger than 2GB). (nielsdos)
187  . Reverted fix for GH-14930 (Custom stream wrapper dir_readdir output
188    truncated to 255 characters). (Jakub Zelenka)
189
190- Tidy:
191  . Fix memory leaks in ext/tidy basedir restriction code. (nielsdos)
192
19301 Aug 2024, PHP 8.3.10
194
195- Core:
196  . Fixed bug GH-13922 (Fixed support for systems with
197    sysconf(_SC_GETPW_R_SIZE_MAX) == -1). (Arnaud)
198  . Fixed bug GH-14626 (Fix is_zend_ptr() for huge blocks). (Arnaud)
199  . Fixed bug GH-14590 (Memory leak in FPM test gh13563-conf-bool-env.phpt.
200    (nielsdos)
201  . Fixed OSS-Fuzz #69765. (nielsdos)
202  . Fixed bug GH-14741 (Segmentation fault in Zend/zend_types.h). (nielsdos)
203  . Fixed bug GH-14969 (Use-after-free in property coercion with __toString()).
204    (ilutov)
205  . Fixed bug GH-14961 (Comment between -> and keyword results in parse error).
206    (ilutov)
207
208- Dom:
209  . Fixed bug GH-14702 (DOMDocument::xinclude() crash). (nielsdos)
210
211- Fileinfo:
212  . Fixed bug GH-14888 (README.REDIST.BINS refers to non-existing LICENSE).
213    (cmb)
214
215- Gd:
216  . ext/gd/tests/gh10614.phpt: skip if no PNG support. (orlitzky)
217  . restored warning instead of fata error. (dryabov)
218
219- LibXML:
220  . Fixed bug GH-14563 (Build failure with libxml2 v2.13.0). (nielsdos)
221
222- Opcache:
223  . Fixed bug GH-14550 (No warning message when Zend DTrace is enabled that
224    opcache.jit is implictly disabled). (nielsdos)
225
226- Output:
227  . Fixed bug GH-14808 (Unexpected null pointer in Zend/zend_string.h with
228    empty output buffer). (nielsdos)
229
230- PDO:
231  . Fixed bug GH-14712 (Crash with PDORow access to null property).
232    (David Carlier)
233
234- Phar:
235  . Fixed bug GH-14603 (null string from zip entry).
236    (David Carlier)
237
238- PHPDBG:
239  . Fixed bug GH-14596 (crashes with ASAN and ZEND_RC_DEBUG=1).
240    (David Carlier)
241  . Fixed bug GH-14553 (echo output trimmed at NULL byte). (nielsdos)
242
243- Shmop:
244  . Fixed bug GH-14537 (shmop Windows 11 crashes the process). (nielsdos)
245
246- SPL:
247  . Fixed bug GH-14639 (Member access within null pointer in
248    ext/spl/spl_observer.c). (nielsdos)
249
250- Standard:
251  . Fixed bug GH-14775 (range function overflow with negative step argument).
252    (David Carlier)
253  . Fix 32-bit wordwrap test failures. (orlitzky)
254  . Fixed bug GH-14774 (time_sleep_until overflow). (David Carlier)
255
256- Streams:
257  . Fixed bug GH-14930 (Custom stream wrapper dir_readdir output truncated to
258    255 characters in PHP 8.3). (Joe Cai)
259
260- Tidy:
261  . Fix memory leak in tidy_repair_file(). (nielsdos)
262
263- Treewide:
264  . Fix compatibility with libxml2 2.13.2. (nielsdos)
265
266- XML:
267  . Move away from to-be-deprecated libxml fields. (nielsdos)
268  . Fixed bug GH-14834 (Error installing PHP when --with-pear is used).
269    (nielsdos)
270
27120 Jun 2024, PHP 8.3.9
272
273- Core:
274  . Fixed bug GH-14315 (Incompatible pointer type warnings). (Peter Kokot)
275  . Fixed bug GH-12814 (max_execution_time reached too early on MacOS 14
276    when running on Apple Silicon). (Manuel Kress)
277  . Fixed bug GH-14387 (Crash when stack walking in destructor of yielded from
278    values during Generator->throw()). (Bob)
279  . Fixed bug GH-14456 (Attempting to initialize class with private constructor
280    calls destructor). (Girgias)
281  . Fixed bug GH-14510 (memleak due to missing pthread_attr_destroy()-call).
282    (Florian Engelhardt)
283  . Fixed bug GH-14549 (Incompatible function pointer type for fclose).
284    (Ryan Carsten Schmidt)
285
286- BCMath:
287  . Fixed bug (bcpowmod() with mod = -1 returns 1 when it must be 0). (Girgias)
288
289- Curl:
290  . Fixed bug GH-14307 (Test curl_basic_024 fails with curl 8.8.0). (nielsdos)
291
292- DOM:
293  . Fixed bug GH-14343 (Memory leak in xml and dom). (nielsdos)
294
295- FPM:
296  . Fixed bug GH-14037 (PHP-FPM ping.path and ping.response config vars are
297    ignored in status pool). (Wilhansen Li, Pierrick Charron)
298
299- GD:
300  . Fix parameter numbers for imagecolorset(). (Giovanni Giacobbi)
301
302- Intl:
303  . Fix reference handling in SpoofChecker. (nielsdos)
304
305- MySQLnd:
306  . Partially fix bug GH-10599 (Apache crash on Windows when using a
307    self-referencing anonymous function inside a class with an active
308    mysqli connection). (nielsdos)
309
310- Opcache:
311  . Fixed bug GH-14267 (opcache.jit=off does not allow enabling JIT at runtime).
312    (ilutov)
313  . Fixed TLS access in JIT on FreeBSD/amd64. (Arnaud)
314  . Fixed bug GH-11188 (Error when building TSRM in ARM64). (nielsdos)
315
316- PDO ODBC:
317  . Fixed bug GH-14367 (incompatible SDWORD type with iODBC). (Calvin Buckley)
318
319- PHPDBG:
320  . Fixed bug GH-13681 (segfault on watchpoint addition failure). (David Carlier)
321
322- Soap:
323  . Fixed bug #47925 (PHPClient can't decompress response). (nielsdos)
324  . Fix missing error restore code. (nielsdos)
325  . Fix memory leak if calling SoapServer::setObject() twice. (nielsdos)
326  . Fix memory leak if calling SoapServer::setClass() twice. (nielsdos)
327  . Fix reading zlib ini settings in ext-soap. (nielsdos)
328  . Fix memory leaks with string function name lookups. (nielsdos)
329  . Fixed bug #69280 (SoapClient classmap doesn't support fully qualified class
330    name). (nielsdos)
331  . Fixed bug #76232 (SoapClient Cookie Header Semicolon). (nielsdos)
332  . Fixed memory leaks when calling SoapFault::__construct() twice. (Girgias)
333
334- Sodium:
335  . Fix memory leaks in ext/sodium on failure of some functions. (nielsdos)
336
337- SPL:
338  . Fixed bug GH-14290 (Member access within null pointer in extension spl).
339    (nielsdos)
340
341- Standard:
342  . Fixed bug GH-14483 (Fixed off-by-one error in checking length of abstract
343    namespace Unix sockets). (Derick)
344
345- Streams:
346  . Fixed bug GH-11078 (PHP Fatal error triggers pointer being freed was not
347    allocated and malloc: double free for ptr errors). (nielsdos)
348
34906 Jun 2024, PHP 8.3.8
350
351- CGI:
352  . Fixed buffer limit on Windows, replacing read call usage by _read.
353    (David Carlier)
354  . Fixed bug GHSA-3qgc-jrrr-25jv (Bypass of CVE-2012-1823, Argument Injection
355    in PHP-CGI). (CVE-2024-4577) (nielsdos)
356
357- CLI:
358  . Fixed bug GH-14189 (PHP Interactive shell input state incorrectly handles
359    quoted heredoc literals.). (nielsdos)
360
361- Core:
362  . Fixed bug GH-13970 (Incorrect validation of #[Attribute] flags type for
363    non-compile-time expressions). (ilutov)
364
365- DOM:
366  . Fix crashes when entity declaration is removed while still having entity
367    references. (nielsdos)
368  . Fix references not handled correctly in C14N. (nielsdos)
369  . Fix crash when calling childNodes next() when iterator is exhausted.
370    (nielsdos)
371  . Fix crash in ParentNode::append() when dealing with a fragment
372    containing text nodes. (nielsdos)
373
374- Filter:
375  . Fixed bug GHSA-w8qr-v226-r27w (Filter bypass in filter_var FILTER_VALIDATE_URL).
376    (CVE-2024-5458) (nielsdos)
377
378- FPM:
379  . Fix bug GH-14175 (Show decimal number instead of scientific notation in
380    systemd status). (Benjamin Cremer)
381
382- Hash:
383  . ext/hash: Swap the checking order of `__has_builtin` and `__GNUC__`
384    (Saki Takamachi)
385
386- Intl:
387  . Fixed build regression on systems without C++17 compilers. (Calvin Buckley,
388    Peter Kokot)
389
390- MySQLnd:
391  . Fix bug GH-14255 (mysqli_fetch_assoc reports error from
392    nested query). (Kamil Tekiela)
393
394- Opcache:
395  . Fixed bug GH-14109 (Fix accidental persisting of internal class constant in
396    shm). (ilutov)
397
398- OpenSSL:
399  . The openssl_private_decrypt function in PHP, when using PKCS1 padding
400    (OPENSSL_PKCS1_PADDING, which is the default), is vulnerable to the Marvin Attack
401    unless it is used with an OpenSSL version that includes the changes from this pull
402    request: https://github.com/openssl/openssl/pull/13817 (rsa_pkcs1_implicit_rejection).
403    These changes are part of OpenSSL 3.2 and have also been backported to stable
404    versions of various Linux distributions, as well as to the PHP builds provided for
405    Windows since the previous release. All distributors and builders should ensure that
406    this version is used to prevent PHP from being vulnerable. (CVE-2024-2408)
407
408- Standard:
409  . Fixed bug GHSA-9fcc-425m-g385 (Bypass of CVE-2024-1874).
410    (CVE-2024-5585) (nielsdos)
411
412- XML:
413  . Fixed bug GH-14124 (Segmentation fault with XML extension under certain
414    memory limit). (nielsdos)
415
416- XMLReader:
417  . Fixed bug GH-14183 (XMLReader::open() can't be overridden). (nielsdos)
418
41909 May 2024, PHP 8.3.7
420
421- Core:
422  . Fixed zend_call_stack build with Linux/uclibc-ng without thread support.
423    (Fabrice Fontaine)
424  . Fixed bug GH-13772 (Invalid execute_data->opline pointers in observer fcall
425    handlers when JIT is enabled). (Bob)
426  . Fixed bug GH-13931 (Applying zero offset to null pointer in
427    Zend/zend_opcode.c). (nielsdos)
428  . Fixed bug GH-13942 (Align the behavior of zend-max-execution-timers with
429    other timeout implementations). (Kévin Dunglas)
430  . Fixed bug GH-14003 (Broken cleanup of unfinished calls with callable convert
431    parameters). (ilutov)
432  . Fixed bug GH-14013 (Erroneous dnl appended in configure). (Peter Kokot)
433  . Fixed bug GH-10232 (If autoloading occurs during constant resolution
434    filename and lineno are identified incorrectly). (ranvis)
435  . Fixed bug GH-13727 (Missing void keyword). (Peter Kokot)
436
437- Fibers:
438  . Fixed bug GH-13903 (ASAN false positive underflow when executing copy()).
439    (nielsdos)
440
441- Fileinfo:
442  . Fixed bug GH-13795 (Test failing in ext/fileinfo/tests/bug78987.phpt on
443    big-endian PPC). (orlitzky)
444
445- FPM:
446  . Fixed bug GH-13563 (Setting bool values via env in FPM config fails).
447    (Jakub Zelenka)
448
449- Intl:
450  . Fixed build for icu 74 and onwards. (dunglas)
451
452- MySQLnd:
453  . Fix shift out of bounds on 32-bit non-fast-path platforms. (nielsdos)
454
455- Opcache:
456  . Fixed bug GH-13433 (Segmentation Fault in zend_class_init_statics when
457    using opcache.preload). (nielsdos)
458  . Fixed incorrect assumptions across compilation units for static calls.
459    (ilutov)
460
461- OpenSSL:
462  . Fixed bug GH-10495 (feof on OpenSSL stream hangs indefinitely).
463    (Jakub Zelenka)
464
465- PDO SQLite:
466  . Fix GH-13984 (Buffer size is now checked before memcmp). (Saki Takamachi)
467  . Fix GH-13998 (Manage refcount of agg_context->val correctly).
468    (Saki Takamachi)
469
470- Phar:
471  . Fixed bug GH-13836 (Renaming a file in a Phar to an already existing
472    filename causes a NULL pointer dereference). (nielsdos)
473  . Fixed bug GH-13833 (Applying zero offset to null pointer in zend_hash.c).
474    (nielsdos)
475  . Fix potential NULL pointer dereference before calling EVP_SignInit. (icy17)
476
477- PHPDBG:
478  . Fixed bug GH-13827 (Null pointer access of type 'zval' in phpdbg_frame).
479    (nielsdos)
480
481- Posix:
482  . Fix usage of reentrant functions in ext/posix. (Arnaud)
483
484- Session:
485  . Fixed bug GH-13856 (Member access within null pointer of type 'ps_files' in
486    ext/session/mod_files.c). (nielsdos)
487  . Fixed bug GH-13891 (memleak and segfault when using ini_set with
488    session.trans_sid_hosts). (nielsdos, kamil-tekiela)
489  . Fixed buffer _read/_write size limit on windows for the file mode. (David Carlier)
490
491- Streams:
492  . Fixed file_get_contents() on Windows fails with "errno=22 Invalid
493    argument". (Damian Wójcik)
494  . Fixed bug GH-13264 (Part 1 - Memory leak on stream filter failure).
495    (Jakub Zelenka)
496  . Fixed bug GH-13860 (Incorrect PHP_STREAM_OPTION_CHECK_LIVENESS case in
497    ext/openssl/xp_ssl.c - causing use of dead socket). (nielsdos)
498  . Fixed bug GH-11678 (Build fails on musl 1.2.4 - lfs64). (Arnaud)
499
500- Treewide:
501  . Fix gcc-14 Wcalloc-transposed-args warnings. (Cristian Rodríguez)
502
50328 Mar 2024, PHP 8.3.5RC1
504
505- Core:
506  . Fixed GH-13569 (GC buffer unnecessarily grows up to GC_MAX_BUF_SIZE when
507    scanning WeakMaps). (Arnaud)
508  . Fixed bug GH-13612 (Corrupted memory in destructor with weak references).
509    (nielsdos)
510  . Fixed bug GH-13446 (Restore exception handler after it finishes). (ilutov)
511  . Fixed bug GH-13784 (AX_GCC_FUNC_ATTRIBUTE failure). (Remi)
512  . Fixed bug GH-13670 (GC does not scale well with a lot of objects created in
513    destructor). (Arnaud)
514
515- DOM:
516  . Add some missing ZPP checks. (nielsdos)
517  . Fix potential memory leak in XPath evaluation results. (nielsdos)
518
519- FPM:
520  . Fixed GH-11086 (FPM: config test runs twice in daemonised mode).
521    (Jakub Zelenka)
522  . Fixed incorrect check in fpm_shm_free(). (nielsdos)
523
524- GD:
525  . Fixed bug GH-12019 (add GDLIB_CFLAGS in feature tests). (Michael Orlitzky)
526
527- Gettext:
528  . Fixed sigabrt raised with dcgettext/dcngettext calls with gettext 0.22.5
529    with category set to LC_ALL. (David Carlier)
530
531- MySQLnd:
532  . Fix GH-13452 (Fixed handshake response [mysqlnd]). (Saki Takamachi)
533  . Fix incorrect charset length in check_mb_eucjpms(). (nielsdos)
534
535- Opcache:
536  . Fixed GH-13508 (JITed QM_ASSIGN may be optimized out when op1 is null).
537    (Arnaud, Dmitry)
538  . Fixed GH-13712 (Segmentation fault for enabled observers when calling trait
539    method of internal trait when opcache is loaded). (Bob)
540
541- Random:
542  . Fixed bug GH-13544 (Pre-PHP 8.2 compatibility for mt_srand with unknown
543    modes). (timwolla)
544  . Fixed bug GH-13690 (Global Mt19937 is not properly reset in-between
545    requests when MT_RAND_PHP is used). (timwolla)
546
547- Session:
548  . Fixed bug GH-13680 (Segfault with session_decode and compilation error).
549    (nielsdos)
550
551- SPL:
552  . Fixed bug GH-13685 (Unexpected null pointer in zend_string.h). (nielsdos)
553
554- Standard:
555  . Fixed bug GH-11808 (Live filesystem modified by tests). (nielsdos)
556  . Fixed GH-13402 (Added validation of `\n` in $additional_headers of mail()).
557    (SakiTakamachi)
558  . Fixed bug GH-13203 (file_put_contents fail on strings over 4GB on Windows).
559    (divinity76)
560  . Fixed bug GHSA-pc52-254m-w9w7 (Command injection via array-ish $command
561    parameter of proc_open). (CVE-2024-1874) (Jakub Zelenka)
562  . Fixed bug GHSA-wpj3-hf5j-x4v4 (__Host-/__Secure- cookie bypass due to
563    partial CVE-2022-31629 fix). (CVE-2024-2756) (nielsdos)
564  . Fixed bug GHSA-h746-cjrr-wfmr (password_verify can erroneously return true,
565    opening ATO risk). (CVE-2024-3096) (Jakub Zelenka)
566  . Fixed bug GHSA-fjp9-9hwx-59fq (mb_encode_mimeheader runs endlessly for some
567    inputs). (CVE-2024-2757) (Alex Dowad)
568
56914 Mar 2024, PHP 8.3.4
570
571- Core:
572  . Fix ZTS persistent resource crashes on shutdown. (nielsdos)
573
574- Curl:
575  . Fix failing tests due to string changes in libcurl 8.6.0. (Ayesh)
576
577- DOM:
578  . Fix unlikely memory leak in case of namespace removal with extremely deep
579    trees. (nielsdos)
580  . Fix reference access in dimensions for DOMNodeList and DOMNodeMap.
581    (nielsdos)
582
583- Fileinfo:
584  . Fixed bug GH-13344 (finfo::buffer(): Failed identify data 0:(null),
585    backport). (nielsdos)
586
587- FPM:
588  . Fixed bug #75712 (getenv in php-fpm should not read $_ENV, $_SERVER).
589    (Jakub Zelenka)
590
591- GD:
592  . Fixed bug GH-12019 (detection of image formats in system gd library).
593    (Michael Orlitzky)
594
595- MySQLnd:
596  . Fixed bug GH-11950 ([mysqlnd] Fixed not to set CR_MALFORMED_PACKET to error
597    if CR_SERVER_GONE_ERROR is already set). (Saki Takamachi)
598
599- PDO:
600  . Fix various PDORow bugs. (Girgias)
601
602- PGSQL:
603  . Fixed bug GH-13354 (pg_execute/pg_send_query_params/pg_send_execute
604    with null value passed by reference). (George Barbarosie)
605
606- SPL:
607  . Fixed bug GH-13531 (Unable to resize SplfixedArray after being unserialized
608    in PHP 8.2.15). (nielsdos)
609
610- Standard:
611  . Fixed bug GH-13279 (Instable array during in-place modification in uksort).
612    (ilutov)
613  . Fixed array key as hash to string (case insensitive) comparison typo
614    for the second operand buffer size (albeit unused for now). (A. Slepykh)
615
616- XML:
617  . Fixed bug GH-13517 (Multiple test failures when building with
618    --with-expat). (nielsdos)
619
62015 Feb 2024, PHP 8.3.3
621
622- Core:
623  . Fixed timer leak in zend-max-execution-timers builds. (withinboredom)
624  . Fixed bug GH-12349 (linking failure on ARM with mold). (Jan Palus)
625  . Fixed bug GH-13097 (Anonymous class reference in trigger_error / thrown
626    Exception). (nielsdos)
627  . Fixed bug GH-13177 (PHP 8.3.2: final private constructor not allowed
628    when used in trait). (nielsdos)
629  . Fixed bug GH-13215 (GCC 14 build failure). (Remi)
630
631- Curl:
632  . Fix missing error check in curl_multi_init(). (divinity76)
633
634- FPM:
635  . Fixed bug GH-12996 (Incorrect SCRIPT_NAME with Apache ProxyPassMatch when
636    plus in path). (Jakub Zelenka)
637
638- GD:
639  . Fixed bug GH-10344 (imagettfbbox(): Could not find/open font UNC path).
640    (nielsdos)
641  . Fixed bug GH-10614 (imagerotate will turn the picture all black, when
642    rotated 90). (nielsdos)
643
644- LibXML:
645  . Fix crashes with entity references and predefined entities. (nielsdos)
646
647- MySQLnd:
648  . Fixed bug GH-12107 (When running a stored procedure (that returns a result
649    set) twice, PHP crashes). (nielsdos)
650
651- Opcache:
652  . Fixed bug GH-13145 (strtok() is not comptime). (ilutov)
653  . Fixed type inference of range(). (ilutov)
654  . Fixed bug GH-13232 (Segmentation fault will be reported when JIT is off but
655    JIT_debug is still on). (nielsdos)
656
657- OpenSSL:
658  . Fixed LibreSSL undefined reference when OPENSSL_NO_ENGINE not set.
659   (David Carlier).
660
661- PDO_Firebird:
662  . Fix GH-13119 (Changed to convert float and double values into strings using
663    `H` format). (SakiTakamachi)
664
665- Phar:
666  . Fixed bug #71465 (PHAR doesn't know about litespeed). (nielsdos)
667  . Fixed bug GH-13037 (PharData incorrectly extracts zip file). (nielsdos)
668
669- Random:
670  . Fixed bug GH-13138 (Randomizer::pickArrayKeys() does not detect broken
671    engines). (timwolla)
672
673- Session:
674  . Fixed bug GH-12504 (Corrupted session written when there's a fatal error
675    in autoloader). (nielsdos)
676
677- Standard:
678  . Fixed bug GH-13094 (range(9.9, '0') causes segmentation fault). (nielsdos)
679
680- Streams:
681  . Fixed bug GH-13071 (Copying large files using mmap-able source streams may
682    exhaust available memory and fail). (nielsdos)
683
68418 Jan 2024, PHP 8.3.2
685
686- Core:
687  . Fixed bug GH-12953 (false positive SSA integrity verification failed when
688    loading composer classmaps with more than 11k elements). (nielsdos)
689  . Fixed bug GH-12999 (zend_strnlen build when strnlen is unsupported).
690    (rainerjung)
691  . Fixed bug GH-12966 (missing cross-compiling 3rd argument so Autoconf
692    doesn't emit warnings). (Peter Kokot)
693  . Fixed bug GH-12854 (8.3 - as final trait-used method does not correctly
694    report visibility in Reflection). (nielsdos)
695
696- Cli:
697  . Fix incorrect timeout in built-in web server when using router script and
698    max_input_time. (ilutov)
699
700- DOM:
701  . Fixed bug GH-12870 (Creating an xmlns attribute results in a DOMException).
702    (nielsdos)
703  . Fix crash when toggleAttribute() is used without a document. (nielsdos)
704  . Fix crash in adoptNode with attribute references. (nielsdos)
705  . Fixed bug GH-13012 (DOMNode::isEqualNode() is incorrect when attribute
706    order is different). (nielsdos)
707
708- FFI:
709  . Fixed bug GH-9698 (stream_wrapper_register crashes with FFI\CData).
710    (Jakub Zelenka)
711  . Fixed bug GH-12905 (FFI::new interacts badly with observers). (nielsdos)
712
713- GD:
714  . Fixed GH-13082 undefined behavior with GdFont instances handling with
715    imageload* and imagechar*. (David Carlier)
716
717- Intl:
718  . Fixed GH-12943 (IntlDateFormatter::__construct accepts 'C' as valid locale).
719    (David Carlier)
720
721- Hash:
722  . Fixed bug GH-12936 (hash() function hangs endlessly if using sha512 on
723    strings >= 4GiB). (nielsdos)
724
725- MBString:
726  . When operating on a string with invalid encoding, mb_substr (as well
727    as mb_strstr and its variants) defines character indices in the same
728    way as other mbstring functions such as mb_strpos. (Alex Dowad)
729
730- ODBC:
731  . Fix crash on Apache shutdown with persistent connections. (nielsdos)
732
733- Opcache:
734  . Fixed oss-fuzz #64727 (JIT undefined array key warning may overwrite DIM
735    with NULL when DIM is the same var as result). (ilutov)
736  . Added workaround for SELinux mprotect execheap issue.
737    See https://bugzilla.kernel.org/show_bug.cgi?id=218258. (ilutov)
738
739- OpenSSL:
740  . Fixed bug GH-12987 (openssl_csr_sign might leak new cert on error).
741    (Jakub Zelenka)
742
743- PDO:
744  . Fix GH-12969 (Fixed PDO::getAttribute() to get PDO::ATTR_STRINGIFY_FETCHES).
745    (SakiTakamachi)
746
747- PDO_ODBC:
748  . Fixed bug GH-12767 (Unable to turn on autocommit mode with setAttribute()).
749    (SakiTakamachi)
750
751- PGSQL:
752  . Fixed auto_reset_persistent handling and allow_persistent type. (David Carlier)
753  . Fixed bug GH-12974 (Apache crashes on shutdown when using pg_pconnect()).
754    (nielsdos)
755
756- Phar:
757  . Fixed bug #77432 (Segmentation fault on including phar file). (nielsdos)
758
759- PHPDBG:
760  . Fixed bug GH-12962 (Double free of init_file in phpdbg_prompt.c). (nielsdos)
761
762- SimpleXML:
763  . Fix getting the address of an uninitialized property of a SimpleXMLElement
764    resulting in a crash. (nielsdos)
765  . Fixed bug GH-12929 (SimpleXMLElement with stream_wrapper_register can
766    segfault). (nielsdos)
767
768- Tidy:
769  . Fixed bug GH-12980 (tidynode.props.attribute is missing
770    "Boolean Attributes" and empty attributes). (nielsdos)
771
77207 Dec 2023, PHP 8.3.1RC1
773
774- Core:
775  . Fixed bug GH-12758 / GH-12768 (Invalid opline in OOM handlers within
776    ZEND_FUNC_GET_ARGS and ZEND_BIND_STATIC). (Florian Engelhardt)
777  . Fix various missing NULL checks. (nielsdos, dstogov)
778  . Fixed bug GH-12835 (Leak of call->extra_named_params on internal __call).
779    (ilutov)
780  . Fixed bug GH-12826 (Weird pointers issue in nested loops). (nielsdos)
781
782- FPM:
783  . Fixed bug GH-12705 (Segmentation fault in fpm_status_export_to_zval).
784    (Patrick Prasse)
785
786- FTP:
787  . Fixed bug GH-9348 (FTP & SSL session reuse). (nielsdos)
788
789- LibXML:
790  . Fixed test failures for libxml2 2.12.0. (nielsdos)
791
792- MySQLnd:
793  . Avoid using uninitialised struct. (mikhainin)
794  . Fixed bug GH-12791 (Possible dereference of NULL in MySQLnd debug code).
795    (nielsdos)
796
797- Opcache:
798  . Fixed JIT bug (Function JIT emits "Uninitialized string offset" warning
799    at the same time as invalid offset Error). (Girgias)
800  . Fixed JIT bug (JIT emits "Attempt to assign property of non-object"
801    warning at the same time as Error is being thrown). (Girgias)
802
803- PDO PGSQL:
804  . Fixed the default value of $fetchMode in PDO::pgsqlGetNotify() (kocsismate)
805
806- SOAP:
807  . Fixed bug GH-12838 ([SOAP] Temporary WSDL cache files not being deleted).
808    (nielsdos)
809
810- Standard
811  . Fixed GH-12745 (http_build_query() default null argument for $arg_separator
812    is implicitly coerced to string). (Girgias)
813
81423 Nov 2023, PHP 8.3.0
815
816- Bcmath
817  . Fixed GH-11761 (removing trailing zeros from numbers) (jorgsowa)
818
819- CLI:
820  . Added pdeathsig to builtin server to terminate workers when the master
821    process is killed. (ilutov)
822  . Fixed bug GH-11104 (STDIN/STDOUT/STDERR is not available for CLI without
823    a script). (nielsdos)
824  . Implement GH-10024 (support linting multiple files at once using php -l).
825    (nielsdos)
826
827- Core:
828  . Fix GH-11388 (Allow "final" modifier when importing a method from a trait).
829    (nielsdos)
830  . Fixed bug GH-11406 (segfault with unpacking and magic method closure).
831    (nielsdos)
832  . Fixed bug GH-9388 (Improve unset property and __get type incompatibility
833    error message). (ilutov)
834  . SA_ONSTACK is now set for signal handlers to be friendlier to other
835    in-process code such as Go's cgo. (Kévin Dunglas)
836  . SA_ONSTACK is now set when signals are disabled. (Kévin Dunglas)
837  . Fix GH-9649: Signal handlers now do a no-op instead of crashing when
838    executed on threads not managed by TSRM. (Kévin Dunglas)
839  . Added shadow stack support for fibers. (Chen Hu)
840  . Fix bug GH-9965 (Fix accidental caching of default arguments with side
841    effects). (ilutov)
842  . Implement GH-10217 (Use strlen() for determining the class_name length).
843    (Dennis Buteyn)
844  . Fix bug GH-8821 (Improve line numbers for errors in constant expressions).
845    (ilutov)
846  . Fix bug GH-10083 (Allow comments between & and parameter). (ilutov)
847  . Zend Max Execution Timers is now enabled by default for ZTS builds on
848    Linux. (Kévin Dunglas)
849  . Fix bug GH-10469 (Disallow .. in open_basedir paths set at runtime).
850    (ilutov)
851  . Fix bug GH-10168, GH-10582 (Various segfaults with destructors and VM return
852    values). (dstogov, nielsdos, ilutov)
853  . Fix bug GH-10935 (Use of trait doesn't redeclare static property if class
854    has inherited it from its parent). (ilutov)
855  . Fix bug GH-11154 (Negative indices on empty array don't affect next chosen
856    index). (ColinHDev)
857  . Fix bug GH-8846 (Implement delayed early binding for classes without
858    parents). (ilutov)
859  . Fix bug #79836 (Segfault in concat_function). (nielsdos)
860  . Fix bug #81705 (type confusion/UAF on set_error_handler with concat
861    operation). (nielsdos)
862  . Fix GH-11348 (Closure created from magic method does not accept named
863    arguments). (nielsdos)
864  . Fix GH-11388 (Allow "final" modifier when importing a method from a trait).
865    (nielsdos)
866  . Fixed bug GH-11406 (segfault with unpacking and magic method closure).
867    (nielsdos)
868  . Fixed bug GH-11507 (String concatenation performance regression in 8.3).
869    (nielsdos)
870  . Fixed GH-11488 (Missing "Optional parameter before required" deprecation on
871    union null type). (ilutov)
872  . Implement the #[\Override] attribute RFC. (timwolla)
873  . Fixed bug GH-11601 (Incorrect handling of unwind and graceful exit
874    exceptions). (ilutov)
875  . Added zend_call_stack_get implementation for OpenBSD. (David Carlier)
876  . Add stack limit check in zend_eval_const_expr(). (Arnaud)
877  . Expose time spent collecting cycles in gc_status(). (Arnaud)
878  . Remove WeakMap entries whose key is only reachable through the entry value.
879    (Arnaud)
880  . Resolve open_basedir paths on INI update. (ilutov)
881  . Fixed oss-fuzz #60741 (Leak in open_basedir). (ilutov)
882  . Fixed segfault during freeing of some incompletely initialized objects due
883    to OOM error (PDO, SPL, XSL). (ilutov)
884  . Introduced Zend guard recursion protection to fix __debugInfo issue.
885    (Jakub Zelenka)
886  . Fixed oss-fuzz #61712 (assertion failure with error handler during binary
887    op). (nielsdos)
888  . Fixed GH-11847 (DTrace enabled build is broken). (Filip Zrůst)
889  . Fixed OSS Fuzz #61865 (Undef variable in ++/-- for declared property
890    that is unset in error handler). (Girgias)
891  . Fixed warning emitted when checking if a user stream is castable. (Girgias)
892  . Fixed bug GH-12123 (Compile error on MacOS with C++ extension when using
893    ZEND_BEGIN_ARG_WITH_RETURN_TYPE_INFO_EX). (kocsismate)
894  . Fixed bug GH-12189 (#[Override] attribute in trait does not check for
895    parent class implementations). (timwolla)
896  . Fixed OSS Fuzz #62294 (Unsetting variable after ++/-- on string variable
897    warning). (Girgias)
898  . Fixed buffer underflow when compiling memoized expression. (ilutov)
899  . Fixed oss-fuzz #63802 (OP1 leak in error path of post inc/dec). (ilutov)
900
901- Curl:
902  . Added Curl options and constants up to (including) version 7.87.
903    (nielsdos, adoy)
904
905- Date:
906  . Implement More Appropriate Date/Time Exceptions RFC. (Derick)
907
908- DOM:
909  . Fix bug GH-8388 (DOMAttr unescapes character reference). (Tim Starling)
910  . Fix bug GH-11308 (getElementsByTagName() is O(N^2)). (nielsdos)
911  . Fix #79700 (wrong use of libxml oldNs leads to performance problem).
912    (nielsdos)
913  . Fix #77894 (DOMNode::C14N() very slow on generated DOMDocuments even after
914    normalisation). (nielsdos)
915  . Revert changes to DOMAttr::$value and DOMAttr::$nodeValue expansion.
916    (nielsdos)
917  . Fixed bug GH-11500 (Namespace reuse in createElementNS() generates wrong
918    output). (nielsdos)
919  . Implemented DOMDocument::adoptNode(). Previously this always threw a
920    "not yet implemented" exception. (nielsdos)
921  . Fixed bug GH-9628 (Implicitly removing nodes from \DOMDocument breaks
922    existing references). (nielsdos)
923  . Added DOMNode::contains() and DOMNameSpaceNode::contains(). (nielsdos)
924  . Added DOMElement::getAttributeNames(). (nielsdos)
925  . Added DOMNode::getRootNode(). (nielsdos)
926  . Added DOMElement::className and DOMElement::id. (nielsdos)
927  . Added DOMParentNode::replaceChildren(). (nielsdos)
928  . Added DOMNode::isConnected and DOMNameSpaceNode::isConnected. (nielsdos)
929  . Added DOMNode::parentElement and DOMNameSpaceNode::parentElement.
930    (nielsdos)
931  . Added DOMNode::isEqualNode(). (nielsdos)
932  . Added DOMElement::insertAdjacentElement() and
933    DOMElement::insertAdjacentText(). (nielsdos)
934  . Added DOMElement::toggleAttribute(). (nielsdos)
935  . Fixed bug GH-11792 (LIBXML_NOXMLDECL is not implemented or broken).
936    (nielsdos)
937  . adoptNode now respects the strict error checking property. (nielsdos)
938  . Align DOMChildNode parent checks with spec. (nielsdos)
939  . Fixed bug #80927 (Removing documentElement after creating attribute node:
940    possible use-after-free). (nielsdos)
941  . Fix various namespace prefix conflict resolution bugs. (nielsdos)
942  . Fix calling createAttributeNS() without prefix causing the default
943    namespace of the element to change. (nielsdos)
944  . Fixed GH-11952 (Confusing warning when blocking entity loading via
945    libxml_set_external_entity_loader). (nielsdos)
946  . Fix broken cache invalidation with deallocated and reallocated document
947    node. (nielsdos)
948  . Fix compile error when php_libxml.h header is included in C++.
949    (Remi, nielsdos)
950  . Fixed bug #47531 (No way of removing redundant xmlns: declarations).
951    (nielsdos)
952
953- Exif:
954  . Removed unneeded codepaths in exif_process_TIFF_in_JPEG(). (nielsdos)
955
956- FFI:
957  . Implement GH-11934 (Allow to pass CData into struct and/or union fields).
958    (nielsdos, KapitanOczywisty)
959
960- Fileinfo:
961  . Upgrade bundled libmagic to 5.43. (Anatol)
962  . Fix GH-11408 (Unable to build PHP 8.3.0 alpha 1 / fileinfo extension).
963    (nielsdos)
964
965- FPM:
966  . The status.listen shared pool now uses the same php_values (including
967    expose_php) and php_admin_value as the pool it is shared with. (dwxh)
968  . Added warning to log when fpm socket was not registered on the expected
969    path. (Joshua Behrens, Jakub Zelenka)
970  . Fixed bug #76067 (system() function call leaks php-fpm listening sockets).
971    (Mikhail Galanin, Jakub Zelenka)
972  . Fixed GH-12077 (PHP 8.3.0RC1 borked socket-close-on-exec.phpt).
973    (Jakub Zelenka)
974
975- GD:
976  . Removed imagerotate "ignore_transparent" argument since it has no effect.
977    (David Carlier)
978
979- Intl:
980  . Added pattern format error infos for numfmt_set_pattern. (David Carlier)
981  . Added MIXED_NUMBERS and HIDDEN_OVERLAY constants for
982    the Spoofchecker's class. (David Carlier)
983  . Updated datefmt_set_timezone/IntlDateformatter::setTimezone returns type.
984    (David Carlier).
985  . Updated IntlBreakInterator::setText return type. (David Carlier)
986  . Updated IntlChar::enumCharNames return type. (David Carlier)
987  . Removed the BC break on IntlDateFormatter::construct which threw an
988    exception with an invalid locale. (David Carlier)
989
990- JSON:
991  . Added json_validate(). (Juan Morales)
992
993- LDAP:
994  . Deprecate calling ldap_connect() with separate hostname and port.
995    (heiglandreas)
996
997- LibXML:
998  . Fix compile error with -Werror=incompatible-function-pointer-types and
999    old libxml2. (nielsdos)
1000
1001- MBString:
1002  . mb_detect_encoding is better able to identify the correct encoding for
1003    Turkish text. (Alex Dowad)
1004  . mb_detect_encoding's "non-strict" mode now behaves as described in the
1005    documentation. Previously, it would return false if the same byte
1006    (for example, the first byte) of the input string was invalid in all
1007    candidate encodings. More generally, it would eliminate candidate
1008    encodings from consideration when an invalid byte was seen, and if the
1009    same input byte eliminated all remaining encodings still under
1010    consideration, it would return false. On the other hand, if all candidate
1011    encodings but one were eliminated from consideration, it would return the
1012    last remaining one without regard for how many encoding errors might be
1013    encountered later in the string. This is different from the behavior
1014    described in the documentation, which says: "If strict is set to false,
1015    the closest matching encoding will be returned." (Alex Dowad)
1016  . mb_strtolower, mb_strtotitle, and mb_convert_case implement conditional
1017    casing rules for the Greek letter sigma. For mb_convert_case, conditional
1018    casing only applies to MB_CASE_LOWER and MB_CASE_TITLE modes, not to
1019    MB_CASE_LOWER_SIMPLE and MB_CASE_TITLE_SIMPLE. (Alex Dowad)
1020  . mb_detect_encoding is better able to identify UTF-8 and UTF-16 strings
1021    with a byte-order mark. (Alex Dowad)
1022  . mb_decode_mimeheader interprets underscores in QPrint-encoded MIME
1023    encoded words as required by RFC 2047; they are converted to spaces.
1024    Underscores must be encoded as "=5F" in such MIME encoded words.
1025    (Alex Dowad)
1026  . mb_encode_mimeheader no longer drops NUL (zero) bytes when
1027    QPrint-encoding the input string. This previously caused strings in
1028    certain text encodings, especially UTF-16 and UTF-32, to be
1029    corrupted by mb_encode_mimeheader. (Alex Dowad)
1030  . Implement mb_str_pad() RFC. (nielsdos)
1031  . Fixed bug GH-11514 (PHP 8.3 build fails with --enable-mbstring enabled).
1032    (nielsdos)
1033  . Fix use-after-free of mb_list_encodings() return value. (ilutov)
1034  . Fixed bug GH-11992 (utf_encodings.phpt fails on Windows 32-bit). (nielsdos)
1035
1036- mysqli:
1037  . mysqli_fetch_object raises a ValueError instead of an Exception.
1038    (David Carlier)
1039
1040- Opcache:
1041  . Added start, restart and force restart time to opcache's
1042    phpinfo section. (Mikhail Galanin)
1043  . Fix GH-9139: Allow FFI in opcache.preload when opcache.preload_user=root.
1044    (Arnaud, Kapitan Oczywisty)
1045  . Made opcache.preload_user always optional in the cli and phpdbg SAPIs.
1046    (Arnaud)
1047  . Allows W/X bits on page creation on FreeBSD despite system settings.
1048    (David Carlier)
1049  . Added memfd api usage, on Linux, for zend_shared_alloc_create_lock()
1050    to create an abstract anonymous file for the opcache's lock. (Max Kellermann)
1051  . Avoid resetting JIT counter handlers from multiple processes/threads.
1052    (ilutov)
1053  . Fixed COPY_TMP type inference for references. (ilutov)
1054
1055- OpenSSL:
1056  . Added OPENSSL_CMS_OLDMIMETYPE and PKCS7_NOOLDMIMETYPE contants to switch
1057    between mime content types. (Daniel Kesselberg)
1058  . Fixed GH-11054: Reset OpenSSL errors when using a PEM public key.
1059    (Florian Moser)
1060  . Added support for additional EC parameters in openssl_pkey_new. (Eno-CN)
1061
1062- PCNTL:
1063  . SA_ONSTACK is now set for pcntl_signal. (Kévin Dunglas)
1064  . Added SIGINFO constant. (David Carlier)
1065
1066- PCRE:
1067  . Update bundled libpcre2 to 10.42. (nielsdos)
1068
1069- PGSQL:
1070  . pg_fetch_object raises a ValueError instead of an Exception.
1071    (David Carlier)
1072  . pg_cancel use thread safe PQcancel api instead. (David Carlier)
1073  . pg_trace new PGSQL_TRACE_SUPPRESS_TIMESTAMPS/PGSQL_TRACE_REGRESS_MODE
1074    contants support. (David Carlier)
1075  . pg_set_error_verbosity adding PGSQL_ERRORS_STATE constant. (David Carlier)
1076  . pg_convert/pg_insert E_WARNING on type errors had been converted to
1077    ValueError/TypeError exceptions. (David Carlier)
1078  . Added pg_set_error_context_visibility to set the context's visibility
1079    within the error messages. (David Carlier)
1080
1081- Phar:
1082  . Fix memory leak in phar_rename_archive(). (stkeke)
1083
1084- POSIX:
1085  . Added posix_sysconf. (David Carlier)
1086  . Added posix_pathconf. (David Carlier)
1087  . Added posix_fpathconf. (David Carlier)
1088  . Fixed zend_parse_arg_long's bool pointer argument assignment. (Cristian Rodriguez)
1089  . Added posix_eaccess. (David Carlier)
1090
1091- Random:
1092  . Added Randomizer::getBytesFromString(). (Joshua Rüsweg)
1093  . Added Randomizer::nextFloat(), ::getFloat(), and IntervalBoundary. (timwolla)
1094  . Enable getrandom() for NetBSD (from 10.x). (David Carlier)
1095  . Deprecate MT_RAND_PHP. (timwolla)
1096  . Fix Randomizer::getFloat() returning incorrect results under
1097    certain circumstances. (timwolla)
1098
1099- Reflection:
1100  . Fix GH-9470 (ReflectionMethod constructor should not find private parent
1101    method). (ilutov)
1102  . Fix GH-10259 (ReflectionClass::getStaticProperties doesn't need null return
1103    type). (kocsismate)
1104
1105- SAPI:
1106  . Fixed GH-11141 (Could not open input file: should be sent to stderr).
1107    (nielsdos)
1108
1109- Session:
1110  . Fixed bug GH-11529 (Crash after dealing with an Apache request). (nielsdos)
1111
1112- SimpleXML:
1113  . Fixed bug GH-12192 (SimpleXML infinite loop when getName() is called
1114    within foreach). (nielsdos)
1115  . Fixed bug GH-12208 (SimpleXML infinite loop when a cast is used inside a
1116    foreach). (nielsdos)
1117  . Fixed bug #55098 (SimpleXML iteration produces infinite loop). (nielsdos)
1118
1119- Sockets:
1120  . Added SO_ATTACH_REUSEPORT_CBPF socket option, to give tighter control
1121    over socket binding for a cpu core. (David Carlier)
1122  . Added SKF_AD_QUEUE for cbpf filters. (David Carlier)
1123  . Added socket_atmark if send/recv needs using MSG_OOB. (David Carlier)
1124  . Added TCP_QUICKACK constant, to give tigher control over
1125    ACK delays. (David Carlier)
1126  . Added DONTFRAGMENT support for path MTU discovery purpose. (David Carlier)
1127  . Added AF_DIVERT for raw socket for divert ports. (David Carlier)
1128  . Added SOL_UPDLITE, UDPLITE_RECV_CSCOV and UDPLITE_SEND_CSCOV for updlite
1129    protocol support. (David Carlier)
1130  . Added SO_RERROR, SO_ZEROIZE and SO_SPLICE netbsd and openbsd constants.
1131    (David Carlier)
1132  . Added TCP_REPAIR for quietly close a connection. (David Carlier)
1133  . Added SO_REUSEPORT_LB freebsd constant. (David Carlier)
1134  . Added IP_BIND_ADDRESS_NO_PORT. (David Carlier)
1135
1136- SPL:
1137  . Fixed GH-11573 (RecursiveDirectoryIterator::hasChildren is slow).
1138    (nielsdos)
1139
1140- Standard:
1141  . E_NOTICEs emitted by unserialize() have been promoted to E_WARNING. (timwolla)
1142  . unserialize() now emits a new E_WARNING if the input contains unconsumed
1143    bytes. (timwolla)
1144  . Make array_pad's $length warning less confusing. (nielsdos)
1145  . E_WARNING emitted by strtok in the caase both arguments are not provided when
1146    starting tokenisation. (David Carlier)
1147  . password_hash() will now chain the original RandomException to the ValueError
1148    on salt generation failure. (timwolla)
1149  . Fix GH-10239 (proc_close after proc_get_status always returns -1). (nielsdos)
1150  . Improve the warning message for unpack() in case not enough values were
1151    provided. (nielsdos)
1152  . Fix GH-11010 (parse_ini_string() now preserves formatting of unquoted
1153    strings starting with numbers when the INI_SCANNER_TYPED flag is
1154    specified). (ilutov)
1155  . Fix GH-10742 (http_response_code emits no error when headers were already
1156    sent). (NattyNarwhal)
1157  . Added support for rounding negative places in number_format().
1158    (Marc Bennewitz)
1159  . Prevent precision loss on formatting decimal integers in number_format().
1160    (Marc Bennewitz)
1161  . Added usage of posix_spawn for proc_open when supported by OS.
1162    (Cristian Rodriguez)
1163  . Added $before_needle argument to strrchr(). (HypeMC)
1164  . Fixed GH-11982 (str_getcsv returns null byte for unterminated enclosure).
1165    (Jakub Zelenka)
1166  . Fixed str_decrement() on "1". (ilutov)
1167
1168- Streams:
1169  . Fixed bug #51056: blocking fread() will block even if data is available.
1170    (Jakub Zelenka)
1171  . Added storing of the original path used to open xport stream.
1172    (Luc Vieillescazes)
1173  . Implement GH-8641 (STREAM_NOTIFY_COMPLETED over HTTP never emitted).
1174    (nielsdos, Jakub Zelenka)
1175  . Fix bug GH-10406 (fgets on a redis socket connection fails on PHP 8.3).
1176    (Jakub Zelenka)
1177  . Implemented GH-11242 (_php_stream_copy_to_mem: Allow specifying a maximum
1178    length without allocating a buffer of that size). (Jakub Zelenka)
1179  . Fixed bug #52335 (fseek() on memory stream behavior different than file).
1180    (Jakub Zelenka)
1181  . Fixed bug #76857 (Can read "non-existant" files). (Jakub Zelenka)
1182
1183- XSLTProcessor:
1184  . Fixed bug #69168 (DomNode::getNodePath() returns invalid path). (nielsdos)
1185
1186- ZIP:
1187  . zip extension version 1.22.0 for libzip 1.10.0. (Remi)
1188  . add new error macros (ER_DATA_LENGTH and ER_NOT_ALLOWED). (Remi)
1189  . add new archive global flags (ER_AFL_*). (Remi)
1190  . add ZipArchive::setArchiveFlag and ZipArchive::getArchiveFlag methods.
1191    (Remi)
1192