derick          Mon Jun 16 06:44:37 2003 EDT

  Modified files:              
    /phpdoc/en/reference/strings/functions      wordwrap.xml 
  Log:
  - Fixed example
  
Index: phpdoc/en/reference/strings/functions/wordwrap.xml
diff -u phpdoc/en/reference/strings/functions/wordwrap.xml:1.7 
phpdoc/en/reference/strings/functions/wordwrap.xml:1.8
--- phpdoc/en/reference/strings/functions/wordwrap.xml:1.7      Fri May 30 12:47:59 
2003
+++ phpdoc/en/reference/strings/functions/wordwrap.xml  Mon Jun 16 06:44:37 2003
@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="iso-8859-1"?>
-<!-- $Revision: 1.7 $ -->
+<!-- $Revision: 1.8 $ -->
 <!-- splitted from ./en/functions/strings.xml, last change in rev 1.142 -->
   <refentry id="function.wordwrap">
    <refnamediv>
@@ -48,7 +48,7 @@
 <![CDATA[
 <?php
 $text = "The quick brown fox jumped over the lazy dog.";
-$newtext = wordwrap( $text, 20 );
+$newtext = wordwrap($text, 20);
 
 echo "$newtext\n";
 ?>
@@ -60,9 +60,7 @@
     <screen>
 <![CDATA[
 The quick brown fox
-
 jumped over the 
-
 lazy dog.
 ]]>
      </screen>
@@ -73,7 +71,7 @@
 <![CDATA[
 <?php
 $text = "A very long woooooooooooord.";
-$newtext = wordwrap( $text, 8, "\n", 1);
+$newtext = wordwrap($text, 8, "\n", 1);
 
 echo "$newtext\n";
 ?>
@@ -85,11 +83,8 @@
     <screen>
 <![CDATA[
 A very
-
 long
-
 wooooooo
-
 ooooord.
 ]]>
      </screen>



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

Reply via email to