mb_strlen()
Compat function to mimic mb_strlen().
Хуков нет.
Возвращает
int
. String length of $string.
Использование
mb_strlen( $string, $encoding );
- $string(строка) (обязательный)
- The string to retrieve the character length from.
- $encoding(строка|null)
- Character encoding to use.
По умолчанию: null
Заметки
- Смотрите: _mb_strlen()
Список изменений
С версии 4.2.0 | Введена. |
Код mb_strlen() mb strlen WP 6.5.2
function mb_strlen( $string, $encoding = null ) { // phpcs:ignore Universal.NamingConventions.NoReservedKeywordParameterNames.stringFound return _mb_strlen( $string, $encoding ); }