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
Did this help you? Please let me know with a comment. Thank you
Posted .

Comments (RSS)

Leave a comment