php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #28922 PROBLEM WITH \N \T
Submitted: 2004-06-25 15:47 UTC Modified: 2004-06-25 16:09 UTC
From: MALP at SHELMAN dot GR Assigned:
Status: Not a bug Package: Output Control
PHP Version: 4.3.7 OS: UNIX
Private report: No CVE-ID: None
View Add Comment Developer Edit
Anyone can comment on a bug. Have a simpler test case? Does it work for you on a different platform? Let us know!
Just going to say 'Me too!'? Don't clutter the database with that please !
Your email address:
MUST BE VALID
Solve the problem:
29 + 17 = ?
Subscribe to this entry?

 
 [2004-06-25 15:47 UTC] MALP at SHELMAN dot GR
Description:
------------
HELLO I HAVE NOTICED THE FOLLOWING PROBLEM.  
THE \N \T DO NOT CHANGE LINE OR CREATE A TAB  
CHARACTER CORRESPONDINGLY. I TRIED BOTH WITH  
KONQUEROR FROM LINUX AND I.E 6 FROM WINDOWS 2000. 

Reproduce code:
---------------
<?php
 $outputString = "Hello \n World \t Tab Inserted";
 echo $outputString ;
?>

Expected result:
----------------
Hello  
World 	Tab Inserted 

Actual result:
--------------
Hello World Tab Inserted 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-06-25 16:10 UTC] edink@php.net
Sorry, but your problem does not imply a bug in PHP itself.  For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system is not the
appropriate forum for asking support questions. 

Thank you for your interest in PHP.

.
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu May 30 21:01:33 2024 UTC