Bug #12957: switched newline and carriage return ascii codes
| From: | even at cycleburner dot org | Date: | Sat, 25 Aug 2001 12:15:53 +0000 |
| Subject: | Bug #12957: switched newline and carriage return ascii codes | ||
| Groups: | php.dev php.doc | ||
| Request: | Send a blank email to php-dev+get-64303@lists.php.net to get a copy of this message | ||
From: even@cycleburner.org
Operating system: -
PHP version: 4.0.6
PHP Bug Type: Documentation problem
Bug description: switched newline and carriage return ascii codes
In the manual entries for trim, ltrim and trim, the ASCII code for newline
is listed as 13, and the ASCII code for carriage return is listed as 10.
It should be the other way around,
i.e. line feed/newline is ASCII 10 (0x0a), and carriage return is ASCII 13
(0x0D).
--
Edit bug report at: http://bugs.php.net/?id=12957&edit=1