- addcslashes()
addcslashes() 函數(shù)返回在指定的字符前添加反斜杠的字符串。
- addslashes()
addslashes() 函數(shù)返回在預定義的字符前添加反斜杠的字符串。
- bin2hex()
bin2hex() 函數(shù)把 ASCII 字符的字符串轉換為十六進制值。字符串可通過使用 pack() 函數(shù)再轉換回去。
- chop()
chop() 函數(shù)移除字符串右側的空白字符或其他預定義字符。
- chr()
chr() 函數(shù)從指定 ASCII 值返回字符。
- chunk_split()
chunk_split() 函數(shù)把字符串分割為一連串更小的部分。
- convert_cyr_string()
convert_cyr_string() 函數(shù)把字符串由一種 Cyrillic 字符集轉換成另一種。
- convert_uudecode()
convert_uudecode() 函數(shù)對 uuencode 編碼的字符串進行解碼。
- convert_uuencode()
convert_uuencode() 函數(shù)使用 uuencode 算法對字符串進行編碼。
- count_chars()
count_chars() 函數(shù)返回字符串所用字符的信息(例如,ASCII 字符在字符串中出現(xiàn)的次數(shù),或者某個字符是否已經在字符串中使用過)。
- crc32()
count_chars() 函數(shù)返回字符串所用字符的信息(例如,ASCII 字符在字符串中出現(xiàn)的次數(shù),或者某個字符是否已經在字符串中使用過)。
- crypt()
crypt() 函數(shù)返回使用 DES、Blowfish 或 MD5 算法加密的字符串。
- echo()
echo() 函數(shù)輸出一個或多個字符串。
- explode()
explode() 函數(shù)把字符串打散為數(shù)組。
- fprintf()
fprintf() 函數(shù)把格式化的字符串寫入到指定的輸出流(例如:文件或數(shù)據(jù)庫)。
- get_html_translation_table()
get_html_translation_table() 函數(shù)返回 htmlentities() 和 htmlspecialchars() 函數(shù)使用的翻譯表。
- hebrev()
hebrev() 函數(shù)把希伯來文本從右至左的流轉換為左至右的流。
- hebrevc()
hebrevc() 函數(shù)把希伯來文本從右至左的流轉換為左至右的流。同時,把新行(\\n)轉換為 <br>。
- html_entity_decode()
html_entity_decode() 函數(shù)把 HTML 實體轉換為字符。
- htmlentities()
htmlentities() 函數(shù)把字符轉換為 HTML 實體。
- htmlspecialchars_decode()
htmlspecialchars_decode() 函數(shù)把一些預定義的 HTML 實體轉換為字符。
- htmlspecialchars()
htmlspecialchars() 函數(shù)把一些預定義的字符轉換為 HTML 實體。
- implode()
implode() 函數(shù)返回一個由數(shù)組元素組合成的字符串。
- join()
join() 函數(shù)返回一個由數(shù)組元素組合成的字符串。
- levenshtein()
levenshtein() 函數(shù)返回兩個字符串之間的 Levenshtein 距離。
- localeconv()
localeconv() 函數(shù)返回一個包含本地數(shù)字及貨幣格式信息的數(shù)組。
- ltrim()
ltrim() 函數(shù)移除字符串左側的空白字符或其他預定義字符。
- md5_file()
md5_file() 函數(shù)計算文件的 MD5 散列。
- md5()
md5() 函數(shù)計算字符串的 MD5 散列。
- metaphone()
metaphone() 函數(shù)計算字符串的 metaphone 鍵。
- money_format()
money_format() 函數(shù)返回格式化為貨幣字符串的字符串。
- nl_langinfo()
nl_langinfo() 函數(shù)返回指定的本地信息。
- nl2br()
nl2br() 函數(shù)在字符串中的每個新行(\\n)之前插入 HTML 換行符(<br> 或 <br />)。
- number_format()
number_format() 函數(shù)通過千位分組來格式化數(shù)字。
- ord()
ord() 函數(shù)返回字符串中第一個字符的 ASCII 值。
- parse_str()
parse_str() 函數(shù)把查詢字符串解析到變量中。
- print()
print() 函數(shù)輸出一個或多個字符串。
- printf()
printf() 函數(shù)輸出格式化的字符串。
- quoted_printable_decode()
quoted_printable_decode() 對經過 quoted-printable 編碼后的字符串進行解碼,返回 8 位的 ASCII 字符串
- quotemeta()
quotemeta() 函數(shù)在字符串中某些預定義的字符前添加反斜杠。
- rtrim()
rtrim() 函數(shù)移除字符串右側的空白字符或其他預定義字符。
- setlocale()
setlocale() 函數(shù)設置地區(qū)信息(地域信息)。
- sha1_file()
sha1_file() 函數(shù)計算文件的 SHA-1 散列。
- sha1()
sha1() 函數(shù)計算字符串的 SHA-1 散列。
- similar_text()
similar_text() 函數(shù)計算兩個字符串的相似度。
- soundex()
soundex() 函數(shù)計算字符串的 soundex 鍵。
- sprintf()
sprintf() 函數(shù)把格式化的字符串寫入一個變量中。
- sscanf()
sscanf() 函數(shù)根據(jù)指定的格式解析來自一個字符串的輸入。 sscanf() 函數(shù)基于格式字符串解析字符串到變量中。
- str_ireplace()
str_ireplace() 函數(shù)替換字符串中的一些字符(不區(qū)分大小寫)。
- str_pad()
str_pad() 函數(shù)把字符串填充為新的長度。
- str_repeat()
str_repeat() 函數(shù)把字符串重復指定的次數(shù)。
- str_replace()
str_replace() 函數(shù)替換字符串中的一些字符(區(qū)分大小寫)。
- str_rot13()
str_rot13() 函數(shù)對字符串執(zhí)行 ROT13 編碼。
- str_shuffle()
str_shuffle() 函數(shù)隨機地打亂字符串中的所有字符。
- str_split()
str_split() 函數(shù)把字符串分割到數(shù)組中。
- str_word_count()
str_word_count() 函數(shù)計算字符串中的單詞數(shù)。
- strcasecmp()
strcasecmp() 函數(shù)比較兩個字符串。
- strchr()
strchr() 函數(shù)搜索字符串在另一字符串中的第一次出現(xiàn)。
- strcmp()
strcmp() 函數(shù)比較兩個字符串。
- strcoll()
strcoll() 函數(shù)比較兩個字符串。
- strcspn()
strcspn() 函數(shù)返回在找到任何指定的字符之前,在字符串查找的字符數(shù)(包括空格)。
- strip_tags()
strip_tags() 函數(shù)剝去字符串中的 HTML、XML 以及 PHP 的標簽。
- stripcslashes()
stripcslashes() 函數(shù)刪除由 addcslashes() 函數(shù)添加的反斜杠。
- stripos()
stripos() 函數(shù)查找字符串在另一字符串中第一次出現(xiàn)的位置(不區(qū)分大小寫)。
- stripslashes()
stripslashes() 函數(shù)刪除由 addslashes() 函數(shù)添加的反斜杠。
- stristr()
stristr() 函數(shù)搜索字符串在另一字符串中的第一次出現(xiàn)。
- strlen()
strlen() 函數(shù)返回字符串的長度。
- strnatcasecmp()
strnatcasecmp() 函數(shù)使用一種"自然"算法來比較兩個字符串(不區(qū)分大小寫)。
- strnatcmp()
strnatcmp() 函數(shù)使用一種"自然"算法來比較兩個字符串(區(qū)分大小寫)。
- strncasecmp()
strncasecmp() 函數(shù)比較兩個字符串(不區(qū)分大小寫)。
- strncmp()
strncmp() 函數(shù)比較兩個字符串(區(qū)分大小寫)。
- strpbrk()
strpbrk() 函數(shù)在字符串中搜索指定字符中的任意一個。
- strpos()
strpos() f函數(shù)查找字符串在另一字符串中第一次出現(xiàn)的位置(區(qū)分大小寫)。
- strrchr()
strrchr() 函數(shù)查找字符串在另一個字符串中最后一次出現(xiàn)的位置,并返回從該位置到字符串結尾的所有字符。
- strrev()
strrev() 函數(shù)反轉字符串。
- strripos()
strripos() 函數(shù)查找字符串在另一字符串中最后一次出現(xiàn)的位置(不區(qū)分大小寫)。
- strrpos()
strrpos() 函數(shù)查找字符串在另一字符串中最后一次出現(xiàn)的位置(區(qū)分大小寫)。
- strspn()
strspn() 函數(shù)返回在字符串中包含 charlist 參數(shù)中指定的字符數(shù)目。
- strstr()
strstr() 函數(shù)搜索字符串在另一字符串中的第一次出現(xiàn)。
- strtok()
strtok() 函數(shù)把字符串分割為更小的字符串(標記)。
- strtolower()
strtolower() 函數(shù)把字符串轉換為小寫,轉小寫。
- strtoupper()
strtoupper() 函數(shù)把字符串轉換為大寫。
- strtr()
strtr() 函數(shù)轉換字符串中特定的字符。
- substr_compare()
substr_compare() 函數(shù)從指定的開始位置比較兩個字符串。
- substr_count()
substr_count() 函數(shù)計算子串在字符串中出現(xiàn)的次數(shù)。
- substr_replace()
substr_replace() 函數(shù)把字符串的一部分替換為另一個字符串。
- substr()
substr() 函數(shù)返回字符串的一部分。
- trim()
trim() 函數(shù)移除字符串兩側的空白字符或其他預定義字符。
- ucfirst()
ucfirst() 函數(shù)把字符串中的首字符轉換為大寫。
- ucwords()
ucwords() 函數(shù)把字符串中每個單詞的首字符轉換為大寫。
- vfprintf()
vfprintf() 函數(shù)把格式化的字符串寫到指定的輸出流(例如:文件或數(shù)據(jù)庫)。
- vprintf()
vprintf() 函數(shù)輸出格式化的字符串。
- vsprintf()
vsprintf() 函數(shù)把格式化字符串寫入變量中。
- wordwrap()
wordwrap() 函數(shù)按照指定長度對字符串進行折行處理。