Function __global->str_repeat
Definitions
sources_custom/phpstub.php
- Repeat a string.
- Visibility: public
- Is abstract?: No
- Is static?: No
- Is final?: No
- Returns: string
Parameters
| Name | Type | Passed by reference? | Variadic? | Default | Set | Range | Description |
|---|---|---|---|---|---|---|---|
| $input | string | No | No | required parameter | N/A | N/A | The string to repeat |
| $multiplier | integer | No | No | required parameter | N/A | N/A | How many times to repeat the string |
Returns
- The result
- Type: string
- Set: N/A
- Range: N/A
Preview
Code (PHP)
/**
* Repeat a string.
*
* @param string $input The string to repeat
* @param integer $multiplier How many times to repeat the string
* @return string The result
*/
function str_repeat(string $input, int $multiplier) : string
* Repeat a string.
*
* @param string $input The string to repeat
* @param integer $multiplier How many times to repeat the string
* @return string The result
*/
function str_repeat(string $input, int $multiplier) : string

