I would like it to look readable when displaying echo html source, for which I thought to use the characters \ n and \ s. For example, I expected that echo "test \ ntest" would output in the view-source: test test But as a result I see test \ ntest. Hence the question of how to make a conclusion using echo, so that when viewing the source code, the \ n symbol is not output, but processed by the source code viewer as a line break?
PHP_EOL...... i.e. in general should be eitherecho "<ul>test\n</ul>";orecho '<ul>test'.PHP_EOL.'</ul>';- Alexey Shimansky