|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2006-02-28 17:03 UTC] bjori@php.net
[2006-02-28 18:07 UTC] gruja at phy dot bg dot ac dot yu
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Dec 19 13:00:01 2025 UTC |
Description: ------------ I have found a bug on page function.str-replace.html [chm date: 2005-05-20]... When I wish to replace new line character it does insert instead. Reproduce code: --------------- $string="aaa bbb"; $string=str_replace("\n", "<br>", $string); print $string; Expected result: ---------------- aaa<br>bbb Actual result: -------------- aaa <br>bbb