#18838 [Opn->Fbk]: WordWrap output error with punctuation.
| From: | sander@php.net | Date: | Sat, 10 Aug 2002 15:21:56 +0000 |
| Subject: | #18838 [Opn->Fbk]: WordWrap output error with punctuation. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-16448@lists.php.net to get a copy of this message | ||
ID: 18838
Updated by: sander@php.net
Reported By: phpcoder@folklor.ru
-Status: Open
+Status: Feedback
-Bug Type: Output Control
+Bug Type: Strings related
Operating System: FreeBSD, Win (all)
PHP Version: 4.1.2
New Comment:
This is what your sample script gives me.
!!!!!!!!!!!!!!!!!!!!
<P>
!!!!!!!!!!!!!!!!!!!!
<P>
!!!!!!!!!!!!!!!!!!!!
<P>
!!!!!!!!!!!!!!!!!!!!
<P>
!!!!!!!!!!!!!!!!!!!!
<P>
!!!!!!!!!!!!!!!!!!!!
<P>
!!!!!!!!!!!!!!!!!!!!
<P>
!!!!!!!!!!!!!!!!!!!!
<P>
!!!!!!!!!!!!!!!!!!!!
Please post your output and try a (non-STABLE) snapshot from
http://snaps.php.net.
Previous Comments:
------------------------------------------------------------------------
[2002-08-09 16:49:36] phpcoder@folklor.ru
Maybe it's my fault, but 2 forum are down 'cause de this. When in short
script, everything works...
------------------------------------------------------------------------
[2002-08-09 16:43:28] phpcoder@folklor.ru
WordWrap function works improperly (don't wraps) if gets not letters
but ! and ? signs, maybe more.
$error = str_repeat("!", 180);
$output = wordwrap( $error, 20, "\n<P>\n", 1 );
print $output;
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=18838&edit=1