PHP算法判断字母

判断字母 

public function panDuanZimu($word)
{
        return preg_match('/[a-zA-Z]/', $word);
}
发布了658 篇原创文章 · 获赞 73 · 访问量 12万+

猜你喜欢

转载自blog.csdn.net/fujian9544/article/details/103820428