From: James Moore Date: Mon, 26 Feb 2001 13:04:00 +0000 (+0000) Subject: Fix for bug #9449 to stop infinate loop in wordwrap. X-Git-Tag: php-4.0.5RC1~161 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=08d3e700fa0f8debcf8364ee4cca6c31771619c5;p=php Fix for bug #9449 to stop infinate loop in wordwrap. --- diff --git a/ext/standard/string.c b/ext/standard/string.c index 3cdfe319a0..a2ed4fd857 100644 --- a/ext/standard/string.c +++ b/ext/standard/string.c @@ -463,6 +463,7 @@ PHP_FUNCTION(wordwrap) break; } } + l ++; } } i += l+1;