Re: Consider only ignoring newlines for final ?> in a file
| From: | Sara Golemon | Date: | Thu, 07 Sep 2017 05:23:58 +0000 |
| Subject: | Re: Consider only ignoring newlines for final ?> in a file | ||
| References: | 1 | Groups: | php.internals |
| Request: | Send a blank email to internals+get-100430@lists.php.net to get a copy of this message | ||
> On Sep 6, 2017, at 18:45, Andrea Faulds <ajf@ajf.me> wrote:
> Would anyone object to me changing how PHP handles this so that only the final ?> tag
> consumes its following newline, and only at the end of the file?
>
I object. It's a change in ancient behavior that has the potential to break existing code for
superficial reasons.
We'd never design it that way today, but that die is long cast.
-1
-Sara