-
- echo'hello';
- echo'world!';
- ?>
-
Copy code
output:
hello
world!
Example 2:
-
- echo'hellon'; //Unix system uses n; under windows system rn
- echo'world!';
- ?>
-
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
|