#39064 [NEW]: escaped character for double quotes
| From: | denny_soemo at yahoo dot com | Date: | Fri, 06 Oct 2006 14:26:27 +0000 |
| Subject: | #39064 [NEW]: escaped character for double quotes | ||
| Groups: | php.doc | ||
| Request: | Send a blank email to phpdoc+get-969374158@lists.php.net to get a copy of this message | ||
From: denny_soemo at yahoo dot com
Operating system: XP
PHP version: Irrelevant
PHP Bug Type: Documentation problem
Bug description: escaped character for double quotes
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 "
--
Edit bug report at http://bugs.php.net/?id=39064&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=39064&r=trysnapshot44
Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=39064&r=trysnapshot52
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=39064&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=39064&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=39064&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=39064&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=39064&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=39064&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=39064&r=support
Expected behavior: http://bugs.php.net/fix.php?id=39064&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=39064&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=39064&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=39064&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=39064&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=39064&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=39064&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=39064&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=39064&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=39064&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=39064&r=mysqlcfg