Author name: Tutor Network Team

PHP setlocale() Function

what is the syntax of the SETLOCALE() function in php? Parameter Description constant Required. Specifies what locale information should be set.Available constants:LC_ALL – All of the belowLC_COLLATE –  Sort orderLC_CTYPE – Character classification and conversion (e.g. all characters should be lower or upper-case)LC_MESSAGES – System message formattingLC_MONETARY – Monetary/currency formattingLC_NUMERIC – Numeric formattingLC_TIME – Date …

PHP setlocale() Function Read More »

PHP rtrim() Function

what is the syntax of the RTRIM() function in php? Parameter Description string Required. Specifies the string to check charlist Optional. Specifies which characters to remove from the string. If omitted, all of the following characters are removed:”\0″ – NULL”\t” – tab”\n” – new line”\x0B” – vertical tab”\r” – carriage return” ” – ordinary white …

PHP rtrim() Function Read More »

PHP quotemeta() Function

what is the syntax of the QUOTEMETA() function in php? Parameter Description string Required. Specifies the string to check PHP QUOTEMETA() method examples of the QUOTEMETA() function Examples 1. In this example, we add backslashes in front of the predefined characters. Examples 2. In this example, add backslashes in front of many predefined characters.

PHP quoted_printable_decode() Function

what is the syntax of the QUOTED_PRINTABLE_DECODE() function in php? Parameter Description string Required. Specifies the quoted-printable string to be decoded PHP QUOTED_PRINTABLE_DECODE() method examples of the QUOTED_PRINTABLE_DECODE() function Examples 1. In this example, we decode a quoted-printable string to an 8-bit ASCII string:

PHP printf() Function

what is the syntax of the PRINTF() function in php? Parameter Description format Required. Specifies the string and how to format the variables in it.Possible format values:%% – Returns a percent sign%b – Binary number%c – The character according to the ASCII value%d – Signed decimal number (negative, zero or positive)%e – Scientific notation using …

PHP printf() Function Read More »

PHP ord() Function

what is the syntax of the ORD() function in php? Parameter Description string Required. The string to get an ASCII value from PHP ORD() method examples of the ORD() function Examples 1. In this example, we return the ASCII value of “h”.

en English
X
Scroll to Top