convert_uudecode

(PHP 5, PHP 7) Decode a uuencoded string string convert_uudecode ( string $data ) convert_uudecode() decodes a uuencoded string. Parameters: data The uuencoded data. Returns: Returns the decoded data as a string or FALSE on failure. Examples: convert_uudecode() example &

convert_cyr_string

(PHP 4, PHP 5, PHP 7) Convert from one Cyrillic character set to another string convert_cyr_string ( string $str, string $from, string $to ) Converts from one Cyrillic character set to another. Parameters: str The string to be converted. from The source Cyrillic character set, as a single character. to

chunk_split

(PHP 4, PHP 5, PHP 7) Split a string into smaller chunks string chunk_split ( string $body [, int $chunklen = 76 [, string $end = "\r\n" ]] ) Can be used to split a string into smaller chunks which is useful for e.g. converting base64_encode() output to match RFC 2045 semantics. It inserts end every chunklen characters. Parameters: body The string to be chunked.

chr

(PHP 4, PHP 5, PHP 7) Return a specific character string chr ( int $ascii ) Returns a one-character string containing the character specified by ascii. This function complements ord(). Parameters: ascii The ascii code. Returns: Returns the specified character. Examples: chr() exampl

chop

(PHP 4, PHP 5, PHP 7) Alias of rtrim() This function is an alias of: rtrim(). Notes: chop() is different than the Perl chop() function, which removes the last character in the string.

bin2hex

(PHP 4, PHP 5, PHP 7) Convert binary data into hexadecimal representation string bin2hex ( string $str ) Returns an ASCII string containing the hexadecimal representation of str. The conversion is done byte-wise with the high-nibble first. Parameters: str A string. Returns: Returns the hexadecimal representation of the given string.

addslashes

(PHP 4, PHP 5, PHP 7) Quote string with slashes string addslashes ( string $str ) Returns a string with backslashes before characters that need to be escaped. These characters are single quote ('), double quote ("), backslash (\) and NUL (the NULL byte). An example use of addslashes() is when you're entering data into string that is evaluated by PHP. For example, O'Reilly is stored in $str, you need to escape $str. (e.g. e

addcslashes

(PHP 4, PHP 5, PHP 7) Quote string with slashes in a C style string addcslashes ( string $str, string $charlist ) Returns a string with backslashes before characters that are listed in charlist parameter. Parameters: str The string to be escaped. charlist A list of characters to be escaped. If charlist contains characters \n, \r etc., t

ssdeep_fuzzy_hash

(PECL ssdeep >= 1.0.0) Create a fuzzy hash from a string string ssdeep_fuzzy_hash ( string $to_hash ) ssdeep_fuzzy_hash() calculates the hash of to_hash using » context-triggered piecewise hashing, and returns that hash. Parameters: to_hash The input string. Returns: Returns a string on success, FALSE otherwise.

ssdeep_fuzzy_hash_filename

(PECL ssdeep >= 1.0.0) Create a fuzzy hash from a file string ssdeep_fuzzy_hash_filename ( string $file_name ) ssdeep_fuzzy_hash_filename() calculates the hash of the file specified by file_name using » context-triggered piecewise hashing, and returns that hash. Parameters: file_name The filename of the file to hash. Returns: Returns a string