fonction str_repeat PHP ()
Définition et utilisation
fonction str_repeat () à chaîne répétée un nombre de fois spécifié.
grammaire
str_repeat( string,repeat )
参数 | 描述 |
---|---|
string | 必需。规定要重复的字符串。 |
repeat | 必需。规定字符串将被重复的次数。必须大于等于 0。 |
détails techniques
Retours: | Renvoie la chaîne répétée. |
---|---|
PHP version: | 4+ |
PHP Chaîne de référence