Documentation for nl2br()

From: Date: Sun, 22 Dec 2002 10:49:04 +0000
Subject: Documentation for nl2br()
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969350368@lists.php.net to get a copy of this message
Hello dear PHP documentation team, I suggest you add in the documentation that 1. nl2br() does *NOT REPLACE* newlines with break elements but inserts a break element before every newline. 2. nl2br() *CHANGES THE ORIGINAL STRING* and returns a reference to it, but does not create a new string. If this were already included, it had saved me a lot of time and confusion. When you add this, you should remove my comment from the nl2br() documentation. Bye -- ITCQIS GmbH Christian Wolfgang Hujer Geschäftsführender Gesellschafter Telefon: +49 (0)89 27 37 04 37 Telefax: +49 (0)89 27 37 04 39 E-Mail: Christian.Hujer@itcqis.com WWW: http://www.itcqis.com/

« previous php.doc (#969350368) next »