Skip to content

Commit 6e5127b

Browse files
committed
[Intl] Add SYMFONY_INTL_WITH_USER_ASSIGNED explanation
1 parent 31bb687 commit 6e5127b

File tree

1 file changed

+10
-0
lines changed

1 file changed

+10
-0
lines changed

components/intl.rst

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -202,6 +202,16 @@ numeric country codes::
202202
$exists = Countries::numericCodeExists('250');
203203
// => true
204204

205+
.. note::
206+
207+
When the ``SYMFONY_INTL_WITH_USER_ASSIGNED`` environment variable is set,
208+
the Symfony Intl component will also recognize user-assigned codes: ``XK``, ``XKK``, and ``983``.
209+
This allows applications to handle these codes, which is useful for supporting regions that need to use them.
210+
211+
.. versionadded:: 7.4
212+
213+
Support for ``SYMFONY_INTL_WITH_USER_ASSIGNED`` was introduced in Symfony 7.4.
214+
205215
Locales
206216
~~~~~~~
207217

0 commit comments

Comments
 (0)