addcslashes PHP 4.0

string addcslashes(string str, string charlist)

 

Escapes all characters mentioned in charlist with backslashes, creating octal representations if asked to backslash characters with their 8th bit set or with an ASCII value greater than 32 (except '\n' , '\r' , '\t', etc.).

addslashes PHP 3.0

string addslashes(string str)

 

Escapes single quotes, double quotes, and backslash characters in a string with backslashes.

bin2hex PHP 3.0.9

string bin2hex(string data)

 

Converts the binary representation of data to hexadecimal.

chr PHP 3.0

string chr(int ascii)

 

Converts ASCII code to a character.

chunk_split PHP 3.0.6

string chunk_split(string str[, int chunklen[, string ending]])

 

Returns split line.

count_chars PHP 4.0

mixed count_chars(string input[, int mode])

 

Returns information about what characters are used in input.

crc32 PHP 4.0.1

string crc32(string str)

 

Calculates the crc32 polynomial of a string.

crypt PHP 3.0

string crypt(string str[, string salt])

 

Encrypts a string.

echo PHP 3.0

echo string arg1[, string argn...]

 

Outputs one or more strings.

explode PHP 3.0

array explode(string separator, string str[, int limit])

 

Splits a string on string separator and returns an array of components.

get_html_translation_table PHP 4.0

array get_html_translation_table([int table[, int quote_style]])

 

Returns the internal translation table used by htmlspecialchars() and htmlentities().

get_meta_tags PHP 3.0.4

array get_meta_tags(string filename[, bool use_include_path])

 

Extracts all meta tag content attributes from a file and returns an array.

hebrev PHP 3.0

string hebrev(string str[, int max_chars_per_line])

 

Converts logical Hebrew text to visual text.

hebrevc PHP 3.0

string hebrevc(string str[, int max_chars_per_line])

 

Converts logical Hebrew text to visual text with newline conversion.

html_entity_decode PHP 4.3.0

string html_entity_decode(string string[, int quote_style][, string charset])

 

Converts all HTML entities to their applicable characters.

htmlentities PHP 3.0

string htmlentities(string string[, int quote_style][, string charset])

 

Converts all applicable characters to HTML entities.

htmlspecialchars PHP 3.0

string htmlspecialchars(string string[, int quote_style][, string charset])

 

Converts special characters to HTML entities.

implode PHP 3.0

string implode(array src, string glue)

 

Joins array elements placing glue string between items and returns one string.

join PHP 3.0

string join(array src, string glue)

 

An alias for implode().

levenshtein PHP 3.0.1.7

int levenshtein(string str1, string str2)

 

Calculates Levenshtein distance between two strings.

localeconv PHP 4.0.5

array localeconv(void)

 

Returns numeric formatting information based on the current locale.

ltrim PHP 3.0

string ltrim(string str[, string character_mask])

 

Strips whitespace from the beginning of a string.

md5_file PHP 4.1.0

string md5_file(string filename)

 

Calculates the md5 hash of given filename.

md5 PHP 3.0

string md5(string str)

 

Calculates the md5 hash of a string.

metaphone PHP 4.0

string metaphone(string text, int phones)

 

Breaks English phrases down into their phonemes.

nl_langinfo PHP 4.1.0

string nl_langinfo(int item)

 

Queries language and locale information.

nl2br PHP 3.0

string nl2br(string str)

 

Converts newlines to HTML line breaks.

number_format PHP 3.0

string number_format(float number[, int num_decimal_places[, string dec_seperator, string thousands_seperator]])

 

Formats a number with grouped thousands.

ord PHP 3.0

int ord(string character)

 

Returns ASCII value of character.

parse_str PHP 3.0

void parse_str(string encoded_string[, array result])

 

Parses GET/POST/Cookie data and sets global variables.

print PHP 3.0

bool print(string arg)

 

Outputs a string.

printf PHP 3.0

int printf(string format[, mixed arg1[, mixed ...]])

 

Outputs a formatted string.

quoted_printable_decode PHP 3.0.6

string quoted_printable_decode(string str)

 

Converts a quoted-printable string to an 8 bit string.

quotemeta PHP 3.0

string quotemeta(string str)

 

Quotes meta characters.

rtrim PHP 3.0

string rtrim(string str[, string character_mask])

 

Removes trailing whitespace.

setlocale PHP 3.0

string setlocale(mixed category, string locale)

 

Sets locale information.

sha1_file PHP 4.3.0

string sha1_file(string filename)

 

Calculates the sha1 hash of given filename.

sha1 PHP 4.3.0

string sha1(string str)

 

Calculates the sha1 hash of a string.

similar_text PHP 3.0.7

int similar_text(string str1, string str2[, float percent])

 

Calculates the similarity between two strings.

