str_repeat(3) php man page | unix.com

Man Page: str_repeat

Operating Environment: php

Section: 3

STR_REPEAT(3)								 1							     STR_REPEAT(3)

str_repeat - Repeat a string

SYNOPSIS
string str_repeat (string $input, int $multiplier)
DESCRIPTION
Returns $input repeated $multiplier times.
PARAMETERS
o $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 VALUES
Returns the repeated string.
EXAMPLES
Example #1 str_repeat(3) example <?php echo str_repeat("-=", 10); ?> The above example will output: -=-=-=-=-=-=-=-=-=-=
SEE ALSO
for, str_pad(3), substr_count(3). PHP Documentation Group STR_REPEAT(3)
Related Man Pages
xchangepointercontrol(3) - debian
xgetpointercontrol(3) - centos
xchangepointercontrol(3) - suse
xgetpointercontrol(3x11) - osf1
str_pad(3) - php
Similar Topics in the Unix Linux Community
Forum Video Tutorial: How to Use Code Tags
Please Welcome Don Cragun as Lead Moderator
Status of UNIX.COM Forum Transformation
The Order of the Wizard's Hat - Lifetime Achievement Award 2019 - Congrats to Wolf Machowitsch
Denial Of Service Attack Update