cvs: phpdoc /en/functions strings.xml

From: Date: Tue, 22 May 2001 16:11:31 +0000
Subject: cvs: phpdoc /en/functions strings.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969335505@lists.php.net to get a copy of this message
danbeck Tue May 22 09:11:31 2001 EDT Modified files: /phpdoc/en/functions strings.xml Log: clarified XHTML compatibility change to nl2br Index: phpdoc/en/functions/strings.xml diff -u phpdoc/en/functions/strings.xml:1.88 phpdoc/en/functions/strings.xml:1.89 --- phpdoc/en/functions/strings.xml:1.88 Mon May 21 10:56:06 2001 +++ phpdoc/en/functions/strings.xml Tue May 22 09:11:30 2001 @@ -1389,11 +1389,14 @@ Returns <parameter>string</parameter> with '&lt;br /&gt;' inserted before all newlines. </para> + <note> <para> - Until PHP 4.0.5, <function>nl2br</function> will return - <parameter>string</parameter> with '&lt;br&gt;' inserted - before all newlines. + Starting with PHP 4.0.5, <function>nl2br</function> is now XHTML + complaint. All versions before 4.0.5 will return + <parameter>string</parameter> with '&lt;br&gt;' inserted before + newlines instead of '&lt;br /&gt;'. </para> + </note> <para> See also <function>htmlspecialchars</function>, <function>htmlentities</function> and

« previous php.doc (#969335505) next »