How can line breaks be added before the "[" in the given PHP script?
To add line breaks before the "[" in the given PHP script, you can use the PHP heredoc syntax. This allows you to define a block of text without having to escape quotes or special characters. By using heredoc syntax, you can easily format the output with line breaks before the "[".
<?php
$output = <<<EOD
Lorem ipsum dolor sit amet,
consectetur adipiscing elit,
sed do eiusmod tempor incididunt
[Lorem ipsum]
EOD;
echo $output;
?>