str_repeat
str_repeat — Repeat a string.Description
str_repeat( string $string,Returns string repeated times times.
int $times ): string
Parameters
string
The string to be repeated.
times
Number of time the string string should be repeated.
times has to be greater than or equal to 0. If the times is set to 0, the function will return an empty string.
Return Values
Returns the repeated string.More information about str_repeat on official PHP documentation site
str_repeat - Popular snippets
- PHP 8.0 / MySQL 5.7 round memory_get_usage str_repeat round memory_get_usage str_repeat
last run:
2021-04-20 15:37:57
21
- PHP 7 / MySQL 5.7 round memory_get_usage str_repeat
last run:
2021-04-10 15:11:42
9
- PHP 8.0 / MySQL 8.0 str_repeat count microtime printf
last run:
2022-01-03 14:00:14
5
- PHP 8.0 / MySQL 8.0 count implode array_fill str_repeat
last run:
2022-04-09 18:05:24
3
- PHP 8.0 / MySQL 5.7 implode str_repeat round microtime
last run:
2021-07-11 05:17:53
3
- PHP 8.0 / MySQL 8.0 count implode array_fill str_repeat json_encode
last run:
2022-04-02 21:55:18
2
- PHP 8.0 / MySQL 8.0 count implode array_fill str_repeat
last run:
2022-04-02 11:11:03
2
- PHP 8.0 / MySQL 5.7 printf str_repeat count
last run:
2022-03-31 21:05:34
2
- PHP 8.0 / MySQL 5.7 str_repeat count
last run:
2022-03-31 17:57:17
2
str_repeat - New snippets
-
PHP 8.1 / MySQL 8.0 str_repeat count
added at:
2022-05-24 19:48:14
1
-
PHP 8.0 / MySQL 8.0 array_unique count implode array_fill str_repeat json_encode
added at:
2022-04-08 10:15:24
1
-
PHP 8.0 / MySQL 5.7 substr str_repeat
added at:
2022-04-08 08:05:24
1
-
PHP 8.0 / MySQL 5.7 substr str_repeat
added at:
2022-04-08 08:05:11
1
-
PHP 8.0 / MySQL 5.7 substr str_repeat
added at:
2022-04-08 08:05:06
1
-
PHP 8.0 / MySQL 5.7 substr str_repeat
added at:
2022-04-08 08:04:44
1
-
PHP 8.0 / MySQL 5.7 substr str_repeat
added at:
2022-04-08 08:04:32
1
-
PHP 8.0 / MySQL 5.7 substr str_repeat
added at:
2022-04-08 08:02:27
1
-
PHP 8.0 / MySQL 5.7 substr str_repeat
added at:
2022-04-08 08:02:19
1
-
PHP 8.0 / MySQL 5.7 substr str_repeat
added at:
2022-04-08 08:01:17
1