Home  >  Article  >  php教程  >  php检查字符串中是否包含7位GSM字符的方法

php检查字符串中是否包含7位GSM字符的方法

WBOY
WBOYOriginal
2016-06-06 20:06:25735browse

这篇文章主要介绍了php检查字符串中是否包含7位GSM字符的方法,可实现检测手机短信GSM字符的功能,非常具有实用价值,需要的朋友可以参考下

本文实例讲述了php检查字符串中是否包含7位GSM字符的方法。分享给大家供大家参考。具体分析如下:

下面的代码检查一个字符串是否包含任何7位GSM字符。它对短信平台上工作的人非常有用。

希望本文所述对大家的php程序设计有所帮助。

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn