PHP常用函数大全(新).doc

  1. 1、本文档共37页,可阅读全部内容。
  2. 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
  3. 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载
  4. 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
PHP常用函数大全(新)

PHP常用函数大全 字符串函数(important) addcslashes?–?像C语言一样使用反斜线转义字符串中的字符 addslashes?--?使用反斜线引用字符串 bin2hex?--? 将二进制数据转换成十六进制表示 chop?--?rtrim() 的别名函数 chr?--?返回指定的字符 chunk_split?--?将字符串分割成小块 convert_cyr_string?--? 将字符由一种 Cyrillic 字符转换成另一种 convert_uudecode?--? Decode a uuencoded string convert_uuencode?--? Uuencode a string count_chars?--? 返回字符串所用字符的信息 crc32?--?计算一个字符串的 crc32 多项式 crypt?–?echo?–?输出一个或者是多个字符串 explode?--?使用一个字符串分割另一个字符串 fprintf?–?get_html_translation_table?--? Returns the translation table used by // htmlspecialchars() and htmlentities() htmlspecialchars?--?将特定的字符转换成HTML实体 htmlentities?–?将所有的字符转换成HTML实体 html_entity_decode?–?将所有的HTML实体转换成对应的字符 htmlspecialchars_decode?--? 将特定的HTML实体转换为相应的字符 hebrev?--? Convert logical Hebrew text to visual text hebrevc?--? Convert logical Hebrew text to visual text with newline conversion implode?–?将一个数组的所有元素连接成一个字符串 join?--? implode()函数的别名levenshtein?--? Calculate Levenshtein distance between two strings localeconv?--?Get numeric formatting information rtrim?--?去除一个字符串右边的空白(或者是其他的字符) ltrim?--? 去除一个字符串左边的空白(或者是其他的字符) trim?–?去掉字符串左右两边的空白(或者其他字符) md5_file?–?将一个给定的文件用MD5编码 md5?--??将一个给定的字符串用MD5编码 metaphone?--?Calculate the metaphone key of a string money_format?–?将一个数字按照货币的格式进行格式化????? nl_langinfo?--? Query language and locale information nl2br?--? 将字符串中的\n换成br number_format?--?Format a number with grouped thousands ord?–?返回一个字符的ASCII值 parse_str?--?解析字符串变量 print?–?printf?–?格式化并输出该字符串 quoted_printable_decode?--? Convert a quoted-printable string to an 8 bit string quotemeta?--?Quote meta characters setlocale?--?Set locale information sha1_file?–?将一个文件用SHA1进行编码(加密) sha1?--?将一个字符串用SHA1进行编码(加密) similar_text?--?计算两个字符串之间的相似性 soundex?--计算字符串soundex key sprintf?–?返回一个格式化后的字符串 sscanf?--? Parses input from a string according to a format str_ireplace?--? Case-insensitive version of str_replace(). str_pad?--? Pad a string to a certain length with another string str_repeat?--?重复字符串str_replace?–?替换指定的字符串 str_ro

文档评论(0)

xcs88858 + 关注
实名认证
内容提供者

该用户很懒,什么也没介绍

版权声明书
用户编号:8130065136000003

1亿VIP精品文档

相关文档