string str_repeat ( string $input, int $multiplier )
str_repeat() is used to repeat a string, a specified number of times
※ available F/W version : all
Returns the repeated string
<?php
$input = "PHPoC!";
$multiplier = 3;
$ret = str_repeat($input, $multiplier);
echo "result: $ret\r\n"; // OUTPUT: result: PHPoC!PHPoC!PHPoC!
?>
str_replace() / strpos() / substr() / substr_replace()
This function is identical to the PHP group’s str_repeat() function.