PHP str_repeat() May 22, 2012 Pramod T P It repeats a string Example <?php echo str_repeat(“php code”, 5); ?> Output php codephp codephp codephp codephp code