From:             [EMAIL PROTECTED]
Operating system: W2K
PHP version:      4.0 Latest CVS (25/02/2001)
PHP Bug Type:     Reproduceable crash
Bug description:  wordwrap runs into infinite loop

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.


-- 
Edit Bug report at: http://bugs.php.net/?id=9449&edit=1



-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to