Home  >  Article  >  Backend Development  >  What does php newline represent?

What does php newline represent?

爱喝马黛茶的安东尼
爱喝马黛茶的安东尼Original
2019-09-25 09:08:125113browse

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!

Statement:
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