#39064 [Opn->Bgs]: escaped character for double quotes

From: Date: Fri, 06 Oct 2006 14:35:51 +0000
Subject: #39064 [Opn->Bgs]: escaped character for double quotes
References: 1  Groups: php.doc 
Request: Send a blank email to phpdoc+get-969374159@lists.php.net to get a copy of this message
ID: 39064 Updated by: nlopess@php.net Reported By: denny_soemo at yahoo dot com -Status: Open +Status: Bogus Bug Type: Documentation problem Operating System: XP PHP Version: Irrelevant New Comment: 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 Previous Comments: ------------------------------------------------------------------------ [2006-10-06 14:26:27] 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 " ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=39064&edit=1

« previous php.doc (#969374159) next »