Home > Article > Backend Development > Use PHP to count the number of Chinese and English characters in a string_PHP Tutorial
";
echo "Number of digits:".count($arrNum[0])."
";
echo "Number of letters:".count($arrAl[0]) ."
";
echo "Chinese number:".count($arrCh[0]);
?>