função PHP str_repeat ()
Definição e Uso
função str_repeat () para cadeia repetida um número de vezes especificado.
gramática
str_repeat( string,repeat )
参数 | 描述 |
---|---|
string | 必需。规定要重复的字符串。 |
repeat | 必需。规定字符串将被重复的次数。必须大于等于 0。 |
detalhes técnicos
retorna: | Retorna a seqüência repetida. |
---|---|
versão do PHP: | 4+ |
PHP seqüência de referência