ID: 42592 Updated by: [EMAIL PROTECTED] 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
