Which is the function, besides join(), that you use to join array elements with a string?
-
strconcat(string $glue, array $pieces)
-
implode ( string $glue , array $pieces )
-
strcmp(array $pieces, string $concat, int $elementNumber)
-
arrayConcat(array $pieces, string $concat, string $EOF)
B
Correct answer
Explanation
In PHP, the implode() function is an alias of join(). Both functions join array elements with a glue string. The other options (strconcat, strcmp, arrayConcat) are either unrelated string comparison functions or fictitious functions that do not exist in PHP's standard library.