Added new behaviour of nl2br()

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@45758 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Damien Seguy 2001-04-24 07:27:01 +00:00
parent 3c0a275a02
commit 0c2700f492

View file

@ -1384,6 +1384,11 @@ echo "</PRE>\n";
Returns <parameter>string</parameter> with '&lt;br /&gt;' inserted
before all newlines.
</para>
<para>
Until PHP 4.0.5, <function>nl2br</function> will return
<parameter>string</parameter> with '&lt;br&gt;' inserted
before all newlines.
</para>
<para>
See also <function>htmlspecialchars</function>,
<function>htmlentities</function> and