From 08d3e700fa0f8debcf8364ee4cca6c31771619c5 Mon Sep 17 00:00:00 2001 From: James Moore Date: Mon, 26 Feb 2001 13:04:00 +0000 Subject: [PATCH] Fix for bug #9449 to stop infinate loop in wordwrap. --- ext/standard/string.c | 1 + 1 file changed, 1 insertion(+) 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; -- 2.40.0