Документ взят из кэша поисковой машины. Адрес оригинального документа : http://old.hcs.cmc.msu.ru/php/function.str-repeat.html
Дата изменения: Sun Feb 3 22:56:35 2002
Дата индексирования: Mon Oct 1 22:04:41 2012
Кодировка:
str_repeat

str_repeat

(PHP 4 >= 4.0.0)

str_repeat -- Repeat a string

Description

string str_repeat ( string input, int multiplier)

Returns input_str repeated multiplier times. multiplier has to be greater than 0.

Example 1. str_repeat() example

echo str_repeat("-=", 10);

This will output "-=-=-=-=-=-=-=-=-=-=".

See also substr_count().