How can PHP developers handle line breaks when using the echo function to output text in PHP?

When using the echo function in PHP to output text, developers can handle line breaks by using the "\n" escape sequence to insert a new line. This allows for better formatting and readability of the output text.

echo "This is line 1.\n";
echo "This is line 2.";