php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Doc Bug #39064 escaped character for double quotes
Submitted: 2006-10-06 14:26 UTC Modified: 2006-10-06 14:35 UTC
From: denny_soemo at yahoo dot com Assigned:
Status: Not a bug Package: Documentation problem
PHP Version: Irrelevant OS: 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: denny_soemo at yahoo dot com
New email:
PHP Version: OS:

 

 [2006-10-06 14:26 UTC] denny_soemo at yahoo dot com
Description:
------------
Escaped characters for new line feed (\n) , carriage return (\r) and Horizintal tab (\t) for strings between double quotes (") doesn't work as described in the documentation.

Reproduce code:
---------------
<?
echo "This is a line feed \n";
echo "This is a carriage return \r";
echo "and this is a tab \t";
echo "this is een double quote \"";
?>

Expected result:
----------------
This is a line feed 
This is a carriage return
and this is a tab           this is een double quote "

Actual result:
--------------
This is a line feed This is a carriage return and this is a tab this is een double quote "

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2006-10-06 14:35 UTC] nlopess@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php


 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Wed Jul 02 06:01:38 2025 UTC