#18838 [Fbk->NoF]: WordWrap output error with punctuation.

From: Date: Thu, 12 Sep 2002 06:00:01 +0000
Subject: #18838 [Fbk->NoF]: WordWrap output error with punctuation.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-19202@lists.php.net to get a copy of this message
ID: 18838 Updated by: php-bugs@lists.php.net Reported By: phpcoder@folklor.ru -Status: Feedback +Status: No Feedback Bug Type: Strings related Operating System: FreeBSD, Win (all) PHP Version: 4.1.2 New Comment: No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open". Previous Comments: ------------------------------------------------------------------------ [2002-08-10 11:21:56] sander@php.net 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. ------------------------------------------------------------------------ [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

« previous php.bugs (#19202) next »