|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2007-09-07 17:57 UTC] pajoye@php.net
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Mon Oct 27 02:00:01 2025 UTC |
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)