📅  最后修改于: 2022-03-11 14:54:20.640000             🧑  作者: Mango
if(ctype_alnum($string)){
echo "Yes, It's an alphanumeric string/text";
}
else{
echo "No, It's not an alphanumeric string/text";
}