str_repeat
spatie/fork
Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Repeat a string
<?php str_repeat
(
string $string
,
int $times
):
string