str_word_count
reactphp/event-loop
Supported Versions: PHP 4 >= 4.3.0, PHP 5, PHP 7, PHP 8
Return information about words used in a string
<?php str_word_count
(
string $string
,
int $format
=
0
, ?
string $characters
=
null
): array|
int