Bug #13362 Updated: function wordwrap bug
| From: | sniper@php.net | Date: | Sun, 21 Oct 2001 02:25:30 +0000 |
| Subject: | Bug #13362 Updated: function wordwrap bug | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-68533@lists.php.net to get a copy of this message | ||
ID: 13362
Updated by: sniper
Reported By: herveseignole@yahoo.fr
Old Status: Open
Status: Analyzed
Old Bug Type: Unknown/Other Function
Bug Type: Strings related
Operating System: Linux Mandrake 8.0
PHP Version: 4.0.4pl1
New Comment:
Reproduced with PHP 4.1.0RC1
Previous Comments:
------------------------------------------------------------------------
[2001-09-18 07:33:45] herveseignole@yahoo.fr
<?
$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.
php 4.0.4pl1
------------------------------------------------------------------------
Edit this bug report at http://bugs.php.net/?id=13362&edit=1