Re: Consider only ignoring newlines for final ?> in a file

From: Date: Thu, 07 Sep 2017 14:15:00 +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-100444@lists.php.net to get a copy of this message
> > > 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? > > Captain Obvious here. It has long been the policy of many large PHP projects to not close the last PHP tag for this reason. This change wouldn't affect them. It risks affecting projects without this policy, and those tend to be older and often private.

« previous php.internals (#100444) next »