Re: [PHP-DEV] mail() and header folding/line endings

2009-08-21 Thread Daniel Convissor
Hi: On Fri, Aug 21, 2009 at 04:41:31PM -0400, Wietse Venema wrote: > > The Postfix sendmail command prefers input in native UNIX stream-lf > format. Postfix will jump some hoops for software that wants to > use the non-native CRLF format. It uses a switch (going from using > LF to using CRLF) and

Re: [PHP-DEV] mail() and header folding/line endings

2009-08-21 Thread Chris Smith
Joey Smith wrote: > 1) Maybe you could go back to Wietse and ask him to justify the > seemingly contradictory assertions that "text is expected to be > in native UNIX stream-LF format" [1] but "Postfix receives local > submissions in (LF or CRLF) format" [2] and "Postfix looks at > the first inpu

Re: [PHP-DEV] mail() and header folding/line endings

2009-08-21 Thread Wietse Venema
Joey Smith wrote: > 3) I don't have an Apple platform for testing, what will happen on > Mac if PHP_EOL is used as the separator for $additional_headers? I > would like to change the documentation to say "Multiple extra > headers should be separated with the PHP_EOL constant", but I'm not > the lea

Re: [PHP-DEV] mail() and header folding/line endings

2009-08-21 Thread Davey Shafik
PHP_EOL is \n on OS X. So the \r worries are not a concern. PHP_EOL would be fine in this case, assuming the OSX sendmail is fine with it. - Davey On Aug 21, 2009, at 03:11 PM, Joey Smith wrote: 3) I don't have an Apple platform for testing, what will happen on Mac if PHP_EOL is used as the

Re: [PHP-DEV] mail() and header folding/line endings

2009-08-21 Thread Wietse Venema
Joey Smith: > On Fri, Aug 21, 2009 at 04:55:31PM +0100, Chris Smith wrote: > > > > I've encountered difficulties utilising the mail() function properly > > under a NIX environments while conforming to RFC 2822. There two > > specific issues, one is a code problem the other a documentation > > issu

Re: [PHP-DEV] mail() and header folding/line endings

2009-08-21 Thread Joey Smith
On Fri, Aug 21, 2009 at 04:55:31PM +0100, Chris Smith wrote: > > I've encountered difficulties utilising the mail() function properly > under a NIX environments while conforming to RFC 2822. There two > specific issues, one is a code problem the other a documentation > issue they are intertwined s

Re: Re[5]: [PHP-DEV] Design of the Zend Engine's Instruction Set

2009-08-21 Thread Basant Kukreja
On Aug 16, 2009, at 2:25 PM, Paul Biggar wrote: I've seen that you talked about branch prediction misses in your paper. Did you ever tried to compile the original PHP with different compilers, for example from intel or sun studio? Did you test or have you ever heard of someone who tested the

Re: Re[5]: [PHP-DEV] Design of the Zend Engine's Instruction Set

2009-08-21 Thread Basant Kukreja
I have measured Quercus php performance compared to standard php with APC on a ecommerce workload and found that Quercus php performed slower than standard php + APC. Regards, Basant. On Aug 16, 2009, at 11:16 AM, Tom Boutell wrote: Re: the performance of PHP, if it's badly implemented, should

[PHP-DEV] mail() and header folding/line endings

2009-08-21 Thread Chris Smith
Hi, I've encountered difficulties utilising the mail() function properly under a NIX environments while conforming to RFC 2822. There two specific issues, one is a code problem the other a documentation issue they are intertwined so I thought best run it by here and see that people understand the