Bug #12957 Updated: switched newline and carriage return ascii codes
| From: | eschmid@php.net | Date: | Sat, 25 Aug 2001 19:12:05 +0000 |
| Subject: | Bug #12957 Updated: switched newline and carriage return ascii codes | ||
| References: | 1 | Groups: | php.dev php.doc |
| Request: | Send a blank email to php-dev+get-64321@lists.php.net to get a copy of this message | ||
ID: 12957
Updated by: eschmid
Reported By: even@cycleburner.org
Old Status: Open
Status: Closed
Bug Type: Documentation problem
Operating System: -
PHP Version: 4.0.6
New Comment:
It´s now fixed in CVS. Thanks for reporting this bug.
Previous Comments:
------------------------------------------------------------------------
[2001-08-25 08:15:53] even@cycleburner.org
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 this bug report at http://bugs.php.net/?id=12957&edit=1