echo $str = "43fdf test fdsfadaf43543543 employee asked about anti-theft lock anti-theft lock 5345gfdgd";
preg_match_all("/[0-9]{1}/",$str,$arrNum);
preg_match_all("/[a-zA-Z]{1}/",$str ,$arrAl);
preg_match_all("/([/x{4e00}-/x{9fa5}]){1}/u",$str,$arrCh);
echo "
";
echo "Number of digits:".count($arrNum[0])."
";
echo "Number of letters:".count($arrAl[0]) ."
";
echo "Chinese number:".count($arrCh[0]);
?>