Query: str_repeat
OS: php
Section: 3
Format: Original Unix Latex Style Formatted with HTML and a Horizontal Scroll Bar
STR_REPEAT(3) 1 STR_REPEAT(3) str_repeat - Repeat a stringSYNOPSISstring str_repeat (string $input, int $multiplier)DESCRIPTIONReturns $input repeated $multiplier times.PARAMETERSo $input - The string to be repeated. o $multiplier - Number of time the $input string should be repeated. $multiplier has to be greater than or equal to 0. If the $multiplier is set to 0, the function will return an empty string.RETURN VALUESReturns the repeated string.EXAMPLESExample #1 str_repeat(3) example <?php echo str_repeat("-=", 10); ?> The above example will output: -=-=-=-=-=-=-=-=-=-=SEE ALSOfor, str_pad(3), substr_count(3). PHP Documentation Group STR_REPEAT(3)
Related Man Pages |
---|
xchangepointercontrol(3) - x11r4 |
xgetpointercontrol(3x11) - osf1 |
inet_ntop(3) - php |
memory_get_usage(3) - php |
substr_count(3) - php |
Similar Topics in the Unix Linux Community |
---|
Rules for Homework & Coursework Questions Forum |
UNIX.COM 2017 Year End Summary |
New Code Tags (Syntax Highlighting) |
Status of UNIX.COM Forum Transformation |