count_chars
spatie/fork
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Return information about characters used in a string
<?php count_chars
(
string $string
,
int $mode
=
0
): array|
string