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
 [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

Add a Patch

Pull Requests

Add a Pull Request

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-2024 The PHP Group
All rights reserved.
Last updated: Thu Mar 28 18:01:29 2024 UTC