Re: [PHP-DEV] Re: PHP 4.0 Bug #6080 Updated: fsockopen example uses "\n" for HTTP communication From: Hartmut Holzgraefe (hartmut <email protected>)
Date: 08/11/00

Bjoern Hoehrmann wrote:
> * "Hartmut Holzgraefe" <hartmut <email protected>> wrote:
> | so please lets let '\n' be LF (linefeed or _n_ewline) and '\r' CR
> | (carriage _r_eturn) as they used to be
> So i call it a bug, you call it a feature. Ok.

its neither a bug not a feature, its just a fact

from a PERL point of view you might call it a missing feature,
but it is definetly *not* a bug
 
> Maybe you should write somewhere in the manual that \n is always LF.

so http://www.php.net/manual/language.types.string.php is not clear
enough about it?

OK, i just changed it from

  \n newline
  \r carriage

to

  \n linefeed (LF or 0x0A in ASCII)
  \r cariage return (CR or 0x0D in ASCII)

--
Hartmut Holzgraefe         
  hartmut <email protected>     http://www.six.de    +49-711-99091-77 fax:-99

-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>