Skip to content

Commit 557f2d3

Browse files
author
Tobias Vorwachs
committed
mbstring: updating NEWS and UPGRADING for changed behavior of ini_set() with mbstring.detect_order
1 parent 5c2f5ce commit 557f2d3

File tree

2 files changed

+11
-0
lines changed

2 files changed

+11
-0
lines changed

NEWS

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,10 @@ PHP NEWS
2020
. Fixed bug GH-20483 (ASAN stack overflow with fiber.stack_size INI
2121
small value). (David Carlier)
2222

23+
- Mbstring:
24+
. ini_set() with mbstring.detect_order changes the order of mb_detect_order
25+
as intended, since mbstring.detect_order is an INI_ALL setting. (tobee94)
26+
2327
- Opcache:
2428
. Fixed bug GH-20051 (apache2 shutdowns when restart is requested during
2529
preloading). (Arnaud, welcomycozyhom)

UPGRADING

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,13 @@ PHP 8.6 UPGRADE NOTES
9898
When used along with ZEND_JIT_DEBUG_TRACE_EXIT_INFO, the source of exit
9999
points is printed in exit info output, in debug builds.
100100

101+
- Mbstring:
102+
. The mbstring.detect_order INI directive now updates the internal detection
103+
order when changed at runtime via ini_set(). Previously, runtime changes
104+
using ini_set() did not take effect for mb_detect_order(). Setting the
105+
directive to NULL or an empty string at runtime now leaves the previously
106+
configured detection order unchanged.
107+
101108
========================================
102109
12. Windows Support
103110
========================================

0 commit comments

Comments
 (0)