3 ms·
> A large number of text editors automatically add a newline at the end of a non-empty final line ... and doesn't PHP ignore it? I believe so. You actually nee
by contingencies 14y ago
> A large number of text editors automatically add a newline at the end of a non-empty final line
... and doesn't PHP ignore it? I believe so. You actually need two newlines to cause issue, ie. "?>\n\n".
And, anyway, the solution is trivial and good practice anyway, on a number of levels. So why continue to argue? Sometimes people don't like to change their habits.
PS. Many editors can be configured to add "?>" for you, too!