把字符串 "Shanghai " 重复 5 次: <?php echo str_repeat("Shanghai",5); ?> 运行结果:Shanghai Shanghai Shanghai Shanghai Shanghai