str_repeat() as mentioned below.