CHR (9), CHR (10), CHR (13), CHR (32), CHR (34)
All ASCII code tables: [url] http://www.asciitable.com/#/url]
CHR (13) is a carriage return
CHR (10) is a line break
CHR (32) is a space character
9 \ 34 is a tab, not sure?
The following are some
Chr (9), Chr (10), Chr (13), Chr (32), Chr (34)All About ASCII code table: [Url]http://www.asciitable.com/[/url]Chr (13) is a carriage returnCHR (10) is a newline character.Chr (32) is a spaces9\34 is tab, not OK?Here are some of the columns
Chr (13) is a carriage return Chr (10) is a newline character Chr (32) is a spaces 9\34 is tab, not OK?
Chr (13) is a carriage return Chr (10) is a newline character Chr (32) is a spaces 9\34 is tab, not OK?
Here are some of the columns
Chr
(PHP 4, PHP 5, PHP 7)
Chr-return a specific character
chr-returns the specified character
Descriptionchr($ascii)//Returns a one-character string containing the character specified by ascii.//返回相对应于 ascii
PHP functions: Master the applications of ord () and chr () functions. The third part of the Chinese character encoding Study Series, the PHP function section, master the application of the ord () and chr () functions, in the previous [PHP Basics],
The CHR function is used to convert an ASCII code to a character, the Ord function is used to convert a character to ASCII ASCII code that is the computer can display the character encoding, its value range is 0-255, including punctuation, letters,
The functions of these two functions are exactly the opposite of the CHR function, which returns characters from the specified ASCII value and the Ord () function returns the ASCII value of the first character of the string. Understand that this
In php, chr () is converted between ascii characters and corresponding numbers, but why can the following code output Chinese characters? For example, Chinese characters & #039; sense & #039; unt-8 code is e6849f; $ achr (hexdec (& #039; e6 & #039 ;)
The ord () function converts a character to a decimal number, and the chr () function converts a decimal number to a character. in binary, octal, the relationship between decimal and hexadecimal forms serves as a bridge between Chinese character
The ord () function converts a character to a decimal number, and the chr () function converts a decimal number to a character. in binary, octal, the relationship between decimal and hexadecimal forms serves as a bridge between Chinese character
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.