mirror of
https://github.com/php/php-src.git
synced 2025-08-18 06:58:55 +02:00
@- str_repeat() now returns correct length. (Thies)
This commit is contained in:
parent
95cd75dce7
commit
402a9db2fe
1 changed files with 1 additions and 1 deletions
|
@ -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);
|
||||
}
|
||||
/* }}} */
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue