PHP 4.0 Bug #6079: "\n" evaluates to LF (0x0a) on Win32 (should be CRLF)
| From: | php-bugs at bjoernsworld dot de | Date: | Thu, 10 Aug 2000 21:05:19 +0000 |
| Subject: | PHP 4.0 Bug #6079: "\n" evaluates to LF (0x0a) on Win32 (should be CRLF) | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-28391@lists.php.net to get a copy of this message | ||
From: php-bugs@bjoernsworld.de
Operating system:
PHP version: 4.0.1pl2
PHP Bug Type: Misbehaving function
Bug description: "\n" evaluates to LF (0x0a) on Win32 (should be CRLF)
On Win32 \n is CRLF.
<?
$s = "\n";
print strlen($s);
?>
Result is '1'.