Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Repeat a string
str_repeat(string $stringint $times): string
        ['method' => $method'statusCode' => $statusCode] = $request;



        
$dots str_repeat('.'max($terminalWidth strlen($method.$url.$duration.$memory) - 160));



        if (empty(
$dots) && ! $this->output->isVerbose()) {

            
$url substr($url0$terminalWidth strlen($method.$duration.$memory) - 15 3).'...';
        $command->requestInfo([

            
'method' => 'POST',

            
'url' => 'http://127.0.0.1:8080/'.str_repeat('foo'100),

            
'statusCode' => 500,

            
'memory' => 30393560,

            
'duration' => 4567854,