cvs: phpdoc-ru /reference/strings/functions wordwrap.xml

From: Date: Wed, 14 Apr 2004 06:48:01 +0000
Subject: cvs: phpdoc-ru /reference/strings/functions wordwrap.xml
Groups: php.doc.ru 
Request: Send a blank email to doc-ru+get-306@lists.php.net to get a copy of this message
tony2001 Wed Apr 14 02:48:01 2004 EDT Modified files: /phpdoc-ru/reference/strings/functions wordwrap.xml Log: sync with EN version (blindman) http://cvs.php.net/diff.php/phpdoc-ru/reference/strings/functions/wordwrap.xml?r1=1.1&r2=1.2&ty=u Index: phpdoc-ru/reference/strings/functions/wordwrap.xml diff -u phpdoc-ru/reference/strings/functions/wordwrap.xml:1.1 phpdoc-ru/reference/strings/functions/wordwrap.xml:1.2 --- phpdoc-ru/reference/strings/functions/wordwrap.xml:1.1 Mon Apr 12 04:41:57 2004 +++ phpdoc-ru/reference/strings/functions/wordwrap.xml Wed Apr 14 02:48:01 2004 @@ -1,6 +1,6 @@ <?xml version="1.0" encoding="windows-1251"?> -<!-- EN-Revision: 1.9 Maintainer: blindman Status: ready --> -<!-- $Revision: 1.1 $ --> +<!-- EN-Revision: 1.10 Maintainer: blindman Status: ready --> +<!-- $Revision: 1.2 $ --> <!-- splitted from ./en/functions/strings.xml, last change in rev 1.142 --> <refentry id="function.wordwrap"> <refnamediv> @@ -48,9 +48,8 @@ <![CDATA[ <?php $text = "The quick brown fox jumped over the lazy dog."; -$newtext = wordwrap($text, 20, "<br />"); - -echo "$newtext\n"; +$newtext = wordwrap($text, 20, "<br />\n"); +echo "$newtext"; ?> ]]> </programlisting> @@ -59,9 +58,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> @@ -116,3 +115,5 @@ vim: et tw=78 syn=sgml vi: ts=1 sw=1 --> + +

« previous php.doc.ru (#306) next »