soundex PHP 3.0

string soundex(string str)

 

Calculates the soundex key of a string.

sprintf PHP 3.0

string sprintf(string format[, mixed arg1[, mixed ...]])

 

Returns a formatted string.

sscanf PHP 4.0.1

mixed sscanf(string str, string format[, string ...])

 

Implements an ANSI C compatible sscanf().

str_pad PHP 4.0.1

string str_pad(string input, int pad_length[, string pad_string[, int pad_type]])

 

Returns input string padded on the left or right to specified length with pad_string.

str_repeat PHP 4.0

string str_repeat(string input, int mult)

 

Returns the input string repeated mult times.

str_replace PHP 3.0.6

mixed str_replace(mixed search, mixed replace, mixed subject[, bool boyer])

 

Replaces all occurrences of search in subject with replace.

str_rot13 PHP 4.1.0

string str_rot13(string str)

 

Performs the rot13 transform on a string.

strcasecmp PHP 3.0.2

int strcasecmp(string str1, string str2)

 

Performs a binary safe case-insensitive string comparison.

strchr PHP 3.0

string strchr(string haystack, string needle)

 

An alias for strstr().

strcmp PHP 3.0

int strcmp(string str1, string str2)

 

Performs a binary safe string comparison.

strcoll PHP 4.0.5

int strcoll(string str1, string str2)

 

Compares two strings using the current locale.

strcspn PHP 3.0.3

int strcspn(string str, string mask)

 

Finds length of initial segment consisting entirely of characters not found in mask.

strip_tags PHP 3.0.8

string strip_tags(string str[, string allowable_tags])

 

Strips HTML and PHP tags from a string.

stripcslashes PHP 4.0

string stripcslashes(string str)

 

Strips backslashes from a string; uses C-style conventions.

stripslashes PHP 3.0

string stripslashes(string str)

 

Strips backslashes from a string.

stristr PHP 3.0.6

string stristr(string haystack, string needle)

 

Finds first occurrence of a string within another (case-insensitive).

strlen PHP 3.0

int strlen(string str)

 

Gets string length.

strnatcasecmp PHP 4.0

int strnatcasecmp(string s1, string s2)

 

Returns the result of case-insensitive string comparison using natural algorithm.

strnatcmp PHP 4.0

int strnatcmp(string s1, string s2)

 

Returns the result of string comparison using natural algorithm.

strncasecmp PHP 4.0.2

int strncasecmp(string str1, string str2, int len)

 

Performs a binary safe string comparison of len characters.

strncmp PHP 4.0

int strncmp(string str1, string str2, int len)

 

Performs a binary safe string comparison of len characters.

strpos PHP 3.0

int strpos(string haystack, string needle[, int offset])

 

Finds position of first occurrence of a string within another.

strrchr PHP 3.0

string strrchr(string haystack, string needle)

 

Finds the last occurrence of a character in a string within another.

strrev PHP 3.0

string strrev(string str)

 

Reverses a string.

strrpos PHP 3.0

int strrpos(string haystack, string needle)

 

Finds position of last occurrence of a character in a string within another.

strspn PHP 3.0.3

int strspn(string str, string mask)

 

Finds length of initial segment consisting entirely of characters found in mask.

strstr PHP 3.0

string strstr(string haystack, string needle)

 

Finds first occurrence of a string within another.

strtok PHP 3.0

string strtok([string str,] string token)

 

Tokenizes a string.

strtolower PHP 3.0

string strtolower(string str)

 

Makes a string lowercase.

strtoupper PHP 3.0

string strtoupper(string str)

 

Makes a string uppercase.

strtr PHP 3.0

string strtr(string str, string from, string to)

 

Translates characters in str using given translation tables.

substr_count PHP 4.0

int substr_count(string haystack, string needle)

 

Returns the number of times a substring occurs in the string.

substr_replace PHP 4.0

string substr_replace(string str, string repl, int start[, int length])

 

Replaces part of a string with another string.

substr PHP 3.0

string substr(string str, int start[, int length])

 

Returns part of a string.

trim PHP 3.0

string trim(string str[, string character_mask])

 

Strips whitespace from the beginning and end of a string.

ucfirst PHP 3.0

string ucfirst(string str)

 

Makes a string's first character uppercase.

ucwords PHP 3.0.3

string ucwords(string str)

 

Uppercases the first character of every word in a string.

vprintf PHP 4.1.0

int vprintf(string format, array args)

 

Outputs a formatted string.

vsprintf PHP 4.1.0

string vsprintf(string format, array args)

 

Returns a formatted string.

wordwrap PHP 4.0.2

string wordwrap(string str[, int width[, string break[, int cut]]])

 

Wraps buffer to selected number of characters using string break character.