utf8_strspn (line
19)
UTF-8 aware alternative to strspn
Find length of initial segment matching mask Note: requires utf8_strlen and utf8_substr (if start, length are used)
int
utf8_strspn
(string $str, $mask, [ $start = NULL], [ $length = NULL])
-
string
$str
-
$mask
-
$start
-
$length