Re: More Standards - no ?> at end of file
| From: | Justin Patrin | Date: | Thu, 04 Dec 2003 06:26:47 +0000 |
| Subject: | Re: More Standards - no ?> at end of file | ||
| References: | 1 2 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-24117@lists.php.net to get a copy of this message | ||
I also agree. -1
Stefan Neufeind wrote:
On 3 Dec 2003 at 20:02, Marshall Roch wrote:Arnaud Limbourg wrote:Agreed with Marshall. I'm also strongly -1 for removing ?> since it is the usual end-tag anf for clean-code-reason shouldn't be omitted, from my view. Just take care of those files having an extra line at the end of the file. Regards, StefanThis only would happen if there is an extra line at the end of a PEAR file, and in most cases, that probably isn't the case. Why bother to remove it? It's just as easy to not include the extra line.This has a couple of benefits. - prevents output accidentally occuring and breaking sessions/cookies etc.. - one less token to parse.. Thoughts.......yes, it would be a good idea. New packages can do that easily and old packages modifed as time goes.