php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #12957 switched newline and carriage return ascii codes
Submitted: 2001-08-25 08:15 UTC Modified: 2001-08-25 15:12 UTC
From: even at cycleburner dot org Assigned:
Status: Closed Package: Documentation problem
PHP Version: 4.0.6 OS: -
Private report: No CVE-ID: None
 [2001-08-25 08:15 UTC] even at cycleburner dot 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).

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2001-08-25 15:12 UTC] eschmid@php.net
It?s now fixed in CVS. Thanks for reporting this bug.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Fri Mar 29 01:01:28 2024 UTC