soundex – PHP String Functions
Syntax : soundex ( string ); Description : soundex() function calculates the soundex key of str. This soundex function returns a string 4 characters long, starting with a letter. Note: It creates the same key...
Syntax : soundex ( string ); Description : soundex() function calculates the soundex key of str. This soundex function returns a string 4 characters long, starting with a letter. Note: It creates the same key...
Syntax : similar_text ( string1, string2, percentage); Description : similar_text() function calculates the similarity between two strings with values and percentage. Note: The levenshtein() function is faster than the similar_text() function. However, the similar_text() function will...
Syntax : sha1 ( string, raw_output ); Description : sha1() function calculates the sha1 hash of a string. Parameter : [table caption=”” width=”100%” colwidth=”15%|15%|15%|55%” colalign=”left|lef|lef|left”] Name, Required /Optional, Value Type, Description string...
Syntax : sha1_file ( filename, raw_output ); Description : sha1_file() function calculates the sha1 hash of the file specified by filename using the » US Secure Hash Algorithm 1, and returns that hash....
Syntax : sprintf ( string_format, arg1, arg2, arg3… ); Description : The sprintf() function output a formatted string. Output will come according to the string_format. The arg1, arg2, ++ parameters will...
Syntax : setlocale ( category, locale ); Description : The setlocale() function sets the locale information. Locale information is currency format, currency symbol, language, monetary, time and other information specific for a...
Syntax : printf ( string_format, arg1, arg2, arg3… ); Description : The printf() function output a formatted string. Output will come according to the string_format. The arg1, arg2, ++ parameters will...
Syntax : quotemeta ( string ); Description : The quotemeta() function adds backslashes in front of below characters. The predefined characters are: period (.) backslash (\) plus sign (+) asterisk (*)...
Syntax : quoted_printable_decode ( string ); Description : The quoted_printable_decode() function decodes a quoted-printable string to an 8-bit string. This function returns an 8-bit binary string corresponding to the decoded quoted...
Syntax : quoted_printable_encode ( string ); Description : The quoted_printable_encode() function convert a 8 bit string to a quoted-printable string. Quoted printable string is created according to » RFC2045, section 6.7. It is same...
Syntax : print ( strings ); Description : The print() function outputs one or more strings. It is not actually a real function (it is a language construct) so you are...
Syntax : parse_str ( stringto_encode, array ); Description : The parse_str() function parses a query string into variables. Parses stringto_encode, as if it were the query string passed via a URL and...
Syntax : ord ( string ); Description : The ord() function calculates the ASCII value of first character of a string. This will convert the first byte of a string to...
Syntax : nl_langinfo ( item ); Description : nl_langinfo() function returns the locale information. nl_langinfo() is used to access individual elements of the locale categories. localeconv(), which returns all of the elements, nl_langinfo() allows you to...
Syntax : money_format ( format, number ); Description : The money_format() function formats a number to a currency string. This function inserts a formatted number where there is a percent (%)...
Syntax : metaphone ( string, key_length ) Description : metaphone() function calculates the metaphone key of string. A metaphone key represents how a string sounds if said by an English speaking person. It can...
Link Building is one of the main purpose of SEO for which you need to add landing page and specific keywords on regular basis to get good ranking in major...
Syntax : md5 ( string, raw_output ); Description : The md5() function calculates the MD5 hash of a string. The md5() function uses the RSA Data Security, Inc. MD5 Message-Digest Algorithm and...
Syntax : md5_file ( file_name, raw_output ); Description : The md5_file() function calculates the MD5 hash of a file. The md5_file() function uses the RSA Data Security, Inc. MD5 Message-Digest Algorithm....
Syntax : localeconv ( ) Description : It’s an inbuilt function of PHP. localeconv() function will Get numeric formatting information. Output : localeconv() returns data based upon the current locale as set...