PHP str_repeat() Function — Tutorialio

Usage — The PHP str_repeat() function is used to repeat a string given number of times.

Return Value — This function returns a string in which the input string is repeated multiplier times.

PHP Version and Changelog — The str_repeat() function is available in PHP 4, PHP 5, PHP 7.

You can read the full post about the str_repeat() function in PHP with some working examples and additional tips on Tutorialio.com.