Sometimes in PHP, when I need to assign a large string literal to a variable, I split the quoted string into several lines so that it can be read without scrolling 300 characters to the right. My problem is that PHP includes a new line in the actual line when it is displayed in the application. Is there a way to avoid a newline, or is there a better way to express a string literal on multiple lines? I know that I could use concatenation, but I was hoping for a more elegant solution.
Running on Debian, if that matters.
source share