function isen($str){ if(preg_match("/^[a-zA-Z\s]+$/",$str)){return true;}else{return false;}}
function ischi($str){if (preg_match('/^[\x{4e00}-\x{9fa5}]+$/u', $str) > 0) {return 1;} else if (preg_match('/[\x{4e00}-\x{9fa5}]/u', $str) > 0) {return 0.5;}else{return 0;}}
function isx1($brst,$frst){if (strpos("xx-".$brst,$frst)>0){return true;}else{return false;}}//DESCRIB (): END@()
function iso1($brst,$frst,$isxy){if ($isxy==true){if (strpos("xx-".$brst,$frst)>0){return true;}else{return false;}}else{return false;}}//DESCRIB (): END@()
function isx2($brst,$frst,$trst){if (strpos("xx-".$brst,$frst)>0 and strpos("xx-".$brst,$trst)>0){return true;}else{return false;}}//DESCRIB (): END@()
function iso2($brst,$frst,$trst){if (strpos("xx-".$brst,$frst)>0 or strpos("xx-".$brst,$trst)>0){return true;}else{return false;}}//DESCRIB (): END@()
function isx3($brst,$frst,$trst,$thrst){if (strpos("xx-".$brst,$frst)>0 and strpos("xx-".$brst,$trst)>0 and strpos("xx-".$brst,$thrst)>0){return true;}else{return false;}}//DESCRIB (): END@()
function iso3($brst,$frst,$trst,$thrst){if (strpos("xx-".$brst,$frst)>0 or strpos("xx-".$brst,$trst)>0 or strpos("xx-".$brst,$thrst)>0){return true;}else{return false;}}//DESCRIB (): END@()
isen 判断英文,ischi判断中文,剩下几个函数判断字符串里是否存在子字符串。