str_word_count
laravel-shift/blueprint
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