\n after ?> CS Stupid?
| From: | Davey Shafik | Date: | Sun, 18 Sep 2005 17:42:13 +0000 |
| Subject: | \n after ?> CS Stupid? | ||
| Groups: | php.pear.qa | ||
| Request: | Send a blank email to pear-qa+get-3032@lists.php.net to get a copy of this message | ||
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 ?>
- Davey