Home > Article > Backend Development > 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!