|
![]() |
名片设计 CorelDRAW Illustrator AuotoCAD Painter 其他软件 Photoshop Fireworks Flash |
|
Character type functions These functions check whether a character or string falls into a certain character class according to the i current locale. 这些函数根据当前现场的 i 检查一个字符或字符串是否在一个字符类里面! When called with an integer argument these functions behave exactly like their C counterparts. When called with a string argument they will check every character in the string and will only return true if every character in the string matches the requested criteria. Passing anything else but a string or integer will return false immediately.
These functions are new as of PHP 4.0.4 and might change their name in the near future. Suggestions are to change them to ctype_issomething() instead of ctype_somthing() or even to make them part of ext/standard and use their original C-names, although this would possibly lead to further confusion regarding the isset() vs. is_sometype() problem. 这些函数是 php4.04 新增加的。可能在近期改变。建议包括更改 ctype_issomething() 代替 ctype_somthing(),甚至让他们成为扩展/标准的一部分,和使用他们的原始 C_名字。尽管可能导致将来 isset() 对 is_sometype() 的混乱。 返回类别: 教程 上一教程: PHP3中文文档(续6) 下一教程: 编写PHP的安全策略 您可以阅读与"PHP4.04 新增加了专用的字符函数 Ctype"相关的教程: · PHP4.04 增加了对无限精度运算的支持 · PHP4.03的新功能 - 增加了对 Ovrimos SQL 的支持(转载)虽然PHP里对数据库的支持是越来越多。可是我还... · 如何使用PHP中的字符串函数 · PHP4与MySQL数据库操作函数详解(四) · 我错了。。是我不好。。呜呜。。负荆请罪。。(转载一篇好文章:PHP4 的新函数介绍 - 输出信息控制函数) |
![]() ![]() |
快精灵印艺坊 版权所有 |
首页![]() ![]() ![]() ![]() ![]() ![]() ![]() |