mb_strwidth

PHP 4 >= 4.0.6, PHP 5, PHP 7, PHP 8
mb_strwidth - Return width of string
Manual
Code Examples

Example #1 mb_strwidth example

Result: int(1) int(2)
PHP Version: