mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 08:58:56 +00:00
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:
parent
3c0a275a02
commit
0c2700f492
1 changed files with 5 additions and 0 deletions
|
@ -1384,6 +1384,11 @@ echo "</PRE>\n";
|
|||
Returns <parameter>string</parameter> with '<br />' inserted
|
||||
before all newlines.
|
||||
</para>
|
||||
<para>
|
||||
Until PHP 4.0.5, <function>nl2br</function> will return
|
||||
<parameter>string</parameter> with '<br>' inserted
|
||||
before all newlines.
|
||||
</para>
|
||||
<para>
|
||||
See also <function>htmlspecialchars</function>,
|
||||
<function>htmlentities</function> and
|
||||
|
|
Loading…
Reference in a new issue