php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #17370 join function not expanding \n
Submitted: 2002-05-22 16:27 UTC Modified: 2002-05-22 16:32 UTC
From: david at ols dot es Assigned:
Status: Not a bug Package: Scripting Engine problem
PHP Version: 4.2.0 OS: REdhat 7.1
Private report: No CVE-ID: None
 [2002-05-22 16:27 UTC] david at ols dot es
$arr=file("test.txt");
$txt=join('\n',$arr);
echo $txt

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-05-22 16:32 UTC] mfischer@php.net
Sorry, but the bug system is not the appropriate forum for asking
support questions. 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

Thank you for your interest in PHP.
 [2002-05-22 16:32 UTC] mfischer@php.net
Use "\n"
 
PHP Copyright © 2001-2025 The PHP Group
All rights reserved.
Last updated: Fri Dec 19 23:00:01 2025 UTC