iconv_strlen

Supported Versions: PHP 5, PHP 7, PHP 8
Returns the character count of string
<?php iconv_strlen(string $string, ?string $encoding = null): int|false