Bug #64646 [Opn->Csd]: \r in output removes characters

From: Date: Sat, 13 Apr 2013 23:48:37 +0000
Subject: Bug #64646 [Opn->Csd]: \r in output removes characters
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-178464@lists.php.net to get a copy of this message
Edit report at https://bugs.php.net/bug.php?id=64646&edit=1

 ID:                 64646
 User updated by:    hanskrentel at yahoo dot de
 Reported by:        hanskrentel at yahoo dot de
 Summary:            \r in output removes characters
-Status:             Open
+Status:             Closed
 Type:               Bug
 Package:            *General Issues
 Operating System:   Windows XP
 PHP Version:        5.4.14
 Block user comment: N
 Private report:     N

 New Comment:

CR meaning. ...


Previous Comments:
------------------------------------------------------------------------
[2013-04-13 23:46:10] 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


------------------------------------------------------------------------



-- 
Edit this bug report at https://bugs.php.net/bug.php?id=64646&edit=1


Thread (2 messages)

« previous php.bugs (#178464) next »