php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #64646 \r in output removes characters
Submitted: 2013-04-13 23:46 UTC Modified: 2013-04-13 23:48 UTC
From: hanskrentel at yahoo dot de Assigned:
Status: Closed Package: *General Issues
PHP Version: 5.4.14 OS: Windows XP
Private report: No CVE-ID: None
 [2013-04-13 23:46 UTC] hanskrentel at yahoo dot de
Description:
------------
I stumbled over a problem that looks to be Windows only. When outputting the \r 
character, other parts of the output seems to be eaten up:

Test script:
---------------
php -r "echo ""a\rb"";"

Expected result:
----------------
a\rb

Actual result:
--------------
b

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2013-04-13 23:48 UTC] hanskrentel at yahoo dot de
-Status: Open +Status: Closed
 [2013-04-13 23:48 UTC] hanskrentel at yahoo dot de
CR meaning. ...
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Tue Apr 30 23:01:29 2024 UTC