user note: wrong output from example 1

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@155785 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Nuno Lopes 2004-04-12 16:32:57 +00:00
parent 33a11889dc
commit 5df1c51595

View file

@ -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 @@ echo "$newtext\n";
</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>