str_repeat

Supported Versions: PHP 4, PHP 5, PHP 7, PHP 8
Repeat a string
<?php str_repeat(string $string, int $times): string
<?php             is_string($value) &&

            preg_match('/\b('.implode('|', $sensitiveKeywords).')\b/', $this->camelToWords($name, false))

        ) {

            $value = str_repeat('•', strlen($value));

        }



        return $value;
<?php         $times = ($times instanceof Value) ? $times->value() : $times;



        return str_repeat($value, $times);

    }