UK [r??pi:t] US [r?pit]
vt. ??; ?? ??
??(????): ???: ?? ????: ?? ????: ?? ????: ??
PHP str_repeat() ?? ???
str_repeat() ??? ??? ??????
php str_repeat() ??? ??? ???? ????? ? ?????. ??? str_repeat(string,repeat)???. ? ??? ??? ???? ???? ?????.
??: ??? ??? ???
??: str_repeat(string,repeat)
????:
???? | ?? |
string | ???? ? String |
repeat | ? ???? ???? ??? ???? ??, ? ??? 0 |
??: str_repeat() ??? ??? ???? ???? ?????
PHP str_repeat() ?? ?
<?php $i = "hello world!"; $j = str_repeat($i,3);//設置字符串重復的次數(shù)為3 echo $j; ?>rerun ?????
??? ????? ??? "???? ??"??? ??????. ??? ????? ??? ??:
hello world!hello world!hello world!