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: [EMAIL PROTECTED]
WWW: http://www.itcqis.com/

--
PHP Documentation Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to