PHP 4.0 Bug #9408 Updated: Mistakable description of nl2br()
| From: | torben@php.net | Date: | Fri, 23 Feb 2001 00:07:33 +0000 |
| Subject: | PHP 4.0 Bug #9408 Updated: Mistakable description of nl2br() | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-47306@lists.php.net to get a copy of this message | ||
ID: 9408
Updated by: torben
Reported By: j-f@gmx.net
Old-Status: Open
Status: Closed
Bug Type: Documentation problem
Assigned To:
Comments:
Thanks for the report; fixed in CVS.
Cheers,
Torben
Previous Comments:
---------------------------------------------------------------------------
[2001-02-22 15:01:11] j-f@gmx.net
The two sentences in the documentation of nl2br() are contradictory (only the second one is true):
- "Converts newlines to HTML line breaks"
- "Returns string with '<BR>' inserted before all newlines."
In the german version of the manual the description also suggests that the newlines are *replaced*.
May be you think it's a unimportant flaw, but in de.comp.lang.php it is a really frequently
asked question - so please fix it. :-)
---------------------------------------------------------------------------
ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at http://bugs.php.net/?id=9408&edit=2