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

From: Date: Fri, 09 Aug 2002 20:43:28 +0000
Subject: #18838 [NEW]: WordWrap output error with punctuation.
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-16405@lists.php.net to get a copy of this message
From: phpcoder@folklor.ru Operating system: FreeBSD, Win (all) PHP version: 4.1.2 PHP Bug Type: Output Control Bug description: WordWrap output error with punctuation. 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 bug report at http://bugs.php.net/?id=18838&edit=1 -- Fixed in CVS: http://bugs.php.net/fix.php?id=18838&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=18838&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=18838&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=18838&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=18838&r=support Expected behavior: http://bugs.php.net/fix.php?id=18838&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=18838&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=18838&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=18838&r=globals

« previous php.bugs (#16405) next »