function |
Description |
Addcslashes () |
Returns a string that adds a backslash before the specified character. |
Addslashes () |
Returns a string that adds a backslash before a predefined character. |
Bin2Hex () |
Converts a string of ASCII characters to a hexadecimal value. |
Chop () |
Removes white space characters or other characters to the right of a string. |
Chr () |
Returns the character from the specified ASCII value. |
Chunk_split () |
Splits a string into a series of smaller parts. |
Convert_cyr_string () |
Converts a string from one Cyrillic character set to another. |
Convert_uudecode () |
Decodes a uuencode encoded string. |
Convert_uuencode () |
Encodes a string using the uuencode algorithm. |
Count_chars () |
Returns information about the characters used in the string. |
CRC32 () |
Computes a 32-bit CRC of a string. |
Crypt () |
One-way string encryption (hashing). |
Echo () |
Outputs one or more strings. |
Explode () |
Breaks the string into arrays. |
fprintf () |
Writes a formatted string to the specified output stream. |
Get_html_translation_table () |
Returns the translation tables used by Htmlspecialchars () and Htmlentities (). |
Hebrev () |
Converts the Hebrew text to visible text. |
HEBREVC () |
Converts the Hebrew text to visible text and converts the new line (\ n) to <br>. |
Hex2bin () |
Converts a string of hexadecimal values to ASCII characters. |
Html_entity_decode () |
Converts an HTML entity to a character. |
Htmlentities () |
Converts a character to an HTML entity. |
Htmlspecialchars_decode () |
Converts some of the predefined HTML entities to characters. |
Htmlspecialchars () |
Convert some of the predefined characters to HTML entities. |
Implode () |
Returns a string that is composed of array elements. |
Join () |
The alias of the Implode (). |
Lcfirst () |
Converts the first character of a string to lowercase. |
Levenshtein () |
Returns the Levenshtein distance between two strings. |
Localeconv () |
Returns local numeric and currency format information. |
LTrim () |
Removes white space characters or other characters to the left of a string. |
MD5 () |
Computes the MD5 hash of the string. |
Md5_file () |
Computes the MD5 hash of the file. |
Metaphone () |
Computes the Metaphone key for the string. |
Money_format () |
Returns a string formatted as a currency string. |
Nl_langinfo () |
Returns the specific local information. |
NL2BR () |
Inserts an HTML newline character before each new line in the string. |
Number_format () |
Format numbers in thousands. |
Ord () |
Returns the ASCII value of the first character in a string. |
Parse_str () |
Parses the query string into a variable. |
Print () |
Outputs one or more strings. |
printf () |
Outputs a formatted string. |
Quoted_printable_decode () |
Converts the quoted-printable string to a 8-bit string. |
Quoted_printable_encode () |
Converts a 8-bit string to a quoted-printable string. |
Quotemeta () |
The reference meta character. |
RTrim () |
Removes white space characters or other characters to the right of a string. |
SetLocale () |
Set up region information (geographic information). |
SHA1 () |
Computes the SHA-1 hash of the string. |
Sha1_file () |
Computes the SHA-1 hash of the file. |
Similar_text () |
Calculates the similarity of a two string. |
Soundex () |
Computes the Soundex key for the string. |
sprintf () |
Writes a formatted string to a variable. |
SSCANF () |
Parses input from a string according to the specified format. |
Str_getcsv () |
Parse the CSV string into the array. |
Str_ireplace () |
Replaces some of the characters in a string (insensitive to case). |
Str_pad () |
Fills the string with a new length. |
Str_repeat () |
Repeats the string to a specified number of times. |
Str_replace () |
Replaces some characters in a string (case sensitive). |
STR_ROT13 () |
Performs ROT13 encoding on the string. |
Str_shuffle () |
Randomly disrupts all characters in a string. |
Str_split () |
Splits a string into an array. |
Str_word_count () |
Calculates the number of words in a string. |
STRCASECMP () |
Compares two strings (not case sensitive). |
STRCHR () |
Finds the first occurrence of a string in another string. (The alias of the Strstr (). ) |
strcmp () |
Compares two strings (case sensitive). |
Strcoll () |
Compares two strings (based on local settings). |
STRCSPN () |
Returns the number of characters to look up in a string before any part of the specified character is found. |
Strip_tags () |
Strip the HTML and PHP tags from the string. |
Stripcslashes () |
Removes backslashes added by the addcslashes () function. |
Stripslashes () |
Removes backslashes added by the addslashes () function. |
Stripos () |
Returns the position of the first occurrence of a string in another string (not case sensitive). |
Stristr () |
Finds the position of the first occurrence of a string within another string (case insensitive). |
Strlen () |
Returns the length of the string. |
STRNATCASECMP () |
Use a "natural sort" algorithm to compare two strings (not case sensitive). |
STRNATCMP () |
Use a "natural sort" algorithm to compare two strings (case sensitive). |
STRNCASECMP () |
String comparison of the first n characters (not case sensitive). |
STRNCMP () |
A string comparison of the first n characters (case sensitive). |
STRPBRK () |
Finds any one character of a set of characters in a string. |
Strpos () |
Returns the position of the first occurrence of a string in another string (case sensitive). |
STRRCHR () |
The lookup string appears last in another string. |
Strrev () |
Reverses the string. |
Strripos () |
Finds the position of the last occurrence of a string in another string (not case sensitive). |
Strrpos () |
Finds the position of the last occurrence of a string in another string (case sensitive). |
STRSPN () |
Returns the number of specific characters contained in the string. |
Strstr () |
Finds the first occurrence of a string in another string (case sensitive). |
Strtok () |
Splits a string into smaller strings. |
Strtolower () |
Converts a string to a lowercase letter. |
Strtoupper () |
Converts a string to uppercase. |
STRTR () |
Converts a specific character in a string. |
SUBSTR () |
Returns a portion of a string. |
Substr_compare () |
Compares two strings from a specified starting position (binary security and case sensitivity). |
Substr_count () |
Calculates the number of occurrences of a substring in a string. |
Substr_replace () |
Replaces a part of a string with another string. |
Trim () |
Remove whitespace characters and other characters on either side of the string. |
Ucfirst () |
Converts the first character in a string to uppercase. |
Ucwords () |
Converts the first character of each word in a string to uppercase. |
vfprintf () |
Writes a formatted string to the specified output stream. |
vprintf () |
Outputs a formatted string. |
vsprintf () |
Writes the formatted string to the variable. |
WordWrap () |
Break string to a specified number of strings |