repeater($data[, $num = 1])
Parameters: |
|
---|---|
Returns: |
Repeated string |
Return type: |
string |
Generates repeating copies of the data you submit. Example:
1 2 | $string = "\n" ; echo repeater( $string , 30); |
The above would generate 30 newlines.
Note
This function is DEPRECATED. Use the native str_repeat()
instead.
Please login to continue.