@- str_repeat() now returns correct length. (Thies)

This commit is contained in:
Thies C. Arntzen 2000-01-04 09:45:28 +00:00
parent 95cd75dce7
commit 402a9db2fe

View file

@ -2352,7 +2352,7 @@ PHP_FUNCTION(str_repeat)
}
result[result_len] = '\0';
RETURN_STRINGL(result, result_len + 1, 0);
RETURN_STRINGL(result, result_len, 0);
}
/* }}} */