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

Comments

Leave a Reply