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
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: hanskrentel at yahoo dot de
New email:
PHP Version: OS:

 

 [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: Wed May 01 00:01:30 2024 UTC