ctype_alpha函数原型范例(上例将输出:)ctype_alpha(PHP4>=4.0.4,PHP5)ctype_alpha--检查字母函数原型boolctype_alpha(stringtext)检查字母范例<?php$strings=array('KjgWZC','arf12');foreach($stringsas$testcase){if(ctype_alpha( 详情>>
ctype_cntrl函数原型范例(上例将输出:)ctype_cntrl(PHP4>=4.0.4,PHP5)ctype_cntrl--检查控制字符函数原型boolctype_cntrl(stringtext)检查控制字符范例<?php$strings=array('string1'=>"\\\r\\t",'string2'=>'arf12');foreach($ 详情>>
ctype_graph函数原型范例(上例将输出:)ctype_graph(PHP4>=4.0.4,PHP5)ctype_graph--检查是否有任何可打印字符,除了空格(补)函数原型boolctype_graph(stringtext)检查是否有任何可打印字符,除了空格(补)范例<?php$strings=array('string1'=>"asdf\\\r\\t",'st 详情>>
ctype_lower函数原型范例(上例将输出:)ctype_lower(PHP4>=4.0.4,PHP5)ctype_lower--检查小写字母函数原型boolctype_lower(stringtext)检查小写字母范例<?php$strings=array('aac123','qiutoas','QASsdks');foreach($stringsas$testcas 详情>>
ctype_print函数原型范例(上例将输出:)ctype_print(PHP4>=4.0.4,PHP5)ctype_print--检查打印字符函数原型boolctype_print(stringtext)检查打印字符范例<?php$strings=array('string1'=>"asdf\\\r\\t",'string2'=>'arf12','stri 详情>>
ctype_upper函数原型范例(上例将输出:)ctype_upper(PHP4>=4.0.4,PHP5)ctype_upper--检查大写字符函数原型boolctype_upper(stringtext)检查大写字符范例<?php$strings=array('AKLWC139','LMNSDO','akwSKWsm');foreach($stringsas$testc 详情>>
ctype.h里的函数1字符测试函数1>函数原型均为intisxxxx(int)2>参数为int,任何实参均被提升成整型3>只能正确处理处于[0,127]之间的值2字符映射函数1>函数原型为inttoxxxx(int)2>对参数进行检测,若符合范围则转换,否则不变inttolower(int);'A'~'Z'==>'a'~'z'inttouppe 详情>>
ctype_digit说明(参数返回值)范例ctype_digit(PHP4>=4.0.4,PHP5)ctype_digit--Checkfornumericcharacter(s)说明boolctype_digit(stringtext)Checksifallofthecharactersintheprovidedstring,text,arenumerical.参数textThetest 详情>>
ctype_space说明(参数返回值)范例ctype_space(PHP4>=4.0.4,PHP5)ctype_space--Checkforwhitespacecharacter(s)说明boolctype_space(stringtext)Checksifallofthecharactersintheprovidedstring,text,createswhitespace.参数tex 详情>>
ctype_xdigit说明(参数返回值)范例ctype_xdigit(PHP4>=4.0.4,PHP5)ctype_xdigit--Checkforcharacter(s)representingahexadecimaldigit说明boolctype_xdigit(stringtext)Checksifallofthecharactersintheprovidedstring,text, 详情>>
ctype_cntrl函数原型范例(上例将输出:)ctype_cntrl(PHP4>=4.0.4,PHP5)ctype_cntrl--检查控制字符函数原型boolctype_cntrl(stringtext)检查控制字符范例<?php$strings=array('string1'=>"\\\r\\t",'string2'=>'arf12');foreach($ 详情>>
ctype_graph函数原型范例(上例将输出:)ctype_graph(PHP4>=4.0.4,PHP5)ctype_graph--检查是否有任何可打印字符,除了空格(补)函数原型boolctype_graph(stringtext)检查是否有任何可打印字符,除了空格(补)范例<?php$strings=array('string1'=>"asdf\\\r\\t",'st 详情>>
ctype_lower函数原型范例(上例将输出:)ctype_lower(PHP4>=4.0.4,PHP5)ctype_lower--检查小写字母函数原型boolctype_lower(stringtext)检查小写字母范例<?php$strings=array('aac123','qiutoas','QASsdks');foreach($stringsas$testcas 详情>>
ctype_print函数原型范例(上例将输出:)ctype_print(PHP4>=4.0.4,PHP5)ctype_print--检查打印字符函数原型boolctype_print(stringtext)检查打印字符范例<?php$strings=array('string1'=>"asdf\\\r\\t",'string2'=>'arf12','stri 详情>>
ctype_upper函数原型范例(上例将输出:)ctype_upper(PHP4>=4.0.4,PHP5)ctype_upper--检查大写字符函数原型boolctype_upper(stringtext)检查大写字符范例<?php$strings=array('AKLWC139','LMNSDO','akwSKWsm');foreach($stringsas$testc 详情>>
ctype.h里的函数1字符测试函数1>函数原型均为intisxxxx(int)2>参数为int,任何实参均被提升成整型3>只能正确处理处于[0,127]之间的值2字符映射函数1>函数原型为inttoxxxx(int)2>对参数进行检测,若符合范围则转换,否则不变inttolower(int);'A'~'Z'==>'a'~'z'inttouppe 详情>>
ctype_digit说明(参数返回值)范例ctype_digit(PHP4>=4.0.4,PHP5)ctype_digit--Checkfornumericcharacter(s)说明boolctype_digit(stringtext)Checksifallofthecharactersintheprovidedstring,text,arenumerical.参数textThetest 详情>>
ctype_space说明(参数返回值)范例ctype_space(PHP4>=4.0.4,PHP5)ctype_space--Checkforwhitespacecharacter(s)说明boolctype_space(stringtext)Checksifallofthecharactersintheprovidedstring,text,createswhitespace.参数tex 详情>>
ctype_xdigit说明(参数返回值)范例ctype_xdigit(PHP4>=4.0.4,PHP5)ctype_xdigit--Checkforcharacter(s)representingahexadecimaldigit说明boolctype_xdigit(stringtext)Checksifallofthecharactersintheprovidedstring,text, 详情>>