Re: More Standards - no ?> at end of file

From: Date: Thu, 04 Dec 2003 05:03:57 +0000
Subject: Re: More Standards - no ?> at end of file
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-24115@lists.php.net to get a copy of this message
On 3 Dec 2003 at 20:02, Marshall Roch wrote: > Arnaud Limbourg wrote: > >> 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. > > This 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. 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, Stefan

« previous php.pear.dev (#24115) next »