cvs: phpdoc /en/reference/strings/functions wordwrap.xml

From: Date: Fri, 23 May 2003 01:08:44 +0000
Subject: cvs: phpdoc /en/reference/strings/functions wordwrap.xml
Groups: php.doc 
Request: Send a blank email to phpdoc+get-969353778@lists.php.net to get a copy of this message
dams Thu May 22 21:08:44 2003 EDT Modified files: /phpdoc/en/reference/strings/functions wordwrap.xml Log: mmm, tss tsss Index: phpdoc/en/reference/strings/functions/wordwrap.xml diff -u phpdoc/en/reference/strings/functions/wordwrap.xml:1.5 phpdoc/en/reference/strings/functions/wordwrap.xml:1.6 --- phpdoc/en/reference/strings/functions/wordwrap.xml:1.5 Thu May 22 21:05:32 2003 +++ phpdoc/en/reference/strings/functions/wordwrap.xml Thu May 22 21:08:44 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.5 $ --> +<!-- $Revision: 1.6 $ --> <!-- splitted from ./en/functions/strings.xml, last change in rev 1.142 --> <refentry id="function.wordwrap"> <refnamediv> @@ -42,10 +42,9 @@ </para> </note> </para> - <para> - <example> - <title><function>wordwrap</function> example</title> - <programlisting role="php"> + <example> + <title><function>wordwrap</function> example</title> + <programlisting role="php"> <![CDATA[ $text = "The quick brown fox jumped over the lazy dog."; $newtext = wordwrap( $text, 20 ); @@ -66,18 +65,16 @@ ]]> </screen> </example> - <para> - <example> - <title><function>wordwrap</function> example</title> - <programlisting role="php"> + <example> + <title><function>wordwrap</function> example</title> + <programlisting role="php"> <![CDATA[ $text = "A very long woooooooooooord."; $newtext = wordwrap( $text, 8, "\n", 1); echo "$newtext\n"; ]]> - </programlisting> - </para> + </programlisting> <para> This example would display: </para> @@ -91,9 +88,8 @@ ooooord. ]]> - </screen> - </example> - </para> + </screen> + </example> <para> See also <function>nl2br</function>. </para>

« previous php.doc (#969353778) next »