[DOC-CVS] [doc-en] master: Migration 8.5: Move setlocale

[email protected] (Jakub Vrana) Thu, 9 Jul 2026 15:24:44 +0000
Newsgroups php.doc.cvs
Message-ID <[email protected]>
Author: Jakub Vrana (vrana)
Date: 2026-07-09T17:22:53+02:00

Commit: https://github.com/php/doc-en/commit/570cdc0ceb6db0452b080c97bb5990b2a11dfbc3
Raw diff: https://github.com/php/doc-en/commit/570cdc0ceb6db0452b080c97bb5990b2a11dfbc3.diff

Migration 8.5: Move setlocale

Changed paths:
  M  appendices/migration85/incompatible.xml


Diff:

diff --git a/appendices/migration85/incompatible.xml b/appendices/migration85/incompatible.xml
index b81692aaf87b..98cb0f2e1081 100644
--- a/appendices/migration85/incompatible.xml
+++ b/appendices/migration85/incompatible.xml
@@ -442,12 +442,6 @@
    if the read_and_close value is not a valid type compatible with int.
   </simpara>
 
-  <simpara>
-   Passing an integer <literal>0</literal> as the <parameter>locales</parameter>
-   argument to <function>setlocale</function> is no longer supported and now throws
-   a <exceptionname>TypeError</exceptionname>.
-  </simpara>
-
  </sect2>
 
  <sect2 xml:id="migration85.incompatible.simplexml">
@@ -553,6 +547,12 @@
    it as a precision of 0.
   </simpara>
 
+  <simpara>
+   Passing an integer <literal>0</literal> as the <parameter>locales</parameter>
+   argument to <function>setlocale</function> is no longer supported and now throws
+   a <exceptionname>TypeError</exceptionname>.
+  </simpara>
+
  </sect2>
 
  <sect2 xml:id="migration85.incompatible.tidy">