#26932 [NEW]: Problem with output of escape sequences
| From: | mom_ka_banu at yahoo dot co dot uk | Date: | Fri, 16 Jan 2004 10:26:12 +0000 |
| Subject: | #26932 [NEW]: Problem with output of escape sequences | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-53416@lists.php.net to get a copy of this message | ||
From: mom_ka_banu at yahoo dot co dot uk
Operating system: Linux 9(Shrike)
PHP version: 4.3.4
PHP Bug Type: Output Control
Bug description: Problem with output of escape sequences
Description:
------------
when i write a php script like
<?php
echo "This prints a newline\nagain a new line\tnow a tab";
?>
when i save this file as abc.php and ope it in mozilla or Konqueror the
output is
This prints a newlineagain a new linenow a tab
It simply bypasses all escape characters like \t or \n
Expected result:
----------------
How to fix it
--
Edit bug report at http://bugs.php.net/?id=26932&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=26932&r=trysnapshot4
Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=26932&r=trysnapshot5
Fixed in CVS: http://bugs.php.net/fix.php?id=26932&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=26932&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=26932&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=26932&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=26932&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=26932&r=support
Expected behavior: http://bugs.php.net/fix.php?id=26932&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=26932&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=26932&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=26932&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=26932&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=26932&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=26932&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=26932&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=26932&r=float