#42592 [Opn->Csd]: wordwrap warning message contains and extra . in it
| From: | pajoye@php.net | Date: | Fri, 07 Sep 2007 17:57:45 +0000 |
| Subject: | #42592 [Opn->Csd]: wordwrap warning message contains and extra . in it | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-117297@lists.php.net to get a copy of this message | ||
ID: 42592
Updated by: pajoye@php.net
Reported By: kraghuba at in dot ibm dot com
-Status: Open
+Status: Closed
Bug Type: Strings related
Operating System: linux, windows
PHP Version: 5CVS-2007-09-07 (snap)
-Assigned To:
+Assigned To: pajoye
New Comment:
This bug has been fixed in CVS.
Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
Thank you for the report, and for helping us make PHP better.
Previous Comments:
------------------------------------------------------------------------
[2007-09-07 16:46:20] kraghuba at in dot ibm dot com
Description:
------------
warning message generated by wordwrap contains a extra . char when cut
= true and width = 0
applicable to php5 and php6
Reproduce code:
---------------
<?php
var_dump( wordwrap("testing wordwrap", 0, "<br />\n", true) );
?>
Expected result:
----------------
Warning: wordwrap(): Can't force cut when width is zero in %s on line
2
bool(false)
Actual result:
--------------
Warning: wordwrap(): Can't force cut when width is zero. in %s on line
2
bool(false)
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=42592&edit=1