PHP 4.0 Bug #9408: Mistakable description of nl2br()

From: Date: Thu, 22 Feb 2001 20:01:11 +0000
Subject: PHP 4.0 Bug #9408: Mistakable description of nl2br()
Groups: php.dev 
Request: Send a blank email to php-dev+get-47282@lists.php.net to get a copy of this message
From: j-f@gmx.net 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: http://bugs.php.net/?id=9408&edit=1

« previous php.dev (#47282) next »