PHP 4.0 Bug #9449 Updated: wordwrap runs into infinite loop

From: Date: Mon, 26 Feb 2001 12:11:47 +0000
Subject: PHP 4.0 Bug #9449 Updated: wordwrap runs into infinite loop
Groups: php.dev 
Request: Send a blank email to php-dev+get-47543@lists.php.net to get a copy of this message
ID: 9449 Updated by: jmoore Reported By: j-f@gmx.net Status: Open Bug Type: Reproduceable crash Assigned To: Comments: This seems to happen when $break is over 2 chars, Ill look at it later. James Previous Comments: --------------------------------------------------------------------------- [2001-02-25 20:55:09] j-f@gmx.net May be related to bug id #9339. If a word in $string reaches (really! - see below) or exceeds the $width length, $cut is unset *and* a break string like "<br>" is given, wordwrap() runs into a infinite loop... :-( Example: echo wordwrap("1234567890", 10, "<br>"); I'm running php4.0.5-dev-win32-20010220.exe from www.php4win.de witch Apache on W2K AS. --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=9449&edit=2

« previous php.dev (#47543) next »