str_repeat() 函数把字符串重复指定的次数。
str_repeat() 函数把字符串重复指定的次数。
str_repeat(string,repeat)
参数 | 描述 |
---|---|
string | 必需。规定要重复的字符串。 |
repeat | 必需。规定字符串将被重复的次数。必须大于等于 0。 |
赞赏码
![](https://files.cnblogs.com/files/lxwphp/zhifubao2.bmp)
![](https://files.cnblogs.com/files/lxwphp/weixin.bmp)
非学,无以致疑;非问,无以广识
str_repeat() 函数把字符串重复指定的次数。
str_repeat(string,repeat)
参数 | 描述 |
---|---|
string | 必需。规定要重复的字符串。 |
repeat | 必需。规定字符串将被重复的次数。必须大于等于 0。 |
赞赏码
非学,无以致疑;非问,无以广识