str_repeat

Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Repeat a string
<?php str_repeat(string $string, int $times): string
<?php     public static function random(int $length = 16): string

    {

        return substr(str_shuffle(str_repeat(self::POOL, 5)), 0, $length);

    }
<?php test('it truncates the description', function () {

    expect(true)->toBe(true);


})->with([str_repeat('Fooo', 10)]);



$state = new stdClass();

$state->text = '';