Re: \n after ?> CS Stupid?
| From: | Arnaud Limbourg | Date: | Sun, 18 Sep 2005 17:48:18 +0000 |
| Subject: | Re: \n after ?> CS Stupid? | ||
| References: | 1 | Groups: | php.pear.doc php.pear.qa |
| Request: | Send a blank email to pear-doc+get-6856@lists.php.net to get a copy of this message | ||
> Sorry for the somewhat cryptic subject, I am referring to the
> last point on this page:
>
> http://pear.php.net/manual/en/standards.file.php
>
> If we mandate that all files should have a single \n after the closing
> ?> we run the risk of people including PEAR stuff before doing headers
> stuff and running into Headers already sent errors. I don't know who on
> earth though this was a good idea. Is there some reason for this that I
> have no idea about?
>
> Please can we remove this? And in fact, mandate the opposite, no
> code should output anything outside of <?php and ?>
I agree it should be removed, I usually don't have one and even remove
it when I see one. I have no idea why it is there.
I'm cross-posting this to pear-doc to get some feedback there as well.
Arnaud.