A::join()
Joins the elements of an array to a string
A::join(array|string $value, string $separator = ', '): string
Parameters
| Name | Type | Default |
|---|---|---|
| $valuerequired | arrayorstring |
no default value |
| $separator | string |
', '
|
Return type
string