排序
str_replace
PHP str_replace() 函数定义和用法str_replace() 函数使用一个字符串替换字符串中的另一些字符。语法str_replace(find,replace,string,count)参数描述find必需。规定要查找的值。replace必需...
str_repeat
PHP str_repeat() 函数定义和用法str_repeat() 函数把字符串重复指定的次数。语法str_repeat(string,repeat)参数描述string必需。规定要重复的字符串。repeat必需。规定字符串将被重复的次数...
str_pad
PHP str_pad() 函数定义和用法str_pad() 函数把字符串填充为指定的长度。语法str_pad(string,length,pad_string,pad_type)参数描述string必需。规定要填充的字符串。length必需。规定新字符串...
str_ireplace
PHP str_ireplace() 函数定义和用法str_ireplace() 函数使用一个字符串替换字符串中的另一些字符。语法str_ireplace(find,replace,string,count)参数描述find必需。规定要查找的值。replace必...
sscanf
PHP sscanf() 函数定义和用法sscanf() 函数根据指定的格式解析来自一个字符串的输入。如果只向该函数传递两个参数,数据将以数组的形式返回。否则,如果传递了额外的参数,那么被解析的数据会...
sprintf
PHP sprintf() 函数定义和用法sprintf() 函数把格式化的字符串写写入一个变量中。语法sprintf(format,arg1,arg2,arg++)参数描述format必需。转换格式。arg1必需。规定插到 format 字符串中第...
soundex
PHP soundex() 函数定义和用法soundex() 函数计算字符串的 soundex 键。soundex 键是 4 字符长的字母数字字符串,表示一个单词的英文发音。soundex() 函数可用于拼写检查程序。如果成功,则返...
similar_text
PHP similar_text() 函数定义和用法similar_text() 函数计算两个字符串的匹配字符的数目。该函数也可以计算两个字符串的相似度(以百分比计)。语法similar_text(string1,string2,percent)参...
sha1_file
PHP sha1_file() 函数定义和用法sha1_file() 函数计算文件的 SHA-1 散列。sha1() 函数使用美国 Secure Hash 算法 1。如果成功,则返回所计算的 SHA-1 散列,如果失败,则返回 false。语法sha1...
sha1
PHP sha1() 函数定义和用法sha1() 函数计算字符串的 SHA-1 散列。sha1() 函数使用美国 Secure Hash 算法 1。如果成功,则返回所计算的 SHA-1 散列,如果失败,则返回 false。语法sha1(string,...
