note 46875 deleted from function.wordwrap by sean
| From: | sean@php.net | Date: | Tue, 26 Oct 2004 20:59:33 +0000 |
| Subject: | note 46875 deleted from function.wordwrap by sean | ||
| References: | 1 | Groups: | php.notes |
| Request: | Send a blank email to php-notes+get-79141@lists.php.net to get a copy of this message | ||
Note Submitter: webmaster at webmaster-debutant dot net
----
The second example of this function is false. The correct syntax for the result :
Un mot
très
très
looooooo
oooooooo
ooong.
is this code :
<?php
$text = "Un mot très très loooooooooooooooooong.";
$newtext = wordwrap($text,8,"<br>",1);
echo "$newtext\n";
?>
----
Reason: non-english