Examples of using line breaks and (n or rn and br) in php

WBOY
Release: 2016-07-25 09:04:43
Original
1070 people have browsed it
  1. echo'hello
    ';
  2. echo'world!';
  3. ?>
Copy code

output: hello world!

Example 2:

  1. echo'hellon'; //Unix system uses n; under windows system rn
  2. echo'world!';
  3. ?>
Copy code

output: helloworld!

Through the above two examples, I believe you have understood the application scenarios of n, rn and
in php. Articles you may be interested in: php fwrite writes txt file rn solution cannot wrap



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