Re: Newline

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Monday 29 October 2007, Nathan Nobbe wrote:
> if you were going to do that you may as well use PHP_EOL
> its cross-platform and doesnt require an define directive.
> (php5 only)

It's available in 4.3.10 as well, but manual doesn't specify what it 
defines - I suppose I can echo or vardump it to find out. Also manual 
doesn't mention "cross-platform", in any case even if it 
is "cross-platform" it seems pointless because how does PHP know which 
environment the output is going to be used in? I 
define 'CR', 'LF', 'CRLF' and use them as circumstances dictate.

-- 
Crayon

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux