Home > Backend Development > PHP Problem > What does php newline represent?

What does php newline represent?

爱喝马黛茶的安东尼
Release: 2023-02-24 19:20:01
Original
5309 people have browsed it

What does php newline represent?

#What does the newline character represent in php? Let me introduce it to you:

Related recommendations: "php Getting Started Tutorial"

If it is output to the browser, use
.

If you are outputting to your own file, use "\n". Under Windows, it is "\r\n". The function of

\n is to wrap the source code. After inputting it, if you check the html source code, you will see that there is a newline, but the browser thinks it is useless and displays it the same whether it is used or not.

The above is the detailed content of What does php newline represent?. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template