Re: question regarding file format standard

From: Date: Thu, 09 Dec 2004 04:41:45 +0000
Subject: Re: question regarding file format standard
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-34935@lists.php.net to get a copy of this message
pear-dev@lists.php.net http://pear.php.net/manual/en/standards.file.php says there should be one newline after ?>\n the example on the next page gives ?>\n\n which would output one newline after the script. Nick at Luniac dotcom ps: pls cc responses to me On Wed, Dec 08, 2004 at 09:23:41PM -0500, Daniel Convissor wrote: > On Wed, Dec 08, 2004 at 06:03:02PM -0800, Nick Kramer wrote: > > > Why do the PEAR File Format standards request that scripts end with > > an extra line feed following the closing php tag? It seems it would > > also add that exta linefeed to all output > > Unix formatted files contain a \n after the last character in a file. > That \n does not get translated into output by PHP. > > --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

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