What are some best practices for adding line breaks in email messages using PHP?

When adding line breaks in email messages using PHP, it is best practice to use the PHP_EOL constant to ensure compatibility across different operating systems. This constant represents the correct end-of-line character for the current platform. By using PHP_EOL, you can ensure that line breaks are inserted correctly in the email message regardless of the operating system.

$email_message = "Hello, this is a test email message." . PHP_EOL;
$email_message .= "This is a new line in the email message." . PHP_EOL;
$email_message .= "Thank you for reading.";

// Additional email sending code here