#18838 [Com]: WordWrap output error with punctuation.

From: Date: Fri, 09 Aug 2002 20:49:36 +0000
Subject: #18838 [Com]: WordWrap output error with punctuation.
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-16406@lists.php.net to get a copy of this message
ID: 18838 Comment by: phpcoder@folklor.ru Reported By: phpcoder@folklor.ru Status: Open Bug Type: Output Control Operating System: FreeBSD, Win (all) PHP Version: 4.1.2 New Comment: Maybe it's my fault, but 2 forum are down 'cause de this. When in short script, everything works... Previous Comments: ------------------------------------------------------------------------ [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 (#16406) next »