mirror of
https://github.com/sigmasternchen/php-doc-en
synced 2025-03-16 00:48:54 +00:00
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:
parent
33a11889dc
commit
5df1c51595
1 changed files with 6 additions and 6 deletions
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue