Str_repeat Function in PHP

This function is used to repeat a string fixed no of times.

It accepts two parameters :

a) a string to be repeated

b) no of times it is to be repeated


//string to be repeated




echo $a;


Related posts:

No Responses to “Str_repeat Function in PHP”

Leave a Reply