Articles → PHP → Str_Repeat Function In PHPStr_Repeat Function In PHPIn this article, we will discuss the str_repeat function in PHP.Purpose The str_repeat function repeats the string a specified number of times.Example <!DOCTYPE html> <html> <body> <?php echo str_repeat("Superb!!!!!!!!!!!!!",3); ?> </body> </html>Output Click to EnlargePosted By - Karan Gupta Posted On - Friday, October 9, 2020 Query/Feedback Your Email Id** Subject* Query/Feedback Characters remaining 250**
<!DOCTYPE html> <html> <body> <?php echo str_repeat("Superb!!!!!!!!!!!!!",3); ?> </body> </html>
Query/Feedback