Re: \n after ?> CS Stupid?
| From: | Davey Shafik | Date: | Thu, 06 Oct 2005 17:37:51 +0000 |
| Subject: | Re: \n after ?> CS Stupid? | ||
| References: | 1 | Groups: | php.pear.qa |
| Request: | Send a blank email to pear-qa+get-3093@lists.php.net to get a copy of this message | ||
Davey Shafik wrote:
Hey, 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 ?> - DaveyJust to mandate, PHP will strip a *single* \n after a ?> So this standard is fine :) - Davey