PHP Learning Series (1)--String processing function (4), PHP function
16. The HEBREVC () function converts a right-to-left stream of Hebrew text to a left-to-right stream. It will also convert the new line (\ n) to。 Only ASCII characters between 224
PHP Learning Series (1) -- string processing functions (4), php Functions
16. The hebrevc () function switches the flow of Hebrew text from right to left to the flow from left to right. It also converts the new line (\ n) to . Only ASCII characters
16. The HEBREVC () function converts a right-to-left stream of Hebrew text to a left-to-right stream. It also converts the new line (\ n) to . Only ASCII characters between 224 and 251, as well as punctuation marks, are affected.Syntax: Hebrev
Case-sensitive conversion functions
Strtolower ()Strtoupper ()Ucfirst ()Ucword ()
Text HTML Tag processing function
Nl2br ()Htmllentities ()Htmlspecialchars ()Stripslashes ()Strip_tags ()Number_format ()Strrev ()MD5 ()
// Convert to lowercase$ A =
Php built-in function examples
Strtolower ()
Strtoupper ()
Ucfirst ()
Ucword ()
Text html tag processing function
Nl2br ()Htmllentities ()Htmlspecialchars ()Stripslashes ()Strip_tags ()Number_format ()Strrev ()Md5 ()
// Convert to lowercase$
As a PHP programmer, it is necessary to master and memorize some commonly used PHP functions, the following authors will be collected about the array aspects of PHP, PHP system aspects, PHP file processing aspects, PHP string processing, PHP
PHP built-in function example tutorial, built-in function instance tutorial
Uppercase and lowercase conversion related functionsStrtolower ()Strtoupper ()Ucfirst ()Ucword ()
Text HTML tag handler function
NL2BR ()Htmllentities ()Htmlspecialchars
Uppercase and lowercase conversion related functions
Strtolower ()
Strtoupper ()
Ucfirst ()
Ucword ()
Text HTML tag handler function
NL2BR ()Htmllentities ()Htmlspecialchars ()Stripslashes ()Strip_tags ()Number_format ()Strrev ()MD5 ()
Common php functions, php Functions
PHP string functions are the core component of PHP. These functions can be used without installation.
Function
Description
Addcslashes ()
Returns the string with the backslash added before
How to deal with the format of the amount, front-end and PHP such as 10.55 yuan, in order to unify the display of the website, should we use number_format in PHP to convert it to display it on the page, or do we say PHP only uses floatval, it is
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.