PHP Line Endings; CRLF; CR; LF; Newline; Linebreaks

define('CR', "\r");          // Carriage Return: Mac
define('LF', "\n");         // Line Feed: Unix
define('CRLF', "\r\n");     // Carriage Return and Line Feed: Windows
define('BR', '<br />' . LF); // HTML Break
View this page on GitHub.
Posted .

Comments

Leave a Reply