Home >Backend Development >PHP Problem >How to wrap line in php
When writing PHP script code, we often see the two characters \n and 076402276aae5dbec7f672f8f4e5cc81. They both have the function of breaking lines, so what exactly do they mean? What's the difference?
1.\n is to make the source code wrap, but the content displayed by the browser is not;
2.df250b2156c434f3390392d09b1c9563 is to make the content displayed by the browser wrap, but the source The code does not wrap.
For example, PHP code 1:
<?php echo 0; echo "\n"; echo 1; ?>
For example
<?php echo 0; echo "<br />"; echo 1; ?>
Okay, this is the difference between \n and df250b2156c434f3390392d09b1c9563, I hope it will be helpful to you Everyone is helpful.
The above is the detailed content of How to wrap line in php. For more information, please follow other related articles on the PHP Chinese website!