note 15573 added to function.wordwrap
| From: | herveseignole at yahoo dot fr | Date: | Tue, 18 Sep 2001 11:22:35 +0000 |
| Subject: | note 15573 added to function.wordwrap | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-18116@lists.php.net to get a copy of this message | ||
bug with wordwrap:
<?
$text="A very long woooooooooooord.";
$newtext=wordwrap($text,8," ",1);
echo "$newtext\n";
?>
return:
A very long woooooooooooo rd.
not
A very long wooooooo ooooord.
?????
http://www.php.net/manual/en/function.wordwrap.php