note 112408 deleted from function.nl2br by googleguy
| From: | googleguy@php.net | Date: | Thu, 13 Jun 2013 11:01:06 +0000 |
| Subject: | note 112408 deleted from function.nl2br by googleguy | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-195146@lists.php.net to get a copy of this message | ||
Note Submitter: some frog
----
In my humble (but explosive!) opinion, I would suggest to put in the introduction, with bold
underlined capitalised words, that nl2br ADDS a <br /> to a line break and does not REPLACE it
as its name may suggest.
The introduction says it in too... cautious way.
Beginners (like me) would avoid getting mad for hours before understanding what happens and re-read
the definition to finally understand why things are going crazy. Ok, that's a good way to teach
beginners to fully and deeply read the definition, but I can tell you that in a rushtime, after a
hard working day, well...
Thank you anyway guys.