// normalize data (remove accent marks) using PHP's *intl* extension$data = normalizer_normalize($data);// replace everything NOT in the sets you specified with an underscore$data = preg_replace("#[^A-Za-z1-9]#","_", $data);
欢迎分享,转载请注明来源:内存溢出
// normalize data (remove accent marks) using PHP's *intl* extension$data = normalizer_normalize($data);// replace everything NOT in the sets you specified with an underscore$data = preg_replace("#[^A-Za-z1-9]#","_", $data);
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)