Wrong parameter type in examples

git-svn-id: https://svn.php.net/repository/phpdoc/en/trunk@233190 c90b9560-bf6c-de11-be94-00142212c4b1
This commit is contained in:
Kouber Saparev 2007-04-03 16:26:07 +00:00
parent 54e801107f
commit 6b55f575ed

View file

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="iso-8859-1"?>
<!-- $Revision: 1.13 $ -->
<!-- $Revision: 1.14 $ -->
<!-- splitted from ./en/functions/strings.xml, last change in rev 1.142 -->
<refentry id="function.wordwrap">
<refnamediv>
@ -31,7 +31,7 @@
are not given.
</para>
<para>
If the <parameter>cut</parameter> is set to 1, the string is
If the <parameter>cut</parameter> is set to &true;, the string is
always wrapped at the specified width. So if you have a word
that is larger than the given width, it is broken apart.
(See second example).
@ -71,7 +71,7 @@ dog.
<![CDATA[
<?php
$text = "A very long woooooooooooord.";
$newtext = wordwrap($text, 8, "\n", 1);
$newtext = wordwrap($text, 8, "\n", true);
echo "$newtext\n";
?>