title: When do I use the PHP constant "PHP_EOL"?
body: <p>When is it a good idea to use <a href="http://us3.php.net/manual/en/reserved.constants.php" rel="noreferrer"><code>PHP_EOL</code></a>?</p>
  
  <p>I sometimes see this in code samples of PHP. Does this handle DOS/Mac/Unix endline issues?</p>