Skip to content

Commit 03bd47f

Browse files
Update Length constraint description (mb_strlen)
1 parent 953a668 commit 03bd47f

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

reference/constraints/Length.rst

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -143,9 +143,8 @@ charset
143143
**type**: ``string`` **default**: ``UTF-8``
144144

145145
The charset to be used when computing value's length. The
146-
:phpfunction:`grapheme_strlen` PHP function is used if available. If not,
147-
the :phpfunction:`mb_strlen` PHP function is used if available. If neither
148-
are available, the :phpfunction:`strlen` PHP function is used.
146+
:phpfunction:`mb_check_encoding` and :phpfunction:`mb_strlen`
147+
PHP functions are used.
149148

150149
minMessage
151150
~~~~~~~~~~

0 commit comments

Comments
 (0)