betz Sun Jul 27 07:16:33 2003 EDT Modified files: /phpdoc/en/reference/strings/functions wordwrap.xml Log: bugfix #24823 Index: phpdoc/en/reference/strings/functions/wordwrap.xml diff -u phpdoc/en/reference/strings/functions/wordwrap.xml:1.8 phpdoc/en/reference/strings/functions/wordwrap.xml:1.9 --- phpdoc/en/reference/strings/functions/wordwrap.xml:1.8 Mon Jun 16 06:44:37 2003 +++ phpdoc/en/reference/strings/functions/wordwrap.xml Sun Jul 27 07:16:33 2003 @@ -1,5 +1,5 @@ <?xml version="1.0" encoding="iso-8859-1"?> -<!-- $Revision: 1.8 $ --> +<!-- $Revision: 1.9 $ --> <!-- 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, "<br />"); echo "$newtext\n"; ?>
-- PHP Documentation Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php