Logo

Programming-Idioms

History of Idiom 53 > diff from v8 to v9

Edit summary for version 9 by :

Version 8

2015-08-21, 23:25:37

Version 9

2015-08-21, 23:26:06

Idiom #53 Join a list of strings

Concatenate elements of string list x joined by the separator ", " to create a single string y.

Idiom #53 Join a list of strings

Concatenate elements of string list x joined by the separator ", " to create a single string y.

Code
$y = implode(", ", $x);
Code
$y = implode(", ", $x);
Doc URL
http://php.net/manual/en/function.implode.php
Origin
http://php.net/manual/en/function.implode.php