nlopess         Mon Apr 12 12:32:57 2004 EDT

  Modified files:              
    /phpdoc/en/reference/strings/functions      wordwrap.xml 
  Log:
  user note: wrong output from example 1
  
http://cvs.php.net/diff.php/phpdoc/en/reference/strings/functions/wordwrap.xml?r1=1.9&r2=1.10&ty=u
Index: phpdoc/en/reference/strings/functions/wordwrap.xml
diff -u phpdoc/en/reference/strings/functions/wordwrap.xml:1.9 
phpdoc/en/reference/strings/functions/wordwrap.xml:1.10
--- phpdoc/en/reference/strings/functions/wordwrap.xml:1.9      Sun Jul 27 07:16:33 
2003
+++ phpdoc/en/reference/strings/functions/wordwrap.xml  Mon Apr 12 12:32:57 2004
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.9 $ -->
+<!-- $Revision: 1.10 $ -->
 <!-- splitted from ./en/functions/strings.xml, last change in rev 1.142 -->
   <refentry id="function.wordwrap">
    <refnamediv>
@@ -48,9 +48,9 @@
 <![CDATA[
 <?php
 $text = "The quick brown fox jumped over the lazy dog.";
-$newtext = wordwrap($text, 20, "<br />");
+$newtext = wordwrap($text, 20, "<br />\n");
 
-echo "$newtext\n";
+echo $newtext;
 ?>
 ]]>
     </programlisting>
@@ -59,9 +59,9 @@
     </para>
     <screen>
 <![CDATA[
-The quick brown fox
-jumped over the 
-lazy dog.
+The quick brown fox<br />
+jumped over the lazy<br />
+dog.
 ]]>
      </screen>
     </example>

Reply via email to