Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>as you have observed there are different ways to create a new line.</p> <h2><strong><code>&lt;br /&gt;</code></strong></h2> <p>this is not a new line character, this is an <strong>XHTML</strong> tag which means, it works in XHTML. correctly speaking it is not a new line character but the tag makes sure, one is inserted = it forces a line break. closing tag is mandatory.</p> <p><a href="http://www.w3.org/TR/xhtml1/#diffs" rel="nofollow noreferrer">XHTML specs</a></p> <hr> <h2><strong><code>&lt;br&gt;</code></strong></h2> <p>this is a HTML tag which forces a line break. closing tag is prohibited.</p> <p><a href="http://www.w3.org/TR/1999/REC-html401-19991224/struct/text.html#h-9.3.2" rel="nofollow noreferrer">HTML 4.1 specs</a></p> <hr> <h2><strong><code>\n</code></strong></h2> <p>is an escape sequence for the ASCII new line char LF. A common problem is the use of '\n' when communicating using an Internet protocol that mandates the use of ASCII CR+LF for ending lines. Writing '\n' to a text mode stream works correctly on Windows systems, but produces only LF on Unix, and something completely different on more exotic systems. Using "\r\n" in binary mode is slightly better, as it works on many ASCII-compatible systems, but still fails in the general case. One approach is to use binary mode and specify the numeric values of the control sequence directly, "\x0D\x0A".</p> <p><a href="http://en.wikipedia.org/wiki/Newline" rel="nofollow noreferrer">read more</a></p> <hr> <h2><strong>PHP_EOL</strong></h2> <p>is a php new line constant which is replaced by the correct system dependent new line.</p> <p>so the message is, use everything in it's right place.</p>
    singulars
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
    2. VO
      singulars
      1. This table or related slice is empty.
    3. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload