对码当歌,猿生几何?
Toggle navigation
猿客奇谈
首页
PHP
Web前端
数据库
服务器
Unix编程
Shell
Java
C/C++
Python
大数据
AI
手册
其他
小工具
« 预定义常量
ctype_alnum »
PHP Manual
Ctype
Ctype 函数
Ctype 函数
Table of Contents
ctype_alnum
— 做字母和数字字符检测
ctype_alpha
— 做纯字符检测
ctype_cntrl
— 做控制字符检测
ctype_digit
— 做纯数字检测
ctype_graph
— 做可打印字符串检测,空格除外
ctype_lower
— 做小写字符检测
ctype_print
— 做可打印字符检测
ctype_punct
— 检测可打印的字符是不是不包含空白、数字和字母
ctype_space
— 做空白字符检测
ctype_upper
— 做大写字母检测
ctype_xdigit
— 检测字符串是否只包含十六进制字符