Function

mb_strlen

Synopsis

mb_strlen(string, mixed ...): int

Area
Runtime\PS\Core\Mbstring\mb_strlenareas

Description

mb_strlen returns the number of characters in $string; the $encoding argument "8bit" answers in bytes, the byte-count escape hatch for binary data, and it reads every other encoding as UTF-8.

Usage

$value = mb_strlen($arguments);
$fn = mb_strlen(...);

See also