From: [EMAIL PROTECTED] Operating system: Linux PHP version: 4.0.6 PHP Bug Type: Reproducible crash Bug description: wordwrap crashes with 4 parameters and width=0 hi, i discovered a small bug in wordwrap. if you call this function with 4 parameters and a width of 0 your php-script will crash/timeout. <pre> <?php $string = "the quick brown fox ..."; echo wordwrap($string, 0, "\n", 1),"\n"; ?> </pre> here is an inconsistency with the 2-parameter version, which returns all words separated by \n in this case regards marc -- Edit bug report at: http://bugs.php.net/?id=12768&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]