note 27875 rejected from function.nl2br by goba
| From: | goba@php.net | Date: | Sun, 22 Dec 2002 19:51:59 +0000 |
| Subject: | note 27875 rejected from function.nl2br by goba | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-41214@lists.php.net to get a copy of this message | ||
1. nl2br() does *NOT REPLACE* newlines with break elements but inserts a break element before every
newline.
2. nl2br() *CHANGES THE ORIGINAL STRING* and returns a reference to it, but does not create a new
string.