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
Welcome back! If you're the original bug submitter, here's where you can edit the bug or add additional notes.
If you forgot your password, you can retrieve your password here.
Password:
Status:
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

Pull Requests

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-2025 The PHP Group
All rights reserved.
Last updated: Mon Jun 02 21:01:27 2025 UTC