From:             [EMAIL PROTECTED]
Operating system: -
PHP version:      4.0.4pl1
PHP Bug Type:     Documentation problem
Bug description:  Mistakable description of nl2br()

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. :-)

Edit Bug report at:

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to