Re: cvs: pear /Math_Numbers Roman.php
| From: | Daniel Convissor | Date: | Mon, 26 Apr 2004 16:38:31 +0000 |
| Subject: | Re: cvs: pear /Math_Numbers Roman.php | ||
| References: | 1 | Groups: | php.pear.cvs |
| Request: | Send a blank email to pear-cvs+get-18769@lists.php.net to get a copy of this message | ||
Hi Folks:
On Mon, Apr 26, 2004 at 06:32:33PM +0200, Klaus Guenther wrote:
>
> The problem with trailing whitespace is that it outputs whitespace, thereby
> breaking header output. It may be that simply a \n at the end of the file
> does not cause this breakage.
A "unix" formatted file has a single trailing \n at the end. This does
not impact headers. Most, if not all, unix based editors put the trailing
\n at the end automatically even if you try to delete it, but most windows
based editors do not, so it must be put in manually.
> I've heard it's a good idea to simply drop the ?> at the end
> of the file.
Yeah, it's a good idea. This was discussed a few months back on pear-dev
and the decision was made to stick with the closing ?>.
See you,
--Dan
--
T H E A N A L Y S I S A N D S O L U T I O N S C O M P A N Y
data intensive web and database programming
http://www.AnalysisAndSolutions.com/
4015 7th Ave #4, Brooklyn NY 11232 v: 718-854-0335 f: 718-854-0409