note 112408 added to function.nl2br

From: Date: Thu, 13 Jun 2013 10:57:23 +0000
Subject: note 112408 added to function.nl2br
Groups: php.notes 
Request: Send a blank email to php-notes+get-195144@lists.php.net to get a copy of this message
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. ---- Server IP: 69.147.83.199 Probable Submitter: 194.177.46.1 ---- Manual Page -- http://php.net/manual/en/function.nl2br.php Edit -- https://master.php.net/note/edit/112408 Del: integrated -- https://master.php.net/note/delete/112408/integrated Del: useless -- https://master.php.net/note/delete/112408/useless Del: bad code -- https://master.php.net/note/delete/112408/bad+code Del: spam -- https://master.php.net/note/delete/112408/spam Del: non-english -- https://master.php.net/note/delete/112408/non-english Del: in docs -- https://master.php.net/note/delete/112408/in+docs Del: other reasons-- https://master.php.net/note/delete/112408 Reject -- https://master.php.net/note/reject/112408 Search -- https://master.php.net/manage/user-notes.php

« previous php.notes (#195144) next »