print number n times in php code example Example: multiply a string php str_repeat ( string $input , int $multiplier